Brian
|
c0bb4ba9e6
|
Rework of shader constant buffers.
They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
|
2007-08-22 12:26:46 -06:00 |
|
Brian
|
d640198b2d
|
Set viewport state so viewport matches window dims.
trivial/readpixels.c works again.
|
2007-08-20 21:45:14 +01:00 |
|
Brian
|
d054331c47
|
Update glClear and glDrawPixels code.
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-20 18:24:02 -06:00 |
|
Brian
|
51da8ee85e
|
Start to remove the temporary draw_vb() and draw_vertices() code.
new st_draw_vertices() utility used by glClear and glDrawPixels
|
2007-08-20 16:21:08 -06:00 |
|
Brian
|
5b59e6116d
|
Use simple st->pipe->clear() in more cases for depth/stencil clears.
|
2007-08-17 10:49:36 +01:00 |
|
Brian
|
04f2078860
|
added assertions, disable debug output
|
2007-08-17 10:27:37 +01:00 |
|
Brian
|
78d6d5e8fe
|
make pass-through vertex shader
|
2007-08-16 17:32:24 -06:00 |
|
Brian
|
de653b4c9b
|
Begin added vertex shader state/support.
Renamed pipe_fs_state to pipe_shader_state since it can be used for both
vertex and fragment shader info.
|
2007-08-16 13:33:43 -06:00 |
|
Brian
|
94a4910c9a
|
added PIPE_PRIM_x tokens (matching GL), use in a few places
|
2007-08-15 19:13:03 -06:00 |
|
Brian
|
8571c4babf
|
added an assertion
|
2007-08-13 18:20:03 -06:00 |
|
Brian
|
1c8bcc733d
|
Y invert, clean-up
|
2007-08-10 16:25:21 -06:00 |
|
Brian
|
be57c1aac4
|
comments
|
2007-08-09 19:04:28 -06:00 |
|
Brian
|
f5713c7d2e
|
Checkpoint intel_renderbuffer removal.
Remove surface ptr from gl_renderbuffer.
Use st_renderbuffer in most places.
More clean-up.
|
2007-08-09 14:29:48 -06:00 |
|
Brian
|
7faa3542f0
|
setup frag shader state: color pass-through program
|
2007-08-08 16:10:40 -06:00 |
|
Brian
|
6da9234fd4
|
New st_init_*_functions() to initialize the driver functions table.
We need to do these initializations before initializing the Mesa context
because context init involves creating texture/program/etc objects.
|
2007-08-06 20:53:28 +01:00 |
|
Brian
|
fc9ff31298
|
trim #includes
|
2007-08-02 20:36:36 -06:00 |
|
Brian
|
47fdaf0ed9
|
pipe->clear() now takes a surface, rather than color/depth/stencil flags.
pipe->clear() only used to clear whole buffers (no scissor) w/out masking.
Draw a colored quadrilateral in all other cases.
|
2007-08-02 16:08:18 -06:00 |
|
Brian
|
406da44da3
|
setup more state for clear_with_quad()
|
2007-08-02 13:48:02 -06:00 |
|
Brian
|
55314f8f31
|
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
|
2007-08-02 12:12:48 -06:00 |
|
Keith Whitwell
|
0e067f1fb2
|
Remove references to accum buffers in softpipe.
Also some minor clear fixes.
|
2007-08-02 18:25:10 +01:00 |
|
Brian
|
e415dced44
|
sketch out clearing with quads
|
2007-08-02 10:29:42 -06:00 |
|
Keith Whitwell
|
4f442d9ef5
|
Reroute some clear functionality.
Still require the intelClear() call to flush batchbuffers. That will be
removed later...
|
2007-08-02 13:59:31 +01:00 |
|