summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/opengl-es-v2'Chia-I Wu2010-01-2014-268/+417
|\
| * Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-1217-438/+724
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | glapi: Add OpenGL ES compatibility mode to scripts.Chia-I Wu2009-11-064-19/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the mode is on, the scripts would generate headers that are suitable for OpenGL ES. There are two differences. One is that they will generate function prototypes for OpenGL ES specific functions. The other is that, when a function has multiple names, SET/GET/CALL macros would be generated for each of names. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Include headers with directory prefixes.Chia-I Wu2009-11-057-18/+18
| | | | | | | | | | | | | | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Avoid hardcoded category names in remap helper script.Chia-I Wu2009-11-051-8/+16
| | | | | | | | | | | | | | | | | | The output of the script is unchanged. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Add is_abi() to test if a function is in the ABI.Chia-I Wu2009-11-054-9/+6
| | | | | | | | | | | | | | | | | | | | | The test is done by checking if the offset is manually assigned. The generated headers are unchanged. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Allow normal entry points to be skipped.Chia-I Wu2009-11-052-215/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <[email protected]>
* | | Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-192-4/+4
| |/ |/| | | | | | | | | | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * | glapi: comment-out TIMEOUT_IGNOREDBrian Paul2010-01-041-1/+3
| | | | | | | | | | | | This is not really a GLenum value.
* | | Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg2010-01-031-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
* | | Noop dispatch: move warning code out of the generated functionsKristian Høgsberg2010-01-031-21/+7
| | | | | | | | | | | | | | | This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
* | | Export a few glapi functions used by gallium and r300Kristian Høgsberg2010-01-033-7/+7
| | | | | | | | | | | | Fixes breakage from -fvisibility-hidden commit.
* | | mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul2009-12-318-362/+427
| | |
* | | mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul2009-12-297-369/+481
| | |
* | | glapi: extension info for GL_EXT_draw_buffers2Brian Paul2009-12-291-0/+49
|/ /
* | ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXTIan Romanick2009-11-171-0/+1
| | | | | | | | Also regenerate the GLX protocol files from this change.
* | Add missing XML files to API_XMLIan Romanick2009-11-171-2/+5
| | | | | | | | | | When the files missing from the list were modified, the generated files weren't regenerated.
* | ARB_fbo: Regenerate files from previous commits.Ian Romanick2009-11-172-98/+106
| |
* | ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xmlIan Romanick2009-11-172-24/+24
| | | | | | | | | | This extension is layered on GL_EXT_framebuffer_object, so it should live in the same XML file.
* | ARB_fbo: Add GL_EXT_framebuffer_multisampleIan Romanick2009-11-172-0/+17
| | | | | | | | | | | | | | | | | | | | Add GL_EXT_framebuffer_multisample. Make glRenderbufferStorageMultisampleEXT in GL_EXT_framebuffer_object alias glRenderbufferStorageMultisample. Also add the missing GLX render opcode to glRenderbufferStorageMultisample. Since this extension is layered on GL_EXT_framebuffer_object, I put it in EXT_framebuffer_object.xml.
* | EXT_pds: Add GL_EXT_packed_depth_stencilIan Romanick2009-11-172-0/+20
| |
* | EXT_fbo_blit: Add missing GLX protocol render opcodeIan Romanick2009-11-171-0/+1
| |
* | ARB_fbo: Add missing protocol "Get" informationIan Romanick2009-11-171-2/+7
| |
* | ARB_fbo: Remove _EXT from enum namesIan Romanick2009-11-171-12/+12
|/
* glapi: Always build libglapi.a.Chia-I Wu2009-10-236-9/+22
| | | | | | | | This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Move dispatch marcos to glapidispatch.h.Chia-I Wu2009-10-234-3983/+4014
| | | | | | dispatch.h is kept as a wrapper to glapidispatch.h. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/dri: Remove extension_helper.h.Chia-I Wu2009-10-231-5/+0
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Add support for remap table.Chia-I Wu2009-10-232-0/+223
| | | | | | | This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <[email protected]>
* windows: replace old ColorTable, Convolution functions with newBrian Paul2009-09-191-4/+4
|
* glapi: replace old TexCopy functions w/ newBrian Paul2009-09-191-5/+5
|
* glapi: regenerated filesBrian Paul2009-09-192-0/+8
|
* glapi: added tokens, function for GL_ARB_provoking_vertexBrian Paul2009-09-191-0/+13
|
* glapi: Add ARB_draw_elements_base_vertexEric Anholt2009-09-087-1330/+1426
|
* mesa: Add support for ARB_depth_clamp.Eric Anholt2009-09-083-0/+15
| | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
* glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()Brian Paul2009-09-034-8/+9
|
* Eliminate trailing whitespace in extension_helper.cIan Romanick2009-09-031-1/+1
|
* ARB sync: Regenerate files from previous commitIan Romanick2009-09-035-1354/+1480
|
* ARB sync: Add base infrastructure for GL_ARB_syncIan Romanick2009-09-033-0/+84
|
* Put 'extern' first on the line to silence GCC warnings.Ian Romanick2009-08-281-2/+2
|
* Revert "glapi: Fix a possible race in getting current context/dispatch."Brian Paul2009-08-253-41/+41
| | | | | | | This reverts commit 17090cf3efb0db8fa01b502a9c0df27cbd1a67da. We're reverting this because it causes ABI breakage with the X server. Maybe re-attempt with another patch.
* glapi: Fix a possible race in getting current context/dispatch.Chia-I Wu2009-08-243-41/+41
| | | | | | | | | | | | | | | | | | There is a possbile race that _glapi_Context is reset by another thread after it is tested in GET_CURRENT_CONTEXT but before it is returned. We definitely do not want a lock here to solve the race. To have correct results even under a race, no other threads should reset _glapi_Context (or _glapi_Dispatch). This patch adds a new global variable _glapi_SingleThreaded. Since _glapi_Context or _glapi_Dispatch are no longer reset, _glapi_SingleThreaded is tested instead, before accessing them. DRI drivers compiled with this patch applied will not work with existing libGL.so because of the missing new symbol. If this turns out to be a real problem, this patch should be reverted. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Static mutex does not work on WIN32_THREADS.Chia-I Wu2009-08-241-2/+11
| | | | | | | This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Fix a race in accessing context/dispatch TSD.Chia-I Wu2009-08-241-0/+4
| | | | | | | | | If multiple threads set/get a TSD at roughly same time for the first time, glthread might (wrongly) initialize it more than once. This patch solves the race by initializing context/dispatch TSDs early. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Protect _glapi_check_multithread by a mutex.Chia-I Wu2009-08-241-14/+15
| | | | | | | | | Multiple threads might call _glapi_check_multithread at roughly the same time. It is possbile that all of them are wrongly regarded as firstCall if there is no mutex. This bug causes xeglthreads to crash sometimes. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]>
* Infrastructure for GL_ARB_seamless_cube_mapIan Romanick2009-08-143-0/+15
|
* Regenerate files for GL_APPLE_flush_buffer_rangeIan Romanick2009-08-145-349/+437
|
* typo fixRobert Ellison2009-08-031-1/+1
| | | | somehow, this change was missed on the last checkin
* mesa: fix up some GLAPI XMLRobert Ellison2009-08-033-38/+100
| | | | | | | | | | - Added specifications for the extensions GL_APPLE_flush_buffer_range and GL_APPLE_texture_range - EXT_framebuffer_object.xml strangely held specifications for both the GL_EXT_framebuffer_object extension and the GL_EXT_texture_array extension. Split out the GL_EXT_texture_array data into its own file.
* glapi: remove XTHREADS supportRALOVICH, Kristóf2009-07-274-96/+3
|