Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-12 | mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker | Brian Paul | |
2009-02-12 | mesa: consistantly use mesa memory-functions in gallium state tracker | Brian Paul | |
Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point. | |||
2008-07-10 | gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using ↵ | Brian Paul | |
the aux draw module | |||
2008-05-20 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-20 | gallium: fix vertex shader mem leak (glRasterPos) | Brian Paul | |
2008-05-20 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-20 | gallium: fix default case in st_new_program() | Brian Paul | |
2008-05-19 | fix program delete/refcount bug | Brian Paul | |
cherry-picked from gallium-tex-surfaces | |||
2008-05-18 | fix program delete/refcount bug | Brian Paul | |
2008-04-24 | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | |
Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | |||
2008-04-22 | gallium: fix some bitmap frag shader issues | Brian Paul | |
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc. | |||
2008-03-24 | gallium: free bitmap fragment shaders, misc clean-up | Brian Paul | |
2008-03-22 | gallium: fix a few more shader-related mem leaks | Brian | |
2008-03-22 | gallium: fix a few mem leaks when deleting programs | Brian | |
2008-03-14 | gallium: in st_program_string_notify() free shader tokens. | Brian | |
When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes. | |||
2008-03-11 | gallium: rework CSO-related code in state tracker | Brian | |
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers... | |||
2008-02-15 | Code reorganization: update build. | José Fonseca | |
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks. | |||
2008-02-12 | gallium: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | |
2008-01-15 | include pipe/draw/draw_context.h | Brian | |
2008-01-14 | free stvp->draw_shader | Brian | |
2008-01-14 | Fix problems with vertex shaders and the private draw module. | Brian | |
The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program. | |||
2007-10-30 | Use program serial numbers to avoid re-generating fragment programs for ↵ | Brian | |
glDrawPixels. | |||
2007-10-27 | Move mesa_to_tgsi.[ch] to state_tracker | Brian | |
2007-10-10 | remove unused var | Brian | |
2007-10-03 | Track fragment and vertex shader code generation via pipe shader state objects. | Michel Dänzer | |
Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask. | |||
2007-10-03 | Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAM | Zack Rusin | |
which is being hit all the time. Done by Keith really. | |||
2007-09-28 | fix st_use_program() | Brian | |
2007-09-28 | Instead of linked program pairs, keep a list of vertex programs translated ↵ | Brian | |
for each fragment program. | |||
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-28 | Revert "Redoing the way we handle vertex shaders for the draw module." | Zack Rusin | |
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e. | |||
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-27 | Enable codegen based whenever __i386__ is defined. | Keith Whitwell | |
2007-09-25 | some clean-up of ST_NEW_ shader flags | Brian | |
2007-09-25 | Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵ | Brian | |
proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs. | |||
2007-09-24 | Enable SSE2 for FS. | michal | |
2007-08-25 | checkpoint in constant tracking rework | Keith Whitwell | |
2007-08-24 | check for USE_X86_ASM or SLANG_X86 in st_delete_program() | Brian | |
2007-08-24 | Hook-up SSE2 to VS. | michal | |
2007-08-09 | silence warning | Keith Whitwell | |
2007-08-06 | New st_init_*_functions() to initialize the driver functions table. | Brian | |
We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects. | |||
2007-07-30 | disable ProgramStringNotify assertion | Brian | |
2007-07-24 | added GL_FRAGMENT_PROGRAM_NV in st_new_program() | Brian | |
2007-07-19 | Trigger tgsi compilation for fragment programs. | Keith Whitwell | |
Not sure the generated program looks correct though... | |||
2007-07-05 | Softpipe: import TGSI tree. Not hooked-up yet. | michal | |
2007-06-14 | Renamed softpipe directories and files to something less confusing. | Keith Whitwell | |
softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later. |