vbo: remove vbo_context.h and change includes to use vbo.h instead
Now vbo.h is the public interface to the VBO module. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
@@ -393,7 +393,6 @@ VBO_FILES = \
|
||||
vbo/vbo_attrib.h \
|
||||
vbo/vbo_attrib_tmp.h \
|
||||
vbo/vbo_context.c \
|
||||
vbo/vbo_context.h \
|
||||
vbo/vbo_exec_api.c \
|
||||
vbo/vbo_exec_array.c \
|
||||
vbo/vbo_exec.c \
|
||||
|
@@ -46,7 +46,7 @@
|
||||
#include "main/stencil.h"
|
||||
#include "main/state.h"
|
||||
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo.h"
|
||||
|
||||
#include "drivers/common/driverfuncs.h"
|
||||
#include "drivers/common/meta.h"
|
||||
|
@@ -35,7 +35,7 @@
|
||||
#include "main/transformfeedback.h"
|
||||
#include "main/framebuffer.h"
|
||||
#include "tnl/tnl.h"
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo.h"
|
||||
#include "swrast/swrast.h"
|
||||
#include "swrast_setup/swrast_setup.h"
|
||||
#include "drivers/common/meta.h"
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#ifndef __NOUVEAU_RENDER_H__
|
||||
#define __NOUVEAU_RENDER_H__
|
||||
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo.h"
|
||||
#include "nouveau_array.h"
|
||||
|
||||
typedef void (*dispatch_t)(struct gl_context *, unsigned int, int, unsigned int);
|
||||
|
@@ -51,7 +51,7 @@
|
||||
#include "texobj.h"
|
||||
#include "texstate.h"
|
||||
#include "varray.h"
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo.h"
|
||||
#include "viewport.h"
|
||||
#include "blend.h"
|
||||
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include "eval.h"
|
||||
#include "dlist.h"
|
||||
#include "main/dispatch.h"
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -327,7 +327,6 @@ files_libmesa_common = files(
|
||||
'vbo/vbo_attrib.h',
|
||||
'vbo/vbo_attrib_tmp.h',
|
||||
'vbo/vbo_context.c',
|
||||
'vbo/vbo_context.h',
|
||||
'vbo/vbo_exec_api.c',
|
||||
'vbo/vbo_exec_array.c',
|
||||
'vbo/vbo_exec.c',
|
||||
|
@@ -23,8 +23,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file vbo_context.h
|
||||
* \brief VBO builder module datatypes and definitions.
|
||||
* \brief Public interface to the VBO module
|
||||
* \author Keith Whitwell
|
||||
*/
|
||||
|
||||
|
@@ -1,61 +0,0 @@
|
||||
/*
|
||||
* mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file vbo_context.h
|
||||
* \brief VBO builder module datatypes and definitions.
|
||||
* \author Keith Whitwell
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \mainpage The VBO builder module
|
||||
*
|
||||
* This module hooks into the GL dispatch table and catches all vertex
|
||||
* building and drawing commands, such as glVertex3f, glBegin and
|
||||
* glDrawArrays. The module stores all incoming vertex data as arrays
|
||||
* in GL vertex buffer objects (VBOs), and translates all drawing
|
||||
* commands into calls to a driver supplied DrawPrimitives() callback.
|
||||
*
|
||||
* The module captures both immediate mode and display list drawing,
|
||||
* and manages the allocation, reference counting and deallocation of
|
||||
* vertex buffer objects itself.
|
||||
*
|
||||
* The DrawPrimitives() callback can be either implemented by the
|
||||
* driver itself or hooked to the tnl module's _tnl_draw_primitives()
|
||||
* function for hardware without tnl capablilties or during fallbacks.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _VBO_CONTEXT_H
|
||||
#define _VBO_CONTEXT_H
|
||||
|
||||
#include "vbo.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
@@ -44,7 +44,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "main/dispatch.h"
|
||||
#include "util/bitscan.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_noop.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
@@ -39,7 +39,6 @@
|
||||
#include "main/macros.h"
|
||||
#include "main/transformfeedback.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include "main/state.h"
|
||||
#include "main/vtxfmt.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_noop.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include "main/varray.h"
|
||||
|
||||
#include "vbo.h"
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
||||
|
@@ -32,7 +32,6 @@
|
||||
#define VBO_PRIVATE_H
|
||||
|
||||
|
||||
#include "vbo/vbo_context.h"
|
||||
#include "vbo/vbo_attrib.h"
|
||||
#include "vbo/vbo_exec.h"
|
||||
#include "vbo/vbo_save.h"
|
||||
|
@@ -30,7 +30,6 @@
|
||||
#include "main/bufferobj.h"
|
||||
#include "main/imports.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
||||
|
@@ -81,7 +81,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "main/state.h"
|
||||
#include "util/bitscan.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_noop.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
@@ -36,7 +36,6 @@
|
||||
#include "main/state.h"
|
||||
#include "util/bitscan.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
#include "vbo_private.h"
|
||||
|
||||
|
||||
|
@@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file vbo_context.h
|
||||
* \brief VBO builder module datatypes and definitions.
|
||||
* \author Keith Whitwell
|
||||
*/
|
||||
|
Reference in New Issue
Block a user