summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix some additional program refcounting bugsBrian Paul2008-05-143-9/+6
| | | | cherry-picked from master
* Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer2008-05-091-1/+1
|\
| * draw: Fix number of vertices allocated in draw_pt_emit().Michel Dänzer2008-05-091-1/+1
| |
* | gallium: depth textures have usage depth_stencil instead of render_targetRoland Scheidegger2008-05-093-11/+17
| |
* | draw: fix translate double-free, minor cleanupsKeith Whitwell2008-05-093-5/+4
| |
* | Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-095-17/+44
|\|
| * draw: mimize cost of translate key compares, use cache universallyKeith Whitwell2008-05-094-17/+23
| |
| * translate: helper functions for mimizing cost of key comparesKeith Whitwell2008-05-091-0/+21
| |
* | gallium: Define util_vsprintf.José Fonseca2008-05-091-0/+7
| |
* | Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-096-12/+26
|\|
| * draw: only fill in / compare the part of the translate key we're using.Keith Whitwell2008-05-083-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 supportKeith Whitwell2008-05-082-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 setKeith Whitwell2008-05-081-2/+3
| |
* | gallium: Disable debug_get_option for release builds on Windows.José Fonseca2008-05-091-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é Fonseca2008-05-091-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 Paul2008-05-081-0/+2
| |
* | gallium: fix out of tex memory crashesBrian Paul2008-05-082-3/+13
| |
* | gallium: handle null ptrsBrian Paul2008-05-081-41/+40
| |
* | gallium: re-enable call to init_renderbuffer_bits(), remove dead codeBrian Paul2008-05-081-14/+1
| |
* | gallium: fix render to depth textureBrian Paul2008-05-081-0/+5
| |
* | gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL)Brian Paul2008-05-081-4/+5
| |
* | gallium: remove dead codeBrian Paul2008-05-081-9/+0
| |
* | gallium: no-op st_Bitmap() if width or height is zeroBrian Paul2008-05-081-0/+3
| |
* | gallium: clean-up, minor fixBrian Paul2008-05-081-7/+3
| |
* | gallium: plug in dummy stage->destroy funcBrian Paul2008-05-081-0/+7
| |
* | Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer2008-05-081-1/+1
|\|
| * cso_cache: Fix test for currently bound blend state.Michel Dänzer2008-05-081-1/+1
| |
* | pipebuffer: Temporarily reimplement validation as growable array.José Fonseca2008-05-091-65/+48
| | | | | | | | Jose
* | gallium: Make sure functions have proper prototypes and remove unused variable.Michel Dänzer2008-05-082-2/+2
| |
* | pipebuffer: Preliminary buffer validation.José Fonseca2008-05-084-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é Fonseca2008-05-082-9/+72
| | | | | | | | Hook up to the new cso_hash_erase function.
* | pipebuffer: Don't include standard headers directly.José Fonseca2008-05-081-2/+2
| |
* | mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program()Brian Paul2008-05-071-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 bugsBrian Paul2008-05-0711-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...
* | Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-071-24/+19
|\|
| * mesa: free shader program data before deleting shader objects.Brian2008-05-061-0/+16
| | | | | | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits.
| * gallium: implement full reference counting for vertex/fragment programsBrian2008-05-0611-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, whitespaceBrian2008-05-061-24/+19
| |
| * gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵Brian Paul2008-05-061-1/+1
| | | | | | | | branch
* | mesa: free shader program data before deleting shader objects.Brian Paul2008-05-071-0/+16
| | | | | | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits.
* | gallium: implement full reference counting for vertex/fragment programsBrian Paul2008-05-0711-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é Fonseca2008-05-071-0/+26
| |
* | gallium: Fix release build.José Fonseca2008-05-071-2/+4
| | | | | | | | pf_sprint_name might be used there too.
* | gallium: Fix compilation errors.Michal Krol2008-05-071-7/+6
| |
* | gallium: Implement pf_sprint_name as a simple static table.José Fonseca2008-05-071-83/+97
| |
* | gallium: Use the u_string.h functions.José Fonseca2008-05-071-16/+12
| |
* | Revert "gallium: move setup of dest_surface in do_copy_texsubimage()"Michel Dänzer2008-05-071-10/+11
| | | | | | | | | | | | | | This reverts commit f7dbd18371f9cb6686b6a97642b3ca5577e83472. Looks like an accidental revert of commit 650c57f19398800dfdcf357b6e9ec7b68bfa34f1.
* | gallium: Output the total of leaked memory.José Fonseca2008-05-071-1/+8
| |
* | gallium: Propagate tex_usage flags down to winsys.José Fonseca2008-05-076-6/+12
| |
* | gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.José Fonseca2008-05-071-2/+3
| |