Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 1 | -6/+6 |
| | | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures. | ||||
* | mesa: handle some cases of 0x0 render targets | Alan Hourihane | 2009-01-14 | 1 | -1/+6 |
| | |||||
* | mesa: fix incorrect parameter order | Brian Paul | 2008-09-26 | 1 | -3/+3 |
| | |||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 1 | -4/+4 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | gallium: Finer grained is_format_supported. | José Fonseca | 2008-07-19 | 1 | -1/+2 |
| | |||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 1 | -2/+2 |
| | | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | ||||
* | gallium: remove unneeded #include | Brian Paul | 2008-06-20 | 1 | -1/+0 |
| | |||||
* | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | 2008-05-20 | 1 | -1/+1 |
|\ | |||||
| * | gallium: replace assignment with pipe_texture_reference() | Brian Paul | 2008-05-20 | 1 | -1/+1 |
| | | |||||
* | | gallium: tex surface checkpoint | Keith Whitwell | 2008-05-01 | 1 | -2/+4 |
|/ | |||||
* | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | 2008-04-30 | 1 | -8/+6 |
| | | | | This allows us to remove most of the direct references to winsys in the state tracker. | ||||
* | gallium: Use CSO cache for shaders. | Michel Dänzer | 2008-04-21 | 1 | -6/+0 |
| | |||||
* | gallium: pass the filter mode to util_gen_mipmap(). | Brian | 2008-03-24 | 1 | -1/+2 |
| | | | | Remove util_gen_mipmap_filter() when no longer used. | ||||
* | gallium: implement CSO save/restore functions for use by meta operations ↵ | Brian | 2008-03-19 | 1 | -14/+6 |
| | | | | | | | (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state. | ||||
* | gallium: fix typos | Brian | 2008-03-18 | 1 | -1/+1 |
| | |||||
* | gallium: use new gallium utility code for generating mipmaps | Brian | 2008-03-17 | 1 | -218/+7 |
| | |||||
* | gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST | Brian Paul | 2008-03-17 | 1 | -10/+5 |
| | | | | Plus, comments, clean-ups. | ||||
* | gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵ | Brian Paul | 2008-03-17 | 1 | -0/+6 |
| | | | | rendering each level | ||||
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 1 | -16/+18 |
| | | | | | | | | | | 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... | ||||
* | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | 2008-03-05 | 1 | -5/+6 |
| | | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | ||||
* | gallium: change st->state.sampler_texture[] to store pipe_texture pointers | Brian Paul | 2008-02-29 | 1 | -2/+1 |
| | | | | | This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs. | ||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 1 | -3/+4 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: move is_format_supported() to pipe_screen struct | Brian | 2008-02-27 | 1 | -1/+2 |
| | |||||
* | gallium: fill in some blend/rasterizer template fields to make sure they're ↵ | Brian | 2008-02-21 | 1 | -0/+8 |
| | | | | all valid, even if not relevant | ||||
* | gallium: state tracker didn't always notify drivers of texobj data changes | Brian | 2008-02-20 | 1 | -1/+3 |
| | | | | | | | | Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field. | ||||
* | 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: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | 2008-02-12 | 1 | -1/+1 |
| | |||||
* | gallium: move gen-mipmap global/static vars into st_context | Brian | 2008-02-12 | 1 | -28/+13 |
| | | | | This fixes potential problems with multi-context programs. | ||||
* | gallium: clean-up, simplification of mipmapped textures | Brian | 2008-02-12 | 1 | -18/+25 |
| | | | | | | | | Remove pipe_texture->first_level (always implicitly zero). This means there's never any unused mipmap levels at the top. In the state tracker, we no longer re-layout mipmapped textures if the MinLod/MaxLod texture parameters change. It's up to the driver to obey the pipe_sampler->min/max_lod clamps. | ||||
* | gallium: take pitch/stride into account in mipmap generation | Brian | 2008-02-11 | 1 | -1/+2 |
| | |||||
* | gallium: comments about mipmap gen | Brian | 2008-02-11 | 1 | -0/+5 |
| | |||||
* | gallium: implement software fallback for mipmap generation | Brian | 2008-02-11 | 1 | -8/+60 |
| | | | | | This is used when we can't render to the surface type of the texture (such as luminance/alpha). | ||||
* | gallium: include st_cb_drawpixels.h | Brian | 2008-02-08 | 1 | -0/+1 |
| | |||||
* | gallium: initial implemenation of auto mipmap generation in state tracker | Brian | 2008-02-08 | 1 | -0/+362 |
Use hardware rendering to compute/render mipmap levels. The fallback path (which will be used for non-renderable texture formats) isn't working yet. |