Brian Paul
4f495ec20e
mesa: regenerated files with primitive restart
2010-10-21 19:03:38 -06:00
Brian Paul
1cae8b5448
mesa: API spec for primitive restart
2010-10-21 19:03:38 -06:00
Kristian Høgsberg
f9995b3075
Drop GLcontext typedef and use struct gl_context instead
2010-10-13 09:43:25 -04:00
Ian Romanick
78db8c8b66
Regenerate files changed by previous commit
2010-09-27 15:23:14 -07:00
Chia-I Wu
e3c46cf586
glapi: Fix ES build errors again.
...
This fixes an error in GLAPI ES. My build is ok with or without this
patch, and the error affects others' setups.
[Patch from Francesco Marella]
2010-09-15 21:19:44 +08:00
Chia-I Wu
cad87ebc3a
glapi: Fix build errors for ES.
...
The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to
decide whether to define GLfixed and GLclampx.
This fixes fdo bug #30205 .
2010-09-15 17:45:26 +08:00
Brian Paul
7993832c12
mesa: update to version 64 of GL/glext.h
...
A number of other files had to be updated as well because const
qualifiers were added to the glMultiDrawArrays() function.
Also, GL_FIXED is now defined in glext.h.
2010-09-14 09:37:37 -06:00
Kristian Høgsberg
042a333028
Revert "glapi: Implement optional dispatch logging"
...
This reverts commit b9abc6139a
and the
follow on fixes (7aae704
and 6fe1b47
). It's changing the glapi/driver
ABI and causes a number of problems for debug/non-debug builds.
2010-09-09 19:02:55 -04:00
Jakob Bornecrantz
7aae70406b
glapi: Fix non-debug builds
2010-09-09 22:47:42 +02:00
Kristian Høgsberg
b9abc6139a
glapi: Implement optional dispatch logging
...
There's a useful feature buried in glapi to log all API calls to stderr.
Unfortunately it requires editing the code and then it's enabled
unconditionally for that build. This patch builds in API logging for
debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
2010-09-09 13:21:15 -04:00
Luca Barbieri
699c82e30c
glapi: fix generator which got out of sync with the codebase
...
The __GLapi typedef was removed in c356f5867f
,
but the code generator hasn't been updated.
2010-08-30 20:51:49 +02:00
Chia-I Wu
e607b67ebc
glapi: Clean up header inclusions.
...
Do not rely on PUBLIC being defined in glapi.h. Do not include core
mesa headers.
2010-08-23 18:28:14 +08:00
Chia-I Wu
760451baae
glapi: Move public function/variable declarations to glapi.h.
...
glapi defines an interface that is used by DRI drivers. It must not be
changed in an ABI incompatible way. This commit moves all
functions/variables belong to the interface to glapi.h. Instead of
including u_current.h from glapi.h, u_current.h now includes glapi.h.
2010-08-21 14:13:59 +08:00
Kristian Høgsberg
c491e585e4
glx: Move bind and unbind to context vtable
2010-07-28 16:45:25 -04:00
Kristian Høgsberg
c356f5867f
glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
2010-07-28 16:45:25 -04:00
Vinson Lee
9b85818698
glapi: Fix VMware spelling.
2010-07-28 01:11:34 -07:00
Brian Paul
672f6cdc19
glapi: use _mesa_snprintf()
...
Note that the enums.c file is generated with this script.
This will preserve the change from commit
c4066b78c0
.
2010-07-13 07:44:35 -06:00
Zack Rusin
da7bd6a90e
mesa: initial support for ARB_geometry_shader4
...
laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-28 22:53:21 -04:00
José Fonseca
4e6c880ea2
glapi: Generate PIC objects.
...
Fixes fdo 28336.
2010-05-31 22:11:38 +01:00
Chia-I Wu
fa97399f42
glapi: Update SConscript for Windows.
...
Define macros to enable dllexport and thread support. Adjust the output
path of mapi sources.
2010-05-31 10:53:29 +08:00
Brian Paul
903986ca12
glapi: fix generator scripts w.r.t. GLX_USE_APPLEGL
...
Commit 80b280db88
changed the .c files
instead of the .py generator scripts.
2010-05-11 21:40:56 -06:00
Brian Paul
6c06e2f053
glapi: added GL_ARB_transform_feedback2 entrypoints
2010-05-11 21:31:08 -06:00
José Fonseca
5569faf05a
mapi: Avoid Data Execution Prevention on windows.
2010-05-07 06:57:11 +01:00
Chia-I Wu
a73c6540d9
mapi: Add mapi and share the code with glapi.
...
Specifically, move all or most of
glapi/glapi.c to mapi/u_current.c,
glapi/glapi_execmem.c to mapi/u_execmem.c,
glapi/glthread.[ch] to mapi/u_thread.[ch]
and remove their dependencies on core Mesa headers.
2010-05-07 10:41:11 +08:00
Chia-I Wu
296adbd545
glapi: Move to src/mapi/.
...
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-07 10:41:11 +08:00