summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-01-01mesa: Make condrender.[ch] prototypes match.José Fonseca
GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
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
2009-12-31mesa: remove a line of dead codeBrian Paul
2009-12-31mesa: enable ColorMaskIndexed in display listsBrian Paul
2009-12-31mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul
2009-12-31mesa: turn on NV_conditional_render for software driversBrian Paul
2009-12-31mesa: plug in API functions for conditional renderingBrian Paul
2009-12-31mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul
2009-12-31mesa: added FLUSH_VERTICES(), more commentsBrian Paul
2009-12-31mesa: add flag for GL_NV_conditional_render extensionBrian Paul
2009-12-31mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul
For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
2009-12-31mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul
2009-12-31mesa: Silence unused variable warning.Vinson Lee
2009-12-30mesa: implement _mesa_GetStringi() for GL3Brian Paul
Note: not plugged into the dispatch table yet.
2009-12-30mesa: _mesa_get_enabled_extension() functionBrian Paul
2009-12-30mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul
2009-12-30mesa: simplify some extension testing codeBrian Paul
2009-12-30mesa: display list support for glClearBuffer functionsBrian Paul
Note: some code disabled until dispatch table supports GL3 entrypoints.
2009-12-30mesa: implement GL3 glClearBuffer() functionsBrian Paul
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.
2009-12-29mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul
2009-12-29mesa: finish-up indexed color mask code in _mesa_PopAttrib()Brian Paul
2009-12-29mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul
2009-12-29mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul
2009-12-29mesa: added infrastructure for GL_EXT_draw_buffers2Brian Paul
2009-12-29mesa: add dlist support for indexed colormask and indexed enables/disablesBrian Paul
Not plugged into dispatch table yet...
2009-12-29mesa: implement per-buffer color maskingBrian Paul
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
2009-12-29mesa: implement indexed glGet functionsBrian Paul
The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time.
2009-12-29mesa: per-buffer blend enabled flagsBrian Paul
ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
2009-12-29mesa: Initialize variable in get_tex_color_index.Vinson Lee
2009-12-22mesa: remove unnecessary store.Eric Anholt
2009-12-22mesa: Remove an unnecessary store reported by clang.Eric Anholt
This was a workaround for a compiler warning that was showing a real error. The real error was later fixed.
2009-12-22mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.Eric Anholt
The same code is generated, and readers and static analyzers are happier.
2009-12-22mesa: Remove _mesa_exit wrapper for exit().Eric Anholt
It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
2009-12-21mesa: set version string to 7.7Ian Romanick
2009-12-21Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
2009-12-21Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
2009-12-16mesa: set version string to 7.6.1-rc4Ian Romanick
2009-12-16mesa: add missing semicolonBrian Paul
See bug 25663.
2009-12-16mesa: test for __blrts for CPU_TO_LE32()Brian Paul
See bug 25663.
2009-12-16mesa: no dlopen on BlueGeneBrian Paul
See bug 25663.
2009-12-11mesa: minor reformatting/rewrapping in dd.hBrian Paul
2009-12-11mesa: remove unused ctx->Driver.ActiveTexture() hookBrian Paul
2009-12-11mesa: updated commentBrian Paul
2009-12-11Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
2009-12-11Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
2009-12-10mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.Vinson Lee
2009-12-10mesa: Fix default (swrast) GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.Eric Anholt
The swrast pipeline shouldn't have any problem with all the frag and vert textures being bound at the same time. Note that this may result in DRI drivers that don't set this limit having an improbable return (fragment + vertex < combined), but it seems like it shouldn't cause problems for apps.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_TexGend.Vinson Lee
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee