Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | 2008-12-31 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | mesa: refactor: move glTexParameter-related functions into new texparam.c file | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | |||||
* | mesa: refactor: move glTexEnv-related functions into new texenv.c file | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | | | | (cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463) | ||||
* | mesa: refactor: move glTexGen-related functions into new texgen.c file | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | | | | (cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4) | ||||
* | mesa: refactor: move multisample-related functions into new multisample.c file | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | |||||
* | mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵ | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | | | | | | framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31) | ||||
* | mesa: refactor: move scissor functions into new scissor.c file | Brian Paul | 2008-09-21 | 1 | -0/+1 |
| | | | | (cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25) | ||||
* | mesa: remove EXT/NV suffixes from _mesa_PointParameter functions | Brian Paul | 2008-09-21 | 1 | -12/+12 |
| | |||||
* | mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib() | Brian Paul | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 1 | -36/+51 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | include varray.h to silence warning | Brian | 2008-03-21 | 1 | -1/+1 |
| | |||||
* | mesa: avoid to unlock an unlocked array in _mesa_PopClientAttrib | Xiang, Haihao | 2008-03-17 | 1 | -1/+1 |
| | |||||
* | Allow first != 0 in mesa CVA handling, and add more error checking. | Eric Anholt | 2008-02-04 | 1 | -2/+4 |
| | |||||
* | Only set R_MODE with NV_point_sprite | Alan Hourihane | 2007-10-28 | 1 | -1/+2 |
| | |||||
* | replace separate 1D/2D/etc fields with an array indexed by texture target | Brian | 2007-08-16 | 1 | -82/+46 |
| | |||||
* | Bring over the texobj refcounting changes from mesa_7_0_branch | Brian | 2007-08-16 | 1 | -77/+159 |
| | |||||
* | Implement mutex/locking around texture object reference counting. | Brian | 2007-08-13 | 1 | -0/+1 |
| | | | | | | Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. | ||||
* | fix mesa's handling of fbo's / window fb (again) | Roland Scheidegger | 2007-07-19 | 1 | -0/+4 |
| | | | | | | | | 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. | ||||
* | restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 | Brian | 2007-05-23 | 1 | -0/+1 |
| | |||||
* | incr/decr 1D/2DArray texture refcounts like other targets | Brian | 2007-05-23 | 1 | -1/+5 |
| | |||||
* | need to copy new 1D/2D array texture objects in _mesa_PushAttrib() | Brian | 2007-05-19 | 1 | -0/+4 |
| | |||||
* | Initial implementation of MESA_texture_array | Ian Romanick | 2007-05-16 | 1 | -0/+12 |
| | | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | ||||
* | don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵ | Brian | 2007-04-17 | 1 | -1/+2 |
| | | | | generates an error | ||||
* | Colortable re-org. | Brian | 2007-03-16 | 1 | -9/+10 |
| | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | ||||
* | Fix glPush/PopClientAttrib() for VBO state (bug 9445). | Brian | 2007-01-05 | 1 | -2/+15 |
| | |||||
* | fix glPopAttrib/color material bug #9091 | Brian Paul | 2006-11-20 | 1 | -4/+4 |
| | |||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 1 | -0/+5 |
| | |||||
* | fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT | Brian Paul | 2006-08-04 | 1 | -0/+2 |
| | |||||
* | include arrayobj.h | Brian Paul | 2006-06-12 | 1 | -0/+1 |
| | |||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -13/+39 |
| | | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. | ||||
* | Fix yet another issue with popping GL_DRAW_BUFFER state with respect to | Brian Paul | 2006-04-22 | 1 | -12/+29 |
| | | | | single vs. multiple outputs and what kind of FBO is currently bound. | ||||
* | When popping GL_DRAW_BUFFER state, need to re-do error checking since | Brian Paul | 2006-04-14 | 1 | -4/+15 |
| | | | | | | validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this. | ||||
* | Use standard ARB names instead of vendor-specific NV names for the ↵ | Roland Scheidegger | 2006-03-03 | 1 | -4/+4 |
| | | | | ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different. | ||||
* | Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be | Brian Paul | 2005-12-14 | 1 | -3/+0 |
| | | | | done with fragment programs nowadays. | ||||
* | Added _mesa_light() helper function so we can avoid transforming then | Brian Paul | 2005-11-12 | 1 | -18/+14 |
| | | | | | un-transforming light positions and spot directions when popping light state off the attribute stack. | ||||
* | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | 2005-11-10 | 1 | -4/+4 |
| | |||||
* | fix popping of GL_SPOT_DIRECTION (bug 5005) | Brian Paul | 2005-11-10 | 1 | -1/+1 |
| | |||||
* | fix popping of GL_EYE_PLANE state (bug 4996) | Brian Paul | 2005-11-09 | 1 | -10/+20 |
| | |||||
* | Replace ctx->Driver.StencilOp/Func/Mask() functions with | Brian Paul | 2005-09-13 | 1 | -7/+10 |
| | | | | ctx->Driver.Stencil*Separate() functions. | ||||
* | OpenGL 2.0's two-sided stencil feature wasn't implemented correctly. | Brian Paul | 2005-09-13 | 1 | -14/+19 |
| | | | | | See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side. | ||||
* | remove dead code, update comments | Brian Paul | 2005-08-31 | 1 | -5/+0 |
| | |||||
* | removed GL_HP_occlusion_test extension | Brian Paul | 2005-08-25 | 1 | -4/+1 |
| | |||||
* | Add a set of predicate functions for testing matrices instead of directly | Brian Paul | 2005-06-30 | 1 | -3/+3 |
| | | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private. | ||||
* | properly pop the GL_TEXTURE_GEN_ enable state | Brian Paul | 2005-05-27 | 1 | -0/+8 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -0/+7 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | handle ENABLE_BIT for EXT_stencil_two_side | Daniel Borca | 2004-11-22 | 1 | -1/+4 |
| | |||||
* | use parentheses to avoid warning | Daniel Borca | 2004-11-15 | 1 | -1/+1 |
| | |||||
* | pop(stencil) for EXT_stencil_two_side | Daniel Borca | 2004-11-12 | 1 | -7/+16 |
| | |||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 1 | -6/+5 |
| | |||||
* | Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*(). | Brian Paul | 2004-09-13 | 1 | -3/+1 |
| | | | | Define 2.0 point-sprite related tokens in glheader.h (temporary). |