mesa: Move src/mesa/glapi/dispatch.h to mesa.
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "main/state.h"
|
||||
#include "main/imports.h"
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_OES_draw_texture
|
||||
|
@@ -207,7 +207,7 @@ extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );
|
||||
#include "main/compiler.h"
|
||||
#include "main/api_exec.h"
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
typedef void (*_glapi_proc)(void); /* generic function pointer */
|
||||
"""
|
||||
|
@@ -151,7 +151,7 @@ class PrintGlExtensionGlue(gl_XML.gl_print_base):
|
||||
|
||||
def printRealHeader(self):
|
||||
print '#include "utils.h"'
|
||||
print '#include "glapi/dispatch.h"'
|
||||
print '#include "main/dispatch.h"'
|
||||
print ''
|
||||
return
|
||||
|
||||
|
@@ -64,7 +64,7 @@ class PrintGlRemap(gl_XML.gl_print_base):
|
||||
|
||||
|
||||
def printRealHeader(self):
|
||||
print '#include "glapi/dispatch.h"'
|
||||
print '#include "main/dispatch.h"'
|
||||
print ''
|
||||
return
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "macros.h"
|
||||
#include "state.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_accum
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include "context.h"
|
||||
#include "imports.h"
|
||||
#include "macros.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
typedef void (GLAPIENTRY *array_func)( const void * );
|
||||
|
||||
|
@@ -104,7 +104,7 @@
|
||||
#if FEATURE_ARB_sync
|
||||
#include "syncobj.h"
|
||||
#endif
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include "glapi/glapi.h"
|
||||
#include "glapi/glapitable.h"
|
||||
#include "glapi/glthread.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
/* KW: A set of functions to convert unusual Color/Normal/Vertex/etc
|
||||
* calls to a smaller set of driver-provided formats. Currently just
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include "macros.h"
|
||||
#include "dlist.h"
|
||||
#include "eval.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -48,7 +48,7 @@
|
||||
#endif
|
||||
#include "arrayobj.h"
|
||||
#include "macros.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -56,7 +56,7 @@
|
||||
#include "varray.h"
|
||||
#include "viewport.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include "state.h"
|
||||
#include "teximage.h"
|
||||
#include "texstate.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_colortable
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#include "image.h"
|
||||
#include "mtypes.h"
|
||||
#include "state.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_convolve
|
||||
|
@@ -66,7 +66,7 @@
|
||||
|
||||
#include "math/m_matrix.h"
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include "framebuffer.h"
|
||||
#include "readpix.h"
|
||||
#include "state.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_drawpix
|
||||
|
@@ -44,7 +44,7 @@
|
||||
#include "eval.h"
|
||||
#include "macros.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_evaluators
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include "feedback.h"
|
||||
#include "macros.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_feedback
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "context.h"
|
||||
#include "image.h"
|
||||
#include "histogram.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_histogram
|
||||
|
@@ -35,7 +35,7 @@
|
||||
#include "macros.h"
|
||||
#include "pixel.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_pixel_transfer
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "imports.h"
|
||||
#include "queryobj.h"
|
||||
#include "mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_queryobj
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include "macros.h"
|
||||
#include "rastpos.h"
|
||||
#include "state.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_rastpos
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#include "remap.h"
|
||||
#include "imports.h"
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_remap_table
|
||||
@@ -183,7 +183,7 @@ _mesa_map_static_functions(void)
|
||||
/**
|
||||
* Initialize the remap table. This is called in one_time_init().
|
||||
* The remap table needs to be initialized before calling the
|
||||
* CALL/GET/SET macros defined in glapi/dispatch.h.
|
||||
* CALL/GET/SET macros defined in main/dispatch.h.
|
||||
*/
|
||||
void
|
||||
_mesa_init_remap_table(void)
|
||||
|
@@ -25,7 +25,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
struct gl_function_remap {
|
||||
GLint func_index;
|
||||
|
@@ -37,7 +37,7 @@
|
||||
#include "main/texgen.h"
|
||||
#include "main/texstate.h"
|
||||
#include "math/m_matrix.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
#if FEATURE_texgen
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include "mtypes.h"
|
||||
#include "varray.h"
|
||||
#include "arrayobj.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#define PRE_LOOPBACK( FUNC )
|
||||
#endif
|
||||
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
static void GLAPIENTRY TAG(ArrayElement)( GLint i )
|
||||
{
|
||||
|
@@ -46,7 +46,7 @@
|
||||
#include "shader/shader_api.h"
|
||||
#include "shader/slang/slang_compile.h"
|
||||
#include "shader/slang/slang_link.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -41,7 +41,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "main/light.h"
|
||||
#include "main/api_arrayelt.h"
|
||||
#include "main/api_noop.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "main/context.h"
|
||||
#include "main/macros.h"
|
||||
#include "math/m_eval.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
#include "vbo_exec.h"
|
||||
|
||||
|
||||
|
@@ -78,7 +78,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "main/api_validate.h"
|
||||
#include "main/api_arrayelt.h"
|
||||
#include "main/vtxfmt.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#include "main/enums.h"
|
||||
#include "main/imports.h"
|
||||
#include "main/mtypes.h"
|
||||
#include "glapi/dispatch.h"
|
||||
#include "main/dispatch.h"
|
||||
#include "glapi/glapi.h"
|
||||
|
||||
#include "vbo_context.h"
|
||||
|
Reference in New Issue
Block a user