summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_clear.c
AgeCommit message (Collapse)Author
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-20Set viewport state so viewport matches window dims.Brian
trivial/readpixels.c works again.
2007-08-20Update glClear and glDrawPixels code.Brian
Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords.
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-17Use simple st->pipe->clear() in more cases for depth/stencil clears.Brian
2007-08-17added assertions, disable debug outputBrian
2007-08-16make pass-through vertex shaderBrian
2007-08-16Begin added vertex shader state/support.Brian
Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
2007-08-15added PIPE_PRIM_x tokens (matching GL), use in a few placesBrian
2007-08-13added an assertionBrian
2007-08-10Y invert, clean-upBrian
2007-08-09commentsBrian
2007-08-09Checkpoint intel_renderbuffer removal.Brian
Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
2007-08-08setup frag shader state: color pass-through programBrian
2007-08-06New 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-08-02trim #includesBrian
2007-08-02pipe->clear() now takes a surface, rather than color/depth/stencil flags.Brian
pipe->clear() only used to clear whole buffers (no scissor) w/out masking. Draw a colored quadrilateral in all other cases.
2007-08-02setup more state for clear_with_quad()Brian
2007-08-02Implement new draw_vertices() path for simple vertex array drawing, use it ↵Brian
for glClear.
2007-08-02Remove references to accum buffers in softpipe.Keith Whitwell
Also some minor clear fixes.
2007-08-02sketch out clearing with quadsBrian
2007-08-02Reroute some clear functionality.Keith Whitwell
Still require the intelClear() call to flush batchbuffers. That will be removed later...