Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Prefix main includes with dir to avoid conflicts. | José Fonseca | 2008-07-24 | 1 | -1/+1 |
| | | | | | Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h | ||||
* | mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c | Brian | 2008-07-21 | 1 | -18/+0 |
| | | | | No API-level functions now in program.c. | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian Paul | 2008-05-07 | 1 | -0/+22 |
| | | | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... Picked from gallium-0.1 | ||||
* | mesa: added _mesa_insert_instructions() | Brian | 2008-04-07 | 1 | -0/+2 |
| | | | | Also, use new _mesa_free_instructions() in a few places. | ||||
* | make _mesa_combine_programs() params const | Brian | 2007-10-30 | 1 | -1/+2 |
| | |||||
* | Added _mesa_combine_programs() for concatenating two programs. | Brian | 2007-10-30 | 1 | -0/+8 |
| | |||||
* | move GL_MESA_program_debug funcs to prog_debug.c | Brian | 2007-02-09 | 1 | -15/+2 |
| | |||||
* | Remove some moved extern decls. | Brian | 2006-12-14 | 1 | -15/+0 |
| | |||||
* | Move many functions into new files. | Brian | 2006-12-14 | 1 | -203/+0 |
| | |||||
* | New functions for cloning programs and parameter lists. | Brian | 2006-12-14 | 1 | -1/+13 |
| | |||||
* | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | 2006-12-13 | 1 | -6/+18 |
| | |||||
* | add STATE_INTERNAL_DRIVER, etc (Rune Petersen) | Brian Paul | 2006-11-17 | 1 | -1/+2 |
| | |||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -2/+3 |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | ||||
* | Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant | Brian Paul | 2006-11-15 | 1 | -4/+7 |
| | | | | | | in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants. | ||||
* | Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the | Brian Paul | 2006-11-02 | 1 | -4/+1 |
| | | | | OpenGL 2.0 function of the same name. | ||||
* | Add a new internal program parameter value STATE_TEXRECT_SCALE which | Keith Whitwell | 2006-09-20 | 1 | -0/+1 |
| | | | | | | provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing. | ||||
* | Export _mesa_print_alu_instruction() to allow drivers to roll their | Keith Whitwell | 2006-09-20 | 1 | -0/+5 |
| | | | | | | own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs(). | ||||
* | added _mesa_alloc_instructions() utility function | Brian Paul | 2006-08-25 | 1 | -0/+3 |
| | |||||
* | Added _mesa_realloc_instructions() utility function. | Brian Paul | 2006-08-24 | 1 | -0/+4 |
| | | | | Fixed/updated comments for parameter list functions. | ||||
* | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | 2006-08-23 | 1 | -1/+3 |
| | | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver. | ||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 1 | -21/+21 |
| | | | | "gl_" to match other structs. | ||||
* | Roll _mesa_free_parameters() into calling function (the only caller). | Brian Paul | 2006-05-24 | 1 | -3/+0 |
| | | | | | | Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups. | ||||
* | use GLbitfield for StateFlags, improved comments | Brian Paul | 2006-05-24 | 1 | -11/+13 |
| | |||||
* | track state flags which might invalidate parameter lists | Keith Whitwell | 2005-11-22 | 1 | -0/+3 |
| | |||||
* | No longer derive 'ati_fragment_shader' from 'program' class. Only the | Brian Paul | 2005-11-19 | 1 | -5/+0 |
| | | | | | program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway. | ||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -1/+7 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | consolidate vertex/fragment program printing into _mesa_print_program() | Brian Paul | 2005-11-05 | 1 | -0/+5 |
| | |||||
* | don't need MAKE_SWIZZLE() macro | Brian Paul | 2005-11-05 | 1 | -5/+4 |
| | |||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 1 | -15/+6 |
| | |||||
* | added a const, clean-up | Brian Paul | 2005-11-03 | 1 | -1/+1 |
| | |||||
* | reduce the use of malloc and strdup for parameter lists | Keith Whitwell | 2005-05-10 | 1 | -0/+1 |
| | |||||
* | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | 2005-04-21 | 1 | -2/+29 |
| | | | | | representations by switching to packed structures for registers and instructions. | ||||
* | prototype _mesa_init_ati_fragment_shader() | Brian Paul | 2005-01-11 | 1 | -10/+13 |
| | |||||
* | fix LoadProgramNV regression when I had fixed the RefCount bug | Brian Paul | 2004-10-02 | 1 | -0/+3 |
| | |||||
* | More updates for Doxygen. | Brian Paul | 2004-09-10 | 1 | -2/+10 |
| | |||||
* | fix some memory leaks (bug #1002030) | Brian Paul | 2004-08-14 | 1 | -0/+3 |
| | |||||
* | Moved from src/mesa/main | Michal Krol | 2004-03-29 | 1 | -0/+253 |