Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. | José Fonseca | 2008-07-13 | 1 | -5/+5 |
| | | | | | You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface. | ||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 1 | -3/+3 |
| | | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | ||||
* | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | 2008-06-24 | 1 | -4/+5 |
| | |||||
* | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | 2008-05-18 | 1 | -1/+1 |
|\ | |||||
| * | s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/ | Brian Paul | 2008-05-17 | 1 | -1/+1 |
| | | |||||
* | | gallium: fix some render to texture bugs | Brian Paul | 2008-05-07 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we were sometimes rendering into a stale texture because st_finalize_texture() would discard the old texture and create a new one. Moved st_update_framebuffer atom after texture validation so that we can create a new renderbuffer surface if the texture changes. Also, split texture validation into two parts: finalize_textures and update_textures. Do finalize_textures first to avoid getting into the situtation where we're doing a pipe->surface_copy() mid-way through state validation. Some debug code still in place, but disabled... | ||||
* | | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | 2008-05-06 | 1 | -11/+23 |
| | | | | | | | | | | Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | ||||
* | | gallium: tex surface checkpoint | Keith Whitwell | 2008-05-01 | 1 | -2/+3 |
|/ | |||||
* | gallium: check for PIPE_FORMAT_X8Z24_UNORM format | Brian Paul | 2008-04-28 | 1 | -1/+2 |
| | |||||
* | gallium: fix readback of z16 values | Brian Paul | 2008-04-10 | 1 | -1/+1 |
| | |||||
* | gallium: more elaborate tracking of front color buffer state | Brian Paul | 2008-04-09 | 1 | -2/+31 |
| | | | | | | | This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front. | ||||
* | gallium: include st_cb_bitmap.h to silence warning | Brian Paul | 2008-04-03 | 1 | -0/+1 |
| | |||||
* | gallium: call st_flush_bitmap_cache() | Brian Paul | 2008-04-03 | 1 | -0/+2 |
| | |||||
* | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | 2008-03-26 | 1 | -1/+1 |
| | | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | ||||
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 1 | -3/+1 |
| | | | | | | We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master. | ||||
* | gallium: implement PBO operations for glDraw/ReadPixels and glBitmap | Brian Paul | 2008-03-21 | 1 | -10/+9 |
| | | | | | | At this time there are no optimizations for directly blitting between buffer objects and surfaces (always go through mappings). glean pbo test passes now | ||||
* | Code reorganization: update build. | José Fonseca | 2008-02-15 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT). | Brian | 2008-02-12 | 1 | -21/+78 |
| | | | | This fixes demos/reflect ('d' key) and tests/zreaddraw.c | ||||
* | Remove pipe->get/put_tile_rgba. | Michel Dänzer | 2008-01-14 | 1 | -1/+2 |
| | | | | | | | 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. | ||||
* | Remove mapping fields from struct pipe_surface. | Michel Dänzer | 2008-01-14 | 1 | -4/+0 |
| | | | | It's now the responsibility of surface users to keep track of their mappings. | ||||
* | gallium: make state tracker explictly ask for rendercache flushes | Keith Whitwell | 2007-12-20 | 1 | -1/+1 |
| | |||||
* | Replace "duplicate" formats | Brian | 2007-12-07 | 1 | -2/+2 |
| | |||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 1 | -7/+6 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | 2007-11-29 | 1 | -3/+3 |
| | |||||
* | initial support for PIPE_FORMAT_Z24_S8 | Brian | 2007-11-20 | 1 | -0/+9 |
| | |||||
* | Move the get/put_tile() functions to pipe_context. | Brian | 2007-10-25 | 1 | -1/+1 |
| | | | | The _rgba versions are temporary until the state tracker is updated. | ||||
* | fix function name | Brian | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | make read_stencil_pixels() non-static | Brian | 2007-10-18 | 1 | -5/+5 |
| | |||||
* | fix addressing error in read_stencil_pixels() | Brian | 2007-10-17 | 1 | -2/+2 |
| | |||||
* | GL_STENCIL_INDEX support | Brian | 2007-10-13 | 1 | -1/+77 |
| | |||||
* | get_tile() of Z surfaces returns floats now | Brian | 2007-10-13 | 1 | -13/+1 |
| | |||||
* | basic support for reading GL_DEPTH_COMPONENT | Brian | 2007-10-03 | 1 | -3/+34 |
| | |||||
* | Added st_fb_orientation() function to determine the up/down orientation of ↵ | Brian | 2007-08-13 | 1 | -4/+12 |
| | | | | the framebuffer. | ||||
* | flush pipe before reading image | Brian | 2007-08-13 | 1 | -1/+9 |
| | |||||
* | readpixels handles any format/type/packing/transfer ops now | Brian | 2007-08-10 | 1 | -10/+56 |
| | |||||
* | glReadPixels | Brian | 2007-08-10 | 1 | -0/+75 |