Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 3 | -9/+6 |
| | | | | cherry-picked from master | ||||
* | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Michel Dänzer | 2008-05-09 | 1 | -1/+1 |
|\ | |||||
| * | draw: Fix number of vertices allocated in draw_pt_emit(). | Michel Dänzer | 2008-05-09 | 1 | -1/+1 |
| | | |||||
* | | gallium: depth textures have usage depth_stencil instead of render_target | Roland Scheidegger | 2008-05-09 | 3 | -11/+17 |
| | | |||||
* | | draw: fix translate double-free, minor cleanups | Keith Whitwell | 2008-05-09 | 3 | -5/+4 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-09 | 5 | -17/+44 |
|\| | |||||
| * | draw: mimize cost of translate key compares, use cache universally | Keith Whitwell | 2008-05-09 | 4 | -17/+23 |
| | | |||||
| * | translate: helper functions for mimizing cost of key compares | Keith Whitwell | 2008-05-09 | 1 | -0/+21 |
| | | |||||
* | | gallium: Define util_vsprintf. | José Fonseca | 2008-05-09 | 1 | -0/+7 |
| | | |||||
* | | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-09 | 6 | -12/+26 |
|\| | |||||
| * | draw: only fill in / compare the part of the translate key we're using. | Keith Whitwell | 2008-05-08 | 3 | -10/+11 |
| | | | | | | | | | | It's quite a big struct & we examine it a lot (too much). Reduce the impact of this by just looking at the active part where possible. | ||||
| * | xlib: more SP_NO_RAST support | Keith Whitwell | 2008-05-08 | 2 | -0/+12 |
| | | | | | | | | | | For some resaon normal (non-display-buffer) buffers are being allocated through Xshm... Bypass at least for SP_NO_RAST | ||||
| * | softpipe: don't calc det if NO_RAST set | Keith Whitwell | 2008-05-08 | 1 | -2/+3 |
| | | |||||
* | | gallium: Disable debug_get_option for release builds on Windows. | José Fonseca | 2008-05-09 | 1 | -0/+4 |
| | | | | | | | | | | It always creates the C:\gallium.cfg , even if it does not exists, which might be confusing. | ||||
* | | gallium: Don't serialize GPU writes. | José Fonseca | 2008-05-09 | 1 | -50/+50 |
| | | | | | | | | | | | | | | Only make sure the GPU is finished with a buffer before mapping. The opposite -- waiting for the CPU to be finished before handing to the CPU -- must be done before fencing. | ||||
* | | gallium: don't free shader.tokens in get_passthrough_fs() | Brian Paul | 2008-05-08 | 1 | -0/+2 |
| | | |||||
* | | gallium: fix out of tex memory crashes | Brian Paul | 2008-05-08 | 2 | -3/+13 |
| | | |||||
* | | gallium: handle null ptrs | Brian Paul | 2008-05-08 | 1 | -41/+40 |
| | | |||||
* | | gallium: re-enable call to init_renderbuffer_bits(), remove dead code | Brian Paul | 2008-05-08 | 1 | -14/+1 |
| | | |||||
* | | gallium: fix render to depth texture | Brian Paul | 2008-05-08 | 1 | -0/+5 |
| | | |||||
* | | gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL) | Brian Paul | 2008-05-08 | 1 | -4/+5 |
| | | |||||
* | | gallium: remove dead code | Brian Paul | 2008-05-08 | 1 | -9/+0 |
| | | |||||
* | | gallium: no-op st_Bitmap() if width or height is zero | Brian Paul | 2008-05-08 | 1 | -0/+3 |
| | | |||||
* | | gallium: clean-up, minor fix | Brian Paul | 2008-05-08 | 1 | -7/+3 |
| | | |||||
* | | gallium: plug in dummy stage->destroy func | Brian Paul | 2008-05-08 | 1 | -0/+7 |
| | | |||||
* | | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Michel Dänzer | 2008-05-08 | 1 | -1/+1 |
|\| | |||||
| * | cso_cache: Fix test for currently bound blend state. | Michel Dänzer | 2008-05-08 | 1 | -1/+1 |
| | | |||||
* | | pipebuffer: Temporarily reimplement validation as growable array. | José Fonseca | 2008-05-09 | 1 | -65/+48 |
| | | | | | | | | Jose | ||||
* | | disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵ | Brian Paul | 2008-05-08 | 1 | -0/+1 |
| | | | | | | | | depth buffer | ||||
* | | gallium: Make sure functions have proper prototypes and remove unused variable. | Michel Dänzer | 2008-05-08 | 2 | -2/+2 |
| | | |||||
* | | 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 |
| | |