aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Include api_exec.h in dlist.c.Vinson Lee2010-05-021-0/+1
| | | | Fixes _mesa_alloc_dispatch_table implicit declaration warning.
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-021-2/+10
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * 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: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-021-1/+1
|/
* mesa: remove unused varBrian Paul2010-04-051-2/+1
| | | | Fixes a coverity warnings.
* mesa: display list support for GL_EXT_transform_feedbackBrian Paul2010-04-021-1/+48
|
* APPLE_object_purgeable: coreChris Wilson2010-03-051-0/+6
| | | | Signed-off-by: Chris Wilson <[email protected]>
* 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.
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-65/+65
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-50/+50
|
* mesa: replace _mesa_bzero() with memset()Brian Paul2010-02-191-1/+1
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-191-7/+7
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-5/+5
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: Remove unnecessary headers.Vinson Lee2010-02-011-2/+0
|
* mesa: fix double->float assignment warningsBrian Paul2010-01-271-3/+3
| | | | Reported by Karl Schultz.
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-221-21/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * mesa: Remove unnecessary headers from dlist.c.Vinson Lee2010-01-181-21/+0
| |
* | mesa: remove a line of dead codeBrian Paul2009-12-311-1/+0
| |
* | mesa: enable ColorMaskIndexed in display listsBrian Paul2009-12-311-3/+1
| |
* | mesa: display list support for glClearBuffer functionsBrian Paul2009-12-301-0/+154
| | | | | | | | Note: some code disabled until dispatch table supports GL3 entrypoints.
* | mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul2009-12-291-8/+6
| |
* | mesa: add dlist support for indexed colormask and indexed enables/disablesBrian Paul2009-12-291-0/+77
|/ | | | Not plugged into dispatch table yet...
* mesa: clean up extended opcode codeBrian Paul2009-10-071-18/+53
|
* mesa: move gl_list_instruction and gl_list_extensions to dlist.cBrian Paul2009-10-071-18/+50
|
* mesa: added _mesa_free_display_list_data()Brian Paul2009-10-071-0/+7
|
* mesa: clean-up display list mem allocation, fix NULL handlingBrian Paul2009-10-071-13/+34
| | | | The -1 term in alloc_instruction() foiled later NULL pointer checks.
* main: replace ALLOC_INSTRUCTION macro with regular functionBrian Paul2009-10-071-199/+202
|
* mesa: rename display list functionsBrian Paul2009-10-071-7/+7
| | | | | _mesa_alloc_instruction() sounded like it was related to vertex/fragment program instructions, but it wasn't.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-051-0/+6
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * mesa: fix potential uninitialized memory readsBrian Paul2009-10-011-0/+6
| |
* | mesa/main: Make FEATURE_dlist follow feature conventions.Chia-I Wu2009-09-301-15/+49
| | | | | | | | | | 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-12/+7
| | | | | | | | | | 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-4/+4
| | | | | | | | | | It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
* | mesa/main: New feature FEATURE_arrayelt.Chia-I Wu2009-09-301-1/+2
| | | | | | | | This allows the removal of AEcontext.
* | Merge branch 'mesa_7_6_branch'Ian Romanick2009-09-161-0/+659
|\|
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchIan Romanick2009-09-161-0/+659
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/dlist.c
| | * mesa: compile glUniformMatrix() functions into display listsBrian Paul2009-09-151-0/+242
| | | | | | | | | | | | | | | I believe this is the last of the shader-related functions that needed display list treatment.
| | * mesa: implement more glUniform display list functionsBrian Paul2009-09-151-1/+365
| | |
| | * mesa: compile glUniform4f() into display listsBrian Paul2009-09-151-0/+26
| | | | | | | | | | | | Note: there are more glUniform functions to compile...
| | * mesa: compile glUseProgram/glUseProgramObjectARB into display listsBrian Paul2009-09-151-0/+28
| | | | | | | | | | | | Fixes bug 23746
* | | mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt2009-09-081-0/+3
|/ /
* | mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt2009-09-011-13/+1
| | | | | | | | | | | | | | | | | | 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]>
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-141-138/+164
|\|
| * mesa: fix some invalid memory readsBrian Paul2009-08-131-18/+57
| | | | | | | | | | We were passing the address of a float to functions that would deref the pointer as an array.
| * mesa: fix warnings about locals hiding function paramsBrian Paul2009-08-131-3/+3
| |
| * mesa: add missing PBO mapping code in unpack_image()Brian Paul2009-08-131-7/+21
| |
| * main: fix some potential memory leaksBrian Paul2009-08-131-112/+85
| | | | | | | | | | Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
* | mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-1/+1
| |
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-33/+79
|\| | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * mesa/dlist: fixes and improvements for material cachingKeith Whitwell2009-06-301-8/+16
| | | | | | | | | | | | | | | | | | | | | | Only short-circuit material call if *all* statechanges from this call are cached. Some material calls (eg with FRONT_AND_BACK) change more than one piece of state -- need to check all of them before returning. Also, Material calls are legal inside begin/end pairs, so don't need to be as careful about begin/end state as with regular statechanges (like ShadeModel) when caching. Take advantage of this and do better caching.