Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | varray.c: fix logic around BGRA with ARB_vertex_type_2_10_10_10_rev. | Dave Airlie | 2011-09-07 | 1 | -4/+11 |
| | | | | | | | | | I introduced a regression in here, I've just split the logic ot now, so its easier to read/understand. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=40664 Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa/varray: add interface support for ARB_vertex_type_2_10_10_10_rev (v2) | Dave Airlie | 2011-09-06 | 1 | -7/+38 |
| | | | | | | | | | | | This just adds all the API check for vertex arrays using 2101010 types. 2101010 is also useable with GL_BGRA. v2: fix whitespace. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: accept GL_FIXED in glVertexAttribPointer (ARB_ES2_compatibility) | Marek Olšák | 2011-04-30 | 1 | -10/+13 |
| | | | | | | | | GL_FIXED should not be accepted in the other gl*Pointer calls in OpenGL. There is a new piglit for this: arb_es2_compatibility-fixed-type. Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: fix error message text | Brian Paul | 2011-04-06 | 1 | -1/+1 |
| | |||||
* | mesa: Fix error checks in GetVertexAttrib functions | Ian Romanick | 2011-02-04 | 1 | -36/+32 |
| | | | | | | | | | Querying index zero is not an error in OpenGL ES 2.0. Querying an index larger than the value returned by GL_MAX_VERTEX_ATTRIBS is an error in all APIs. Fixes bugzilla #32375. | ||||
* | mesa: support for GL_ARB_instanced_arrays | Brian Paul | 2011-01-15 | 1 | -3/+39 |
| | |||||
* | mesa: Directly include mfeatures.h in files that perform feature tests. | Vinson Lee | 2011-01-07 | 1 | -0/+1 |
| | |||||
* | mesa: allow GLfixed arrays for OpenGL ES 2.0 | Shuang He | 2010-12-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Fix glTexCoordPointer with type GL_FIXED. | Chia-I Wu | 2010-12-09 | 1 | -1/+2 |
| | | | | GL_FIXED is also a legal type for glTexCoordPointer. | ||||
* | mesa: make fixed-pt and byte-valued arrays a runtime feature | Brian Paul | 2010-11-07 | 1 | -21/+25 |
| | | | | | | These ES1 features were only tested for in the vertex array code. Checking the ctx->API field at runtime is cleaner than the #ifdef stuff and supports choosing the API at runtime. | ||||
* | mesa: use GLubyte for edge flag arrays | Brian Paul | 2010-11-02 | 1 | -2/+2 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310 | ||||
* | mesa: remove obsolete comment | Brian Paul | 2010-10-28 | 1 | -1/+0 |
| | |||||
* | mesa: consolidate glVertex/Color/etcPointer() code | Brian Paul | 2010-10-28 | 1 | -545/+202 |
| | | | | | This removes a bunch of similar error checking code in all the vertex pointer functions and puts nearly all the error checking in update_array(). | ||||
* | mesa: add gl_client_array::Integer field and related vertex array state code | Brian Paul | 2010-10-28 | 1 | -17/+86 |
| | |||||
* | mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer() | Brian Paul | 2010-10-28 | 1 | -2/+1 |
| | |||||
* | mesa: set/get primitive restart state | Brian Paul | 2010-10-21 | 1 | -3/+4 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -7/+7 |
| | |||||
* | mesa: update to version 64 of GL/glext.h | Brian Paul | 2010-09-14 | 1 | -2/+2 |
| | | | | | | A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h. | ||||
* | mesa: silence a printf warning | Brian Paul | 2010-07-14 | 1 | -2/+2 |
| | |||||
* | mesa: move all vertex array functions into varray.c | Brian Paul | 2010-05-25 | 1 | -0/+242 |
| | |||||
* | mesa: added _mesa_VertexAttribIPointer() | Brian Paul | 2010-05-25 | 1 | -0/+19 |
| | |||||
* | mesa: API and state for GL 3.1 primitive restart | Brian Paul | 2010-04-20 | 1 | -0/+21 |
| | |||||
* | mesa: Move src/mesa/glapi/dispatch.h to mesa. | Chia-I Wu | 2010-02-25 | 1 | -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 versions | Kristian Høgsberg | 2010-02-19 | 1 | -9/+9 |
| | |||||
* | mesa: added texcoord unit assertion | Brian Paul | 2010-02-03 | 1 | -0/+2 |
| | |||||
* | mesa: add core support for ARB_half_float_vertex. | Dave Airlie | 2010-01-23 | 1 | -0/+21 |
| | | | | | | | | Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: remove unused vertex array driver hooks | Brian Paul | 2009-11-16 | 1 | -76/+26 |
| | |||||
* | mesa: Make MultiDrawElements submit multiple primitives at once. | Eric Anholt | 2009-09-01 | 1 | -18/+0 |
| | | | | | | | | | 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]> | ||||
* | mesa: new _mesa_copy_client_array() function | Brian Paul | 2009-08-07 | 1 | -0/+23 |
| | |||||
* | mesa: more error message info for vertex pointer functions | Brian Paul | 2009-08-04 | 1 | -6/+12 |
| | |||||
* | mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_object | Brian Paul | 2009-06-22 | 1 | -25/+52 |
| | |||||
* | mesa: move vertex array objects from shared state to per-context | Brian Paul | 2009-06-19 | 1 | -0/+26 |
| | | | | | The ARB version requires VAOs to be per-context while the Apple extension was ambiguous. | ||||
* | mesa: EXT_vertex_array_bgra fixes | Maciej Cencora | 2009-06-08 | 1 | -3/+24 |
| | | | | | | | | 1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB | ||||
* | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | |||||
* | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | |||||
* | mesa: freshen comments for update_array() | Brian Paul | 2009-05-21 | 1 | -3/+2 |
| | |||||
* | mesa: remove const qualifier | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | |||||
* | mesa: VertexAttribPointer comments | Brian Paul | 2009-05-21 | 1 | -0/+11 |
| | |||||
* | mesa: call _mesa_update_array_object_max_element() before printing array info | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | |||||
* | mesa: added _mesa_print_arrays() for debugging | Brian Paul | 2009-05-21 | 1 | -1/+46 |
| | |||||
* | mesa: reference counting for gl_array_object | Brian Paul | 2009-05-07 | 1 | -2/+2 |
| | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. | ||||
* | mesa: Compute gl_client_array->_MaxElement during array validation | Brian Paul | 2009-05-07 | 1 | -13/+0 |
| | | | | | | Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag. | ||||
* | mesa: use array->BufferObj instead of ctx->Array.ArrayBufferObj | Brian Paul | 2009-05-07 | 1 | -2/+2 |
| | | | | No difference, but a little more understandable. | ||||
* | mesa: added _ElementSize field to gl_client_array | Brian Paul | 2009-05-07 | 1 | -0/+2 |
| | | | | Will be handy for bounds checking later... | ||||
* | mesa: update glColorPointer, etc for GL_EXT_vertex_array_bgra | Brian Paul | 2009-01-23 | 1 | -18/+68 |
| | | | | Add new error checking, set array state appropriately. | ||||
* | mesa: added case for fixed pt | Brian Paul | 2008-09-21 | 1 | -0/+5 |
| | |||||
* | mesa: point size arrays | Brian Paul | 2008-09-21 | 1 | -0/+31 |
| | |||||
* | mesa: GL_BYTE vertex/texcoord arrays | Brian Paul | 2008-09-21 | 1 | -0/+10 |
| | |||||
* | mesa: initial support for fixed-pt vertex arrays | Brian Paul | 2008-09-21 | 1 | -0/+20 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 1 | -10/+5 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. |