Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pipebuffer: Preliminary buffer validation. | José Fonseca | 2008-05-08 | 4 | -0/+263 |
| | | | | | | | Use table to store a list of buffers to validate. Unfortunately cso_hash shrinks/regrows the hash every time, so still has to be addressed. Multi-thread validation is still WIP. | ||||
* | gallium: Really free hash entries. | José Fonseca | 2008-05-08 | 2 | -9/+72 |
| | | | | Hook up to the new cso_hash_erase function. | ||||
* | pipebuffer: Don't include standard headers directly. | José Fonseca | 2008-05-08 | 1 | -2/+2 |
| | |||||
* | mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program() | Brian Paul | 2008-05-07 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | gallium: fix some render to texture bugs | Brian Paul | 2008-05-07 | 11 | -40/+189 |
| | | | | | | | | | | | | | | | 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... | ||||
* | mesa: document a/s keys | Brian Paul | 2008-05-07 | 1 | -0/+2 |
| | |||||
* | mesa: add texturing to thread test | Brian Paul | 2008-05-07 | 1 | -67/+237 |
| | | | | | | | Run with -t to enable texture mapping. Press 't' to update the texture image. When the texture is changed in one thread it should also get updated in the other threads since textures are shared by all contexts. | ||||
* | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-07 | 5 | -179/+1111 |
|\ | |||||
| * | mesa: update/add newer GL ES headers | Brian Paul | 2008-05-07 | 4 | -155/+1092 |
| | | |||||
| * | mesa: free shader program data before deleting shader objects. | Brian | 2008-05-06 | 1 | -0/+16 |
| | | | | | | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits. | ||||
| * | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 11 | -74/+170 |
| | | | | | | | | | | | | 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... | ||||
| * | mesa: comments, whitespace | Brian | 2008-05-06 | 1 | -24/+19 |
| | | |||||
| * | gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵ | Brian Paul | 2008-05-06 | 1 | -1/+1 |
| | | | | | | | | branch | ||||
* | | mesa: free shader program data before deleting shader objects. | Brian Paul | 2008-05-07 | 1 | -0/+16 |
| | | | | | | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits. | ||||
* | | gallium: implement full reference counting for vertex/fragment programs | Brian Paul | 2008-05-07 | 11 | -74/+170 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | | gallium: Implement util_pack_color for A8, L8, and I8 formats. | José Fonseca | 2008-05-07 | 1 | -0/+26 |
| | | |||||
* | | gallium: Fix release build. | José Fonseca | 2008-05-07 | 1 | -2/+4 |
| | | | | | | | | pf_sprint_name might be used there too. | ||||
* | | gallium: Fix compilation errors. | Michal Krol | 2008-05-07 | 1 | -7/+6 |
| | | |||||
* | | gallium: Implement pf_sprint_name as a simple static table. | José Fonseca | 2008-05-07 | 1 | -83/+97 |
| | | |||||
* | | gallium: Use the u_string.h functions. | José Fonseca | 2008-05-07 | 1 | -16/+12 |
| | | |||||
* | | Revert "gallium: move setup of dest_surface in do_copy_texsubimage()" | Michel Dänzer | 2008-05-07 | 1 | -10/+11 |
| | | | | | | | | | | | | | | This reverts commit f7dbd18371f9cb6686b6a97642b3ca5577e83472. Looks like an accidental revert of commit 650c57f19398800dfdcf357b6e9ec7b68bfa34f1. | ||||
* | | gallium: Output the total of leaked memory. | José Fonseca | 2008-05-07 | 1 | -1/+8 |
| | | |||||
* | | gallium: Propagate tex_usage flags down to winsys. | José Fonseca | 2008-05-07 | 6 | -6/+12 |
| | | |||||
* | | gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces. | José Fonseca | 2008-05-07 | 1 | -2/+3 |
| | | |||||
* | | gallium: re-enable temporarily disabled code in do_copy_texsubimage() | Brian Paul | 2008-05-06 | 1 | -1/+1 |
| | | |||||
* | | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | 2008-05-06 | 6 | -49/+129 |
| | | | | | | | | | | Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | ||||
* | | gallium: create renderbuffer surface w/out CPU_READ/WRITE flags | Michal Danzer | 2008-05-06 | 1 | -2/+0 |
| | | |||||
* | | gallium: move setup of dest_surface in do_copy_texsubimage() | Michal Danzer | 2008-05-06 | 1 | -11/+10 |
| | | |||||
* | | gallium: Simple facility to dump and view images for debugging. | José Fonseca | 2008-05-07 | 3 | -0/+397 |
| | | |||||
* | | gallium: sync up texture/sampler changes with master | Brian Paul | 2008-05-06 | 2 | -12/+14 |
| | | |||||
* | | gallium: Make sure to release texture surfaces (at the right time). | Michel Dänzer | 2008-05-06 | 2 | -1/+4 |
| | | |||||
* | | gallium: glCopyTexSubImage improvement. | Michel Dänzer | 2008-05-06 | 1 | -10/+11 |
| | | | | | | | | | | Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only. | ||||
* | | gallium: Define util_sprintf for non-WIN32. | Michel Dänzer | 2008-05-06 | 1 | -0/+1 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-06 | 17 | -255/+283 |
|\| | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c | ||||
| * | fix _mesa_ffs for alternative compilers | Alan Hourihane | 2008-05-05 | 1 | -19/+17 |
| | | |||||
| * | declare atoms as extern | Alan Hourihane | 2008-05-05 | 1 | -14/+14 |
| | | |||||
| * | gallium: fix warnings | Brian Paul | 2008-05-03 | 2 | -2/+4 |
| | | |||||
| * | Press <space> to reset limit/bias values, clean-up limit/bias printf | Brian Paul | 2008-05-03 | 1 | -7/+25 |
| | | |||||
| * | gallium: fix sampler->max_lod computation | Brian Paul | 2008-05-03 | 1 | -2/+3 |
| | | |||||
| * | gallium: fix computation of sampler->min_lod | Brian Paul | 2008-05-03 | 1 | -1/+1 |
| | | | | | | | | | | The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod... | ||||
| * | gallium: remove 0.5 vertex biases in set_vertex_data() | Brian Paul | 2008-05-02 | 1 | -10/+10 |
| | | | | | | | | | | These should not be needed and were causing garbage to appear along the edges of the mipmap images. | ||||
| * | gallium: remove obsolete PIPE_CAP_BITMAP_TEXCOORD_BIAS | Brian Paul | 2008-05-02 | 1 | -1/+1 |
| | | |||||
| * | gallium: minor code, comments clean-up | Brian Paul | 2008-05-02 | 1 | -26/+16 |
| | | |||||
| * | gallium: in st_finalize_texture() check texture dimensions | Brian Paul | 2008-05-02 | 1 | -1/+4 |
| | | | | | | | | | | | | 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. | ||||
| * | gallium: new debug code (disabled) | Brian Paul | 2008-05-02 | 1 | -0/+14 |
| | | |||||
| * | gallium: fix typos, comments, whitespace | Brian Paul | 2008-05-02 | 1 | -6/+6 |
| | | |||||
| * | gallium: remove ^M (CR) chars | Brian Paul | 2008-05-02 | 1 | -23/+23 |
| | | |||||
| * | gallium: code movement (XSHM code) | Brian Paul | 2008-05-02 | 1 | -127/+125 |
| | | |||||
| * | set TextureID = NULL after deleting the array | Brian Paul | 2008-05-02 | 1 | -0/+1 |
| | | |||||
| * | gallium: comments, clean-ups | Brian Paul | 2008-05-02 | 1 | -1/+9 |
| | |