Brian Paul
f1626f0bfd
gallium: implement PBO operations for glDraw/ReadPixels and glBitmap
...
At this time there are no optimizations for directly blitting between
buffer objects and surfaces (always go through mappings).
glean pbo test passes now
2008-03-21 13:44:27 -06:00
José Fonseca
6acd63a498
Code reorganization: update build.
...
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-15 17:50:12 +09:00
Brian
9af687c530
gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT).
...
This fixes demos/reflect ('d' key) and tests/zreaddraw.c
2008-02-12 17:44:57 -07:00
Michel Dänzer
2014e0bacb
Remove pipe->get/put_tile_rgba.
...
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally.
Also simplify the <format>_get/put_tile_rgba() helper functions and clean up
some inconsitencies in them.
2008-01-14 18:12:58 +01:00
Michel Dänzer
c76efb96b4
Remove mapping fields from struct pipe_surface.
...
It's now the responsibility of surface users to keep track of their mappings.
2008-01-14 18:12:58 +01:00
Keith Whitwell
a85535b7cb
gallium: make state tracker explictly ask for rendercache flushes
2007-12-20 13:47:46 +00:00
Brian
d3e05111c8
Replace "duplicate" formats
2007-12-07 16:15:14 -07:00
Michel Dänzer
b859cdf6f1
Eliminate struct pipe_region.
...
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for
(un)mapping.
2007-12-07 12:30:35 +01:00
Michel Dänzer
11a80160fd
Move dimensions from struct pipe_region to struct pipe_surface.
2007-11-29 16:41:39 +01:00
Brian
0191570f02
initial support for PIPE_FORMAT_Z24_S8
2007-11-20 08:30:10 -07:00
Brian
ee80e0b620
Move the get/put_tile() functions to pipe_context.
...
The _rgba versions are temporary until the state tracker is updated.
2007-10-25 20:32:45 -06:00
Brian
68b88fab88
fix function name
2007-10-18 14:20:38 -06:00
Brian
8f3fb395ff
make read_stencil_pixels() non-static
2007-10-18 12:31:05 -06:00
Brian
e48ea92510
fix addressing error in read_stencil_pixels()
2007-10-17 14:56:55 -06:00
Brian
69466c60a5
GL_STENCIL_INDEX support
2007-10-13 12:29:11 -06:00
Brian
eb389aaf72
get_tile() of Z surfaces returns floats now
2007-10-13 09:05:20 -06:00
Brian
a9f0330061
basic support for reading GL_DEPTH_COMPONENT
2007-10-03 13:50:11 -06:00
Brian
4698483f84
Added st_fb_orientation() function to determine the up/down orientation of the framebuffer.
2007-08-13 18:20:04 -06:00
Brian
eb450bbb40
flush pipe before reading image
2007-08-13 13:56:30 -06:00
Brian
04ee3cecdf
readpixels handles any format/type/packing/transfer ops now
2007-08-10 15:29:41 -06:00
Brian
c943dab9a3
glReadPixels
2007-08-10 11:37:05 -06:00