Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-07 | mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program() | Brian Paul | |
From master: Set shProg->NumShaders = 0 after freeing program's list of shaders. Set _NEW_PROGRAM in _mesa_link_program() to fix a state validation bug. | |||
2008-05-07 | gallium: fix some render to texture bugs | Brian Paul | |
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... | |||
2008-05-07 | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
2008-05-07 | mesa: free shader program data before deleting shader objects. | Brian Paul | |
Picked from master. Fixes mem corruption seen when glean/api2 test exits. | |||
2008-05-07 | gallium: implement full reference counting for vertex/fragment programs | Brian Paul | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... Picked from gallium-0.1 | |||
2008-05-07 | Revert "gallium: move setup of dest_surface in do_copy_texsubimage()" | Michel Dänzer | |
This reverts commit f7dbd18371f9cb6686b6a97642b3ca5577e83472. Looks like an accidental revert of commit 650c57f19398800dfdcf357b6e9ec7b68bfa34f1. | |||
2008-05-06 | mesa: free shader program data before deleting shader objects. | Brian | |
Picked from master. Fixes mem corruption seen when glean/api2 test exits. | |||
2008-05-06 | gallium: implement full reference counting for vertex/fragment programs | Brian | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | |||
2008-05-06 | mesa: comments, whitespace | Brian | |
2008-05-06 | gallium: re-enable temporarily disabled code in do_copy_texsubimage() | Brian Paul | |
2008-05-06 | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | |
Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | |||
2008-05-06 | gallium: create renderbuffer surface w/out CPU_READ/WRITE flags | Michal Danzer | |
2008-05-06 | gallium: move setup of dest_surface in do_copy_texsubimage() | Michal Danzer | |
2008-05-06 | gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵ | Brian Paul | |
branch | |||
2008-05-06 | gallium: sync up texture/sampler changes with master | Brian Paul | |
2008-05-06 | gallium: Make sure to release texture surfaces (at the right time). | Michel Dänzer | |
2008-05-06 | gallium: glCopyTexSubImage improvement. | Michel Dänzer | |
Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only. | |||
2008-05-06 | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c | |||
2008-05-05 | fix _mesa_ffs for alternative compilers | Alan Hourihane | |
2008-05-05 | declare atoms as extern | Alan Hourihane | |
2008-05-03 | gallium: fix some BaseLevel, lastLevel bugs | Brian Paul | |
2008-05-03 | gallium: fix warnings | Brian Paul | |
2008-05-03 | gallium: fix sampler->max_lod computation | Brian Paul | |
2008-05-03 | gallium: fix computation of sampler->min_lod | Brian Paul | |
The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod... | |||
2008-05-02 | gallium: set template.target = PIPE_TEXTURE_2D | Brian Paul | |
2008-05-02 | gallium: identify depth-stencil textures | Keith Whitwell | |
And don't use the display-target path to allocate them. | |||
2008-05-02 | gallium: minor code, comments clean-up | Brian Paul | |
2008-05-02 | gallium: in st_finalize_texture() check texture dimensions | Brian Paul | |
Check dimensions in addition to target, format, etc. Fixes a bug where we failed to detect a change in texture image sizes and wound up using the old texture data. | |||
2008-05-02 | gallium: Add texture usage flags, special-case allocation of display targets | Keith Whitwell | |
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also. | |||
2008-05-02 | gallium: Reallocate pipe_texture in st_TexImage if the texture object was used. | Michel Dänzer | |
Fixes problems with interleaved glTexImage and rendering calls. | |||
2008-05-02 | snprintf -> util_snprintf | Alan Hourihane | |
2008-05-02 | gallium: remove usage of winsys->surface_alloc_storage from state tracker | Keith Whitwell | |
Allocate a texture containing storage instead. Also clean up ACCUM buffer allocation slightly -- drivers will need some changes to texture allocation logic to accomodate the concept of a texture that will only as image storage by the CPU, but it's cleaner than it was. | |||
2008-05-02 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
2008-05-02 | revert mode change back to 644 | Alan Hourihane | |
2008-05-02 | inline -> INLINE | Alan Hourihane | |
2008-05-02 | Some changed for non-C99 compilers | Alan Hourihane | |
2008-05-01 | gallium: use screen->tex_surface_release() | Brian Paul | |
2008-05-01 | gallium: Set sampler->min_lod instead of always reallocating pipe_textures. | Michel Dänzer | |
2008-05-01 | mesa: squash harmless warning | Keith Whitwell | |
2008-05-01 | Fix build problem with MSVC | Alan Hourihane | |
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
2008-04-30 | gallium: remove old files | Brian Paul | |
2008-04-30 | gallium: fix texture border removal bug | Brian Paul | |
2008-04-30 | gallium: use the newer PIPE_FORMAT_x_UNORM format names | Brian Paul | |
2008-04-30 | Add support for GL_REPLACE_EXT texture env mode. | Brian Paul | |
GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately. | |||
2008-04-30 | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | |
This allows us to remove most of the direct references to winsys in the state tracker. | |||
2008-04-30 | gallium: consolidate the bitmap->texel conversion code | Brian Paul | |
2008-04-30 | gallium: create a new texture each time we init/flush the bitmap cache | Brian Paul | |
2008-04-30 | gallium: simplify texture format selection | Brian Paul | |
2008-04-29 | gallium: flush pipe before updating bitmap texture | Brian Paul | |
Fixes duplicated text bug in progs/tests/texwrap.c |