summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
AgeCommit message (Collapse)Author
2009-09-30mesa/main: Make FEATURE_attrib_stack follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of attrib.h to work without knowing if the feature is available.
2009-09-08mesa: Add support for ARB_depth_clamp.Eric Anholt
This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
2009-08-08mesa: simplify glPushAttrib() list building codeBrian Paul
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-14mesa: fix texture border color code for glPopAttrib()Brian Paul
The texture object's border color used to be stored as GLchan but it's been GLfloat for a while now.
2009-06-22mesa: fix some potential state-restore issues in pop_texture_group()Brian Paul
Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays. (cherry picked from commit aac19609bfd7c950b2577489b06886c8a8097bb2)
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: simplify adjust_buffer_object_ref_counts()Brian Paul
2009-05-21mesa: fix some potential state-restore issues in pop_texture_group()Brian Paul
Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays.
2009-04-16mesa: fix bad mask bit in clip plane restore code for glPopAttrib()Lars Henning Wendt
2009-04-03mesa: rename some gl_light fields to be clearerBrian Paul
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-02-28mesa: move gl_attrib_node struct to attrib.c tooBrian Paul
2009-02-28mesa: move gl_enable_attrib struct to attrib.c, the only place it's usedBrian Paul
2009-02-21mesa: use an array for current texture objectsBrian Paul
Use loops to consolidate lots of texture object code.
2009-02-21mesa: re-org texgen stateBrian Paul
New gl_texgen struct allows quite a bit of code reduction.
2009-02-12mesa: don't include m_xform.h where not neededBrian Paul
2009-01-30mesa: remove incorrect refcounting adjustment in ↵Brian Paul
adjust_buffer_object_ref_counts() Fixes bug 19835. However, a more elaborate fix should be implemented someday which uses proper reference counting for gl_array_object.
2009-01-28Make GL_ARB_draw_buffers mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_texture_compression mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_textureBrian Paul
Everyone should be using the newer/better ARB versions of these extensions.
2008-12-31mesa: increase max texture image units and GLSL samplers to 16Brian Paul
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
2008-09-21mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul
2008-09-21mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
2008-09-21mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul
(cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)
2008-09-21mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul
2008-09-21mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul
framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
2008-09-21mesa: refactor: move scissor functions into new scissor.c fileBrian Paul
(cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
2008-09-21mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul
2008-09-05mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
2008-03-21include varray.h to silence warningBrian
2008-03-17mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao
2008-02-04Allow first != 0 in mesa CVA handling, and add more error checking.Eric Anholt
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane
2007-08-16replace separate 1D/2D/etc fields with an array indexed by texture targetBrian
2007-08-16Bring over the texobj refcounting changes from mesa_7_0_branchBrian
2007-08-13Implement mutex/locking around texture object reference counting.Brian
Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
2007-07-19fix mesa's handling of fbo's / window fb (again)Roland Scheidegger
Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
2007-05-23restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049Brian
2007-05-23incr/decr 1D/2DArray texture refcounts like other targetsBrian
2007-05-19need to copy new 1D/2D array texture objects in _mesa_PushAttrib()Brian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-04-17don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian
generates an error
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-01-05Fix glPush/PopClientAttrib() for VBO state (bug 9445).Brian
2006-11-20fix glPopAttrib/color material bug #9091Brian Paul
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-08-04fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BITBrian Paul
2006-06-12include arrayobj.hBrian Paul