Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-15 | st: Silence compiler warnings on Windows. | Michal Krol | |
2008-05-20 | gallium: fix mem leaks | Brian Paul | |
2008-05-02 | Some changed for non-C99 compilers | Alan Hourihane | |
2008-04-30 | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | |
This allows us to remove most of the direct references to winsys in the state tracker. | |||
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-21 | use cso fs/vs handle functions | Keith Whitwell | |
2008-04-21 | gallium: Use CSO cache for shaders. | Michel Dänzer | |
2008-04-18 | gallium: Always pass colour clear value to driver as A8R8G8B8. | Michel Dänzer | |
2008-04-03 | gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places | Brian | |
2008-04-03 | gallium: streamline viewport/raster/shader state for clearing with quads | Brian Paul | |
Move init of these items to new st_init_clear(). | |||
2008-04-03 | gallium: remove the temporary/test TEST_DRAW_PASSTHROUGH code | Brian Paul | |
2008-04-03 | gallium: use identity viewport fix broken clear_with_quad() path | Brian Paul | |
Since bypass_clipping is set and we're specifying quad vertexes in window coords, setup identity viewport. | |||
2008-03-27 | gallium: Update calls to the simple shader functions | Brian | |
2008-03-20 | gallium: in clear_with_quad() check fb orientation, invert Y if needed | Brian | |
2008-03-20 | gallium: create one vertex buffer and re-use, also enable bypass_clipping | Brian | |
Quad clears should be a little more efficient now. | |||
2008-03-20 | gallium: use the utility pasthrough shaders | Brian | |
This avoids the Mesa->TGSI translation step. | |||
2008-03-19 | gallium: implement CSO save/restore functions for use by meta operations ↵ | Brian | |
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state. | |||
2008-03-18 | gallium: restore additional state after clearing with quad | Brian | |
2008-03-18 | gallium: use new color packing utility functions | Brian | |
2008-03-13 | gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵ | Brian | |
st_draw_vertices() When pass-through mode is fully supported we'll clean this up more. | |||
2008-03-13 | gallium: add some temporary code for testing draw module vertex passthrough | Brian | |
Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | |||
2008-03-12 | gallium: in clear_stencil_buffer() check surface format to determine stencil ↵ | Brian | |
clear value ... as we do for the Z and Z+stencil cases | |||
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-28 | gallium: State tracker cleanups wrt clears. | Keith Whitwell | |
2008-02-14 | gallium: Cleanups related to clears. | Keith Whitwell | |
2008-02-12 | gallium: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | |
2008-02-08 | gallium: added inClipCoords param to st_draw_vertices() to indicate coord ↵ | Brian | |
system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c | |||
2008-01-28 | gallium: check if surface has defined status in check_clear_depth_with_quad() | Brian | |
This was part of Keith's patch from Friday. | |||
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-12-17 | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | |
2007-12-07 | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | |
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | |||
2007-12-07 | Replace "duplicate" formats | Brian | |
2007-12-05 | added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value() | Brian | |
2007-11-20 | initial support for PIPE_FORMAT_Z24_S8 | Brian | |
2007-11-08 | simplify depth_value(), return proper value for Z16 format | Brian | |
2007-11-07 | Float->uint conversion for PIPE_FORMAT_U_Z32 resulted in overflow in ↵ | Brian | |
depth_value(). Special-case it. | |||
2007-10-27 | Move mesa_to_tgsi.[ch] to state_tracker | Brian | |
2007-10-25 | silence warning | Brian | |
2007-10-17 | remove #include vf.h | Brian | |
2007-10-17 | Fix viewport Z scale/bias to get the right Z values from drawing the quad. | Brian | |
2007-10-16 | use new st_clear_accum_buffer() function | Brian | |
2007-10-03 | Some minor cleanups. | Michel Dänzer | |
2007-09-28 | Instead of linked program pairs, keep a list of vertex programs translated ↵ | Brian | |
for each fragment program. | |||
2007-09-25 | st_draw_vertices() no longer needs attribs[] array parameter | 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-21 | reenable some clear code that was temporarily disabled | Brian | |
2007-09-21 | Make the alpha test state a cso. | Zack Rusin | |
2007-09-20 | Checkpoint: vertex attribute clean-up. | Brian | |
Remove/disable the attrib/slot mapping arrays in a few places. Work in progress... | |||
2007-09-20 | Convert depth_stencil state to the new semantics. | Zack Rusin | |
2007-09-20 | Switch fragment/vertex shaders to the new caching semantics. | Zack Rusin | |
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself). |