Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-11 | gallium: rework CSO-related code in state tracker | Brian | |
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... | |||
2008-03-10 | gallium: disable an unneeded assertion (hit with texwrap.c) | Brian | |
2008-03-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-02-29 | gallium: change st->state.sampler_texture[] to store pipe_texture pointers | Brian Paul | |
This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs. | |||
2008-02-29 | gallium: fix update_textures() bug in pipe_texture binding logic | Brian Paul | |
The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it. | |||
2008-02-29 | gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed | Brian Paul | |
2008-02-28 | gallium: fix surface/texture format conversion in st_CopyPixels | Brian Paul | |
If the src buffer's format isn't supported as a texture format, find a different texture format. | |||
2008-02-28 | gallium: added a texture format sanity check/assertion in st_texture_create() | Brian Paul | |
make sure the tex format is actually supported by the driver. | |||
2008-02-28 | galliums: s/uint/enum pipe_format/ | Brian Paul | |
2008-02-28 | gallium: in GL_SELECT mode, update hitflag in rasterpos | Brian Paul | |
2008-02-28 | gallium: State tracker cleanups wrt clears. | Keith Whitwell | |
2008-02-28 | gallium: Convert CRLF -> LF. | Jose Fonseca | |
DOS/Windows users should not commit text files with CRLF line endings but use instead git config --global core.autocrlf true | |||
2008-02-27 | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | |
These functions are now per-screen, not per-context. | |||
2008-02-27 | gallium: move is_format_supported() to pipe_screen struct | Brian | |
2008-02-27 | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | |
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | |||
2008-02-26 | gallium: use pipe_texture_reference() instead of pipe->texture_release() | Brian | |
2008-02-26 | gallium: remove pipe parameter from pipe_texture_reference() | Brian | |
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | |||
2008-02-26 | gallium: #includes to silence warnings | Brian | |
2008-02-26 | gallium: fix zero-sized viewport bug | Brian | |
If st_create_framebuffer() is called with width=0, height=0 and the program never called glViewport, the viewport wasn't properly initalized. This fixes that. | |||
2008-02-26 | gallium: fix off by one rasterpos bug | Brian | |
2008-02-26 | gallium: remove input_map[] from pipe_shader_state | Brian | |
2008-02-26 | gallium: Add missing copyright headers. | José Fonseca | |
2008-02-26 | add an explicit callback decleration and use it to silence warnings | Zack Rusin | |
2008-02-26 | implement deleting of driver side cached state in cso's | Zack Rusin | |
2008-02-25 | gallium: clamp line width when creating raster state object | Brian | |
2008-02-21 | gallium: fill in some blend/rasterizer template fields to make sure they're ↵ | Brian | |
all valid, even if not relevant | |||
2008-02-20 | gallium: replace some ordinary assignments with pipe_reference_texture() | Brian | |
This fixes at least one instance of dereferencing an invalid texture pointer. | |||
2008-02-20 | gallium: new pipe->texture_update() function | Brian | |
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc). | |||
2008-02-20 | gallium: mark texture object data dirty in do_copy_texsubimage() | Brian | |
2008-02-20 | gallium: re-enable GenerateMipmap calls | Brian | |
2008-02-20 | gallium: state tracker didn't always notify drivers of texobj data changes | Brian | |
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. | |||
2008-02-19 | Use gallium's rtasm module. | José Fonseca | |
2008-02-15 | Code reorganization: update build. | José Fonseca | |
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-14 | gallium: Cleanups related to clears. | Keith Whitwell | |
2008-02-13 | gallium: pipe->surface_copy can flip the contents vertically when necessary. | Michel Dänzer | |
Fixes gears being upside down on the box in demos/gearbox. | |||
2008-02-12 | gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT). | Brian | |
This fixes demos/reflect ('d' key) and tests/zreaddraw.c | |||
2008-02-12 | gallium: clamp min_lod so it's never negative | Brian | |
2008-02-12 | gallium: remove dead code | Brian | |
2008-02-12 | gallium: added null ptr check | Brian | |
2008-02-12 | gallium: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | |
2008-02-12 | gallium: move gen-mipmap global/static vars into st_context | Brian | |
This fixes potential problems with multi-context programs. | |||
2008-02-12 | gallium: remove unused first_level param from st_texture_create() | Brian | |
2008-02-12 | gallium: clean-up, simplification of mipmapped textures | Brian | |
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. | |||
2008-02-11 | gallium: take pitch/stride into account in mipmap generation | Brian | |
2008-02-11 | gallium: comments about mipmap gen | Brian | |
2008-02-11 | gallium: implement software fallback for mipmap generation | Brian | |
This is used when we can't render to the surface type of the texture (such as luminance/alpha). | |||
2008-02-11 | gallium: strip borders from textures passed to st_TexImage. | Brian | |
Manipulate the unpack params to skip the border. Gallium drivers won't support texture borders. | |||
2008-02-11 | gallium: use _mesa_tex_target_to_face() | Brian | |
2008-02-08 | gallium: include st_cb_drawpixels.h | Brian | |
2008-02-08 | gallium: initial implemenation of auto mipmap generation in state tracker | Brian | |
Use hardware rendering to compute/render mipmap levels. The fallback path (which will be used for non-renderable texture formats) isn't working yet. |