summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
AgeCommit message (Collapse)Author
2010-03-01glapi.h: drop dispatch_override prototypesGeorge Sapountzis
cannot find them in mesa tree
2010-03-01glapi.h: misc cosmeticGeorge Sapountzis
- revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
2010-03-01glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macrosGeorge Sapountzis
Use likely() macro, as this is what most projects use. Drops GL_CALL define, cannot find it in mesa tree. Also, whitespace cleaunps in glthread.h
2010-02-26Revert "glapi: Remove unnecessary headers."José Fonseca
This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows.
2010-02-25glapi: Remove unnecessary headers.Vinson Lee
2010-02-25glapi/gen: just copy in glx/glapiGeorge Sapountzis
2010-02-25glapi: EXTRA_DEBUG is never defined, make this explicitGeorge Sapountzis
2010-02-25glapi: minor ugliness to be able to copy to xorgGeorge Sapountzis
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
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.
2010-02-25glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu
main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c.
2010-02-25glapi: Generated GLX sources should use glapidispatch.h.Chia-I Wu
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
2010-02-24glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg
2010-02-24glapi: Add GL_OES_EGL_imageKristian Høgsberg
2010-02-24glapi: fix code generation Makefile after mvGeorge Sapountzis
2010-02-24glapi: mv code generation to subdirGeorge Sapountzis
This just moves files, code generation Makefile will be fixed in next commit for easier review.
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memset in favor of plain memset.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-11glapi: Avoid #including gl.hKristian Høgsberg
It's only used for a couple of integer types and and might conflict with other client API header files.
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg
2010-02-05glapi: Add back the reduced Noop dispatchKristian Høgsberg
This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee
The .type directive is an unknown pseudo-op on Mac OS X.
2010-01-23Merge branch 'arb_half_float_vertex'Dave Airlie
2010-01-23glapi: add GL_HALF_FLOAT enum support.Dave Airlie
Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23glapi: Include glheader.h in glapi_nop.c.Chia-I Wu
In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
2010-01-22glapi: define GLfixed, GLclampx types for ES 1Brian Paul
I'm not 100% sure this is the best fix, but it seems OK.
2010-01-22glapi: clean-up and simplify glapi_nop.c codeBrian Paul
Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func(). Just check the DEBUG env vars and call fprintf(stderr) with a warning message instead.
2010-01-22glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul
This unclutters the glapi.c file a bit.
2010-01-22glapi: fix int->pointer conversions warnings in no-op functionsBrian Paul
2010-01-21Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-19Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith
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 <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
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
2010-01-04glapi: comment-out TIMEOUT_IGNOREDBrian Paul
This is not really a GLenum value.
2010-01-03Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg
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%).
2010-01-03Noop dispatch: move warning code out of the generated functionsKristian Høgsberg
This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
2010-01-03Export a few glapi functions used by gallium and r300Kristian Høgsberg
Fixes breakage from -fvisibility-hidden commit.
2009-12-31mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul
2009-12-29mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul
2009-12-29glapi: extension info for GL_EXT_draw_buffers2Brian Paul
2009-11-17ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXTIan Romanick
Also regenerate the GLX protocol files from this change.
2009-11-17Add missing XML files to API_XMLIan Romanick
When the files missing from the list were modified, the generated files weren't regenerated.
2009-11-17ARB_fbo: Regenerate files from previous commits.Ian Romanick
2009-11-17ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xmlIan Romanick
This extension is layered on GL_EXT_framebuffer_object, so it should live in the same XML file.
2009-11-17ARB_fbo: Add GL_EXT_framebuffer_multisampleIan Romanick
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.
2009-11-17EXT_pds: Add GL_EXT_packed_depth_stencilIan Romanick