Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | 2010-02-19 | 1 | -2/+2 |
| | |||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 1 | -3/+3 |
| | | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | ||||
* | mesa: fix double->float assignment warnings, int/uint comparison warnings | Brian Paul | 2010-01-27 | 1 | -2/+2 |
| | | | | Reported by Karl Schultz. | ||||
* | prog parse: Handle GL_VERTEX_PROGRAM_ARB in glLoadProgramNV | Ian Romanick | 2009-11-07 | 1 | -1/+13 |
| | |||||
* | prog parse: Handle GL_FRAGMENT_PROGRAM_ARB in glLoadProgramNV | Ian Romanick | 2009-11-07 | 1 | -0/+15 |
| | |||||
* | i965: Emit zero initialization for NV VP temporaries as required. | Eric Anholt | 2009-09-24 | 1 | -0/+44 |
| | | | | | | | This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp. | ||||
* | mesa: Initialize NV_vertex_program fields for the parameter lists and such. | Eric Anholt | 2009-09-24 | 1 | -0/+28 |
| | | | | This helps let drivers treat NV_vp like ARB_vp. | ||||
* | mesa: minor code simplification in _mesa_GetVertexAttrib*NV() | Brian Paul | 2009-05-21 | 1 | -10/+19 |
| | |||||
* | mesa: signal _NEW_PROGRAM_CONSTANTS instead of _NEW_PROGRAM | Brian Paul | 2009-04-24 | 1 | -1/+1 |
| | | | | | Use _NEW_PROGRAM_CONSTANTS when changing constant/uniform buffer values. Binding a new program/shader sets both _NEW_PROGRAM and _NEW_PROGRAM_CONSTANTS. | ||||
* | mesa: new _NEW_PROGRAM_CONSTANTS flag | Brian Paul | 2009-04-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated. | ||||
* | mesa: remove some last remnants of GL_MESA_program_debug | Brian Paul | 2009-03-11 | 1 | -6/+3 |
| | |||||
* | Make GL_ARB_vertex_buffer_object mandatory | Ian Romanick | 2009-01-28 | 1 | -4/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 1 | -6/+6 |
| | | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | ||||
* | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Roland Scheidegger | 2007-11-09 | 1 | -69/+0 |
| | | | | these should be the same functions (as per spec). | ||||
* | _mesa_ExecuteProgramNV is now a no-op | Brian | 2007-02-22 | 1 | -2/+1 |
| | |||||
* | remove unneeded includes | Brian | 2006-12-14 | 1 | -2/+1 |
| | |||||
* | Updated includes. | Brian | 2006-12-14 | 1 | -1/+2 |
| | |||||
* | Fix for glGetVertexAttribfvNV, bug 8883 | Brian Paul | 2006-11-04 | 1 | -3/+18 |
| | |||||
* | New _mesa_exec_vertex_state_program() function. Start of some re-org. | Brian Paul | 2006-10-29 | 1 | -5/+2 |
| | |||||
* | a step toward moving run-time vertex program state out of GLcontext | Brian Paul | 2006-10-10 | 1 | -3/+4 |
| | |||||
* | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | 2006-08-23 | 1 | -10/+8 |
| | | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver. | ||||
* | Remove extraneous trailing semicolon. | Ian Romanick | 2006-08-15 | 1 | -1/+1 |
| | |||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 1 | -24/+24 |
| | | | | "gl_" to match other structs. | ||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -11/+11 |
| | | | | | | | 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. | ||||
* | check glLoadProgramNV len < 0 (bug 6679) | Brian Paul | 2006-04-20 | 1 | -2/+7 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -2/+4 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 1 | -2/+1 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms | Karl Schultz | 2005-05-05 | 1 | -1/+1 |
| | | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer. | ||||
* | fix LoadProgramNV regression when I had fixed the RefCount bug | Brian Paul | 2004-10-02 | 1 | -5/+5 |
| | |||||
* | call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. ↵ | Brian Paul | 2004-06-20 | 1 | -7/+5 |
| | | | | Fixes problems found with Cg demos. | ||||
* | Fix up some assorted issues with initialization of vertex program registers. | Brian Paul | 2004-04-21 | 1 | -2/+2 |
| | | | | | Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program. | ||||
* | Moved from src/mesa/main | Michal Krol | 2004-03-29 | 1 | -0/+871 |