summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: replace questionable CPU_TO_LE32 macro with functionBrian Paul2010-01-201-6/+9
|
* Merge remote branch 'origin/opengl-es-v2'Chia-I Wu2010-01-2011-31/+83
|\
| * Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-1262-4700/+6619
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | mesa/main: linear_to_nonlinear is not always available.Chia-I Wu2009-11-061-24/+38
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu2009-11-053-0/+16
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again.Chia-I Wu2009-11-052-2/+8
| | | | | | | | | | | | | | | | | | They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Include headers with directory prefixes.Chia-I Wu2009-11-052-5/+5
| | | | | | | | | | | | | | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/main: Add more OpenGL ES types to glheader.h.Chia-I Wu2009-11-051-0/+7
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/main: Add support for point size array in _mesa_GetPointerv.Chia-I Wu2009-11-051-0/+5
| | | | | | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * | glapi: Allow normal entry points to be skipped.Chia-I Wu2009-11-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
* | | mesa: added comment about future FBO formatsBrian Paul2010-01-191-0/+3
| | |
* | | Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-191-1/+2
| |/ |/| | | | | | | | | | | | | | | | | | | 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]>
* | mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queriesBrian Paul2010-01-052-0/+26
| | | | | | | | New in GL 3.0.
* | mesa: call _mesa_compute_version() to set context's version infoBrian Paul2010-01-052-80/+6
| |
* | mesa: added _mesa_compute_version() in new version.c fileBrian Paul2010-01-052-0/+137
| |
* | mesa: added version fields to GLcontextBrian Paul2010-01-051-0/+4
| |
* | mesa: added _mesa_[Get]TexParameterI[u]iv() functionsBrian Paul2010-01-042-1/+128
| | | | | | | | | | New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
* | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-044-18/+19
| | | | | | | | | | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* | mesa: use get_texobj() in _mesa_GetTexParameter() funcsBrian Paul2010-01-041-35/+16
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-045-253/+266
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | mesa: add missing _mesa_lock_texture() callBrian Paul2010-01-041-0/+1
| | |
| * | mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | | | | | | | | | Fixes warning seen with Shadowgrounds. See bug 24016.
| * | mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee2010-01-041-15/+32
| | |
| * | mesa: regenerated enums.c fileBrian Paul2010-01-041-234/+231
| | |
| * | apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSXJeremy Huddleston2010-01-031-4/+0
| | | | | | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* | | mesa: more detailed error message in extract_float_rgba()Brian Paul2010-01-041-1/+3
| | |
* | | fix overflowAlan Hourihane2010-01-041-1/+1
| | |
* | | mesa: added _mesa_GetBufferParameteri64v()Brian Paul2010-01-022-0/+45
| | | | | | | | | | | | This is a new function in GL 3.2. No dispatch for this function yet.
* | | mesa: Make condrender.[ch] prototypes match.José Fonseca2010-01-011-2/+2
| | | | | | | | | | | | | | | | | | GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
* | | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-312-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * | mesa: Silence unused variable warning.Vinson Lee2009-12-311-0/+1
| | |
| * | mesa: Initialize variable in get_tex_color_index.Vinson Lee2009-12-291-1/+1
| | |
| * | mesa: set version string to 7.7mesa_7_7Ian Romanick2009-12-211-1/+1
| | |
* | | mesa: remove a line of dead codeBrian Paul2009-12-311-1/+0
| | |
* | | mesa: enable ColorMaskIndexed in display listsBrian Paul2009-12-311-3/+1
| | |
* | | mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul2009-12-311-0/+1
| | |
* | | mesa: turn on NV_conditional_render for software driversBrian Paul2009-12-311-0/+1
| | |
* | | mesa: plug in API functions for conditional renderingBrian Paul2009-12-311-0/+5
| | |
* | | mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul2009-12-312-2560/+2589
| | |
* | | mesa: added FLUSH_VERTICES(), more commentsBrian Paul2009-12-311-6/+10
| | |
* | | mesa: add flag for GL_NV_conditional_render extensionBrian Paul2009-12-313-2/+4
| | |
* | | mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul2009-12-314-0/+197
| | | | | | | | | | | | | | | | | | | | | For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
* | | mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul2009-12-312-16/+17
| | |
* | | mesa: implement _mesa_GetStringi() for GL3Brian Paul2009-12-302-0/+31
| | | | | | | | | | | | Note: not plugged into the dispatch table yet.
* | | mesa: _mesa_get_enabled_extension() functionBrian Paul2009-12-302-0/+23
| | |
* | | mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul2009-12-305-0/+46
| | |
* | | mesa: simplify some extension testing codeBrian Paul2009-12-301-9/+20
| | |
* | | mesa: display list support for glClearBuffer functionsBrian Paul2009-12-301-0/+154
| | | | | | | | | | | | Note: some code disabled until dispatch table supports GL3 entrypoints.
* | | mesa: implement GL3 glClearBuffer() functionsBrian Paul2009-12-302-0/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time.
* | | mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul2009-12-291-7/+17
| | |