aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: support for GL_ARB_instanced_arraysBrian Paul2011-01-151-0/+2
|
* mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt2011-01-141-0/+4
| | | | | These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
* mesa: hook up GL 3.x entrypointsBrian Paul2010-11-211-0/+9
| | | | Fix up some details in the xml files and regenerate dispatch files.
* mesa: Allow contexts of different APIs to coexist.Chia-I Wu2010-11-021-40/+0
| | | | | | | | | | | | | | | | | | This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization.
* Merge branch 'glapi-reorg'Chia-I Wu2010-10-291-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
| * mesa: Remove unnecessary glapitable.h includes.Chia-I Wu2010-10-271-1/+1
| | | | | | | | | | | | | | | | | | With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included by core mesa only to know the size of _glapi_table. It is not necessary as the same info is given by _gloffset_COUNT. This change makes _glapi_table opaque to core mesa. All operations on it are supposed to go through one of the SET/GET/CALL macros.
* | mesa: plug in more GL_EXT_gpu_shader4 functionsBrian Paul2010-10-281-0/+5
|/
* mesa: plug in GL_EXT_texture_integer functionsBrian Paul2010-10-231-0/+7
|
* mesa: plug in primitive restart functionBrian Paul2010-10-211-0/+3
|
* main: remove duplicated includesNicolas Kaiser2010-09-301-4/+1
| | | | | | Remove duplicated includes. Signed-off-by: Brian Paul <[email protected]>
* Remove GL_EXT_cull_vertexIan Romanick2010-09-271-2/+0
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* mesa: Less FEATURE_ARB_sync tests.Chia-I Wu2010-09-141-11/+1
| | | | | Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-281-0/+6
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* mesa: move nvprogram.[ch] to main/Brian Paul2010-06-101-2/+2
|
* mesa: move arbprogram.[ch] to main/Brian Paul2010-06-101-1/+1
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-1/+1
|
* mesa: move uniforms.c to main/Brian Paul2010-06-101-1/+1
|
* mesa: refactor shader api / object codeBrian Paul2010-06-101-1/+3
| | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* mesa: make a bunch of shader API functions staticBrian Paul2010-05-251-72/+2
|
* mesa: Make FEATURE_ATI_fragment_shader more modular.Chia-I Wu2010-05-121-18/+1
| | | | | | This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay.
* mesa/es: Update sources.mak and fix the build.Chia-I Wu2010-05-121-0/+6
| | | | | | | | Remove sources that are feature-aware from the omit list. x86 -O0 build is ~12KiB smaller afther making those sources feature-aware. Also, remove get.c from the omit list as get_es[12].c have been merged to it.
* mesa: Make FEATURE_EXT_transform_feedback more modular.Chia-I Wu2010-05-121-9/+1
| | | | | | This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay.
* mesa: #ifdef out more remap_table related code when disabled.José Fonseca2010-05-021-0/+4
| | | | Seems to get everything building again here.
* mesa: Move references to main/remap_helper.h to api_exec.cKristian Høgsberg2010-04-271-0/+34
|
* mesa: Move struct _glapi_table allocation out of context.cKristian Høgsberg2010-04-221-2/+10
| | | | | | We now allocate the table from api_exec.c and dlist.c where we fill out the table. This way, context.c doesn't need to know the actual contents of struct _glapi_table.
* mesa: plug in GL_EXT_transform_feedback functions into dispatchBrian Paul2010-04-021-0/+13
|
* APPLE_object_purgeable: coreChris Wilson2010-03-051-0/+6
| | | | Signed-off-by: Chris Wilson <[email protected]>
* Set API dispatch pointers for OES_EGL_image functionsKristian Høgsberg2010-02-261-0/+5
| | | | This chunk fell through the cracks when I rebase the EGLImage patch series.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-251-1/+1
| | | | | | 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.
* mesa: Remove unnecessary headers.Vinson Lee2010-02-011-2/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-01-311-4/+0
|
* mesa: plug in API functions for conditional renderingBrian Paul2009-12-311-0/+5
|
* mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul2009-12-291-0/+8
|
* mesa/main: Make FEATURE_dlist follow feature conventions.Chia-I Wu2009-09-301-12/+1
| | | | | As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_evaluators follow feature conventions.Chia-I Wu2009-09-301-15/+3
| | | | | As shown in mfeatures.h, this allows users of eval.h to work without knowing if the feature is available.
* mesa/main: New feature FEATURE_queryobj.Chia-I Wu2009-09-301-17/+1
| | | | | It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
* mesa/main: Make FEATURE_texgen follow feature conventions.Chia-I Wu2009-09-301-13/+1
| | | | | As shown in mfeatures.h, this allows users of texgen.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_feedback follow feature conventions.Chia-I Wu2009-09-301-12/+1
| | | | | As shown in mfeatures.h, this allows users of feedback.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_drawpix follow feature conventions.Chia-I Wu2009-09-301-7/+3
| | | | | As shown in mfeatures.h, this allows users of drawpix.h to work without knowing if the feature is available.
* mesa/main: New feature FEATURE_rastpos.Chia-I Wu2009-09-301-53/+3
| | | | | It is separated from FEATURE_drawpix and made to follow the feature conventions.
* mesa/main: Make FEATURE_histogram follow feature conventions.Chia-I Wu2009-09-301-14/+1
| | | | | As shown in mfeatures.h, this allows users of histogram.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_attrib_stack follow feature conventions.Chia-I Wu2009-09-301-8/+3
| | | | | As shown in mfeatures.h, this allows users of attrib.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_accum follow feature conventions.Chia-I Wu2009-09-301-6/+3
| | | | | As shown in mfeatures.h, this allows users of accum.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_convolve follow feature conventions.Chia-I Wu2009-09-241-18/+1
| | | | | As shown in mfeatures.h, this allows users of convolve.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_colortable follow feature conventions.Chia-I Wu2009-09-241-13/+1
| | | | | As shown in mfeatures.h, this allows users of colortab.h to work without knowing if the feature is available.
* mesa/main: Make FEATURE_pixel_transfer follow feature conventions.Chia-I Wu2009-09-241-13/+3
| | | | | As shown in mfeatures.h, this allows users of pixel.h to work without knowing if the feature is available.
* ARB sync: Add support for GL_ARB_sync to swrastIan Romanick2009-09-031-0/+14
| | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work.
* mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt2009-09-011-1/+0
| | | | | | | | | Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <[email protected]>
* mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.cBrian Paul2009-08-131-0/+1
| | | | All the glGetTexImage code is in one file now.
* mesa: plug in glBindVertexArray, glGenVertexArrays functionsBrian Paul2009-06-221-0/+4
|