Function name examples:
</p>
<pre>
- glFooBar() - a public GL entry point (in dispatch.c)
+ glFooBar() - a public GL entry point (in glapi_dispatch.c)
_mesa_FooBar() - the internal immediate mode function
save_FooBar() - retained mode (display list) function in dlist.c
foo_bar() - a static (private) function
system. There are two steps to this. The file must first be added to
<tt>src/mesa/sources</tt>. That gets the file built and linked. The second
step is to add the correct <tt>#ifdef</tt> magic to
-<tt>src/mesa/main/dispatch.c</tt> to prevent the C version of the dispatch
-functions from being built.</p>
+<tt>src/mesa/glapi/glapi_dispatch.c</tt> to prevent the C version of the
+dispatch functions from being built.</p>
<A NAME="fixedsize"/>
<H3>3.4. Fixed-Length Dispatch Stubs</H3>
x86/glapi_x86.o: x86/glapi_x86.S
$(CC) -o $@ $(CFLAGS) -DSTDCALL_API -c $<
else
-main/dispatch.o: main/dispatch.c
+glapi/glapi_dispatch.o: glapi/glapi_dispatch.c
$(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
glapi/glapi.o: glapi/glapi.c
$(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
)
glapi_sources = [
- 'main/dispatch.c',
'glapi/glapi.c',
+ 'glapi/glapi_dispatch.c',
'glapi/glapi_getproc.c',
'glapi/glapi_nop.c',
'glapi/glthread.c',
/**
- * \file dispatch.c
+ * \file glapi_dispatch.c
*
* This file generates all the gl* function entrypoints. This code is not
* used if optimized assembly stubs are available (e.g., using x86/glapi_x86.S
debug.c \
depth.c \
depthstencil.c \
- dispatch.c \
dlist.c \
drawpix.c \
enable.c \
debug.obj,\
depth.obj,\
depthstencil.obj,\
-dispatch.obj,\
dlist.obj,\
drawpix.obj,\
enable.obj,\
debug.obj : debug.c
depth.obj : depth.c
depthstencil.obj : depthstencil.c
-dispatch.obj : dispatch.c
dlist.obj : dlist.c
drawpix.obj : drawpix.c
enable.obj : enable.c
main/vtxfmt.c
GLAPI_SOURCES = \
- main/dispatch.c \
glapi/glapi.c \
+ glapi/glapi_dispatch.c \
glapi/glapi_getproc.c \
glapi/glapi_nop.c \
glapi/glthread.c
RelativePath="..\..\..\..\src\mesa\main\depthstencil.c">\r
</File>\r
<File\r
- RelativePath="..\..\..\..\src\mesa\main\dispatch.c">\r
- </File>\r
- <File\r
RelativePath="..\..\..\..\src\mesa\main\dlist.c">\r
</File>\r
<File\r
RelativePath="..\..\..\..\src\mesa\glapi\glapi.c">\r
</File>\r
<File\r
+ RelativePath="..\..\..\..\src\mesa\glapi\glapi_dispatch.c">\r
+ </File>\r
+ <File\r
RelativePath="..\..\..\..\src\mesa\glapi\glthread.c">\r
</File>\r
<File\r
>\r
</File>\r
<File\r
- RelativePath="..\..\..\..\src\mesa\main\dispatch.c"\r
- >\r
- </File>\r
- <File\r
RelativePath="..\..\..\..\src\mesa\main\dlist.c"\r
>\r
</File>\r
>\r
</File>\r
<File\r
+ RelativePath="..\..\..\..\src\mesa\glapi\glapi_dispatch.c"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath="..\..\..\..\src\mesa\glapi\glapi_getproc.c"\r
>\r
</File>\r