summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-05-16gallium: fix glBitmap surface memleak in context tear-downBrian Paul
2008-05-14fix some additional program refcounting bugsBrian Paul
cherry-picked from master
2008-05-09Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer
2008-05-09draw: Fix number of vertices allocated in draw_pt_emit().Michel Dänzer
2008-05-09gallium: depth textures have usage depth_stencil instead of render_targetRoland Scheidegger
2008-05-09draw: fix translate double-free, minor cleanupsKeith Whitwell
2008-05-09Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-09draw: mimize cost of translate key compares, use cache universallyKeith Whitwell
2008-05-09translate: helper functions for mimizing cost of key comparesKeith Whitwell
2008-05-09gallium: Define util_vsprintf.José Fonseca
2008-05-09Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-09gallium: Disable debug_get_option for release builds on Windows.José Fonseca
It always creates the C:\gallium.cfg , even if it does not exists, which might be confusing.
2008-05-09gallium: Don't serialize GPU writes.José Fonseca
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.
2008-05-08gallium: don't free shader.tokens in get_passthrough_fs()Brian Paul
2008-05-08gallium: fix out of tex memory crashesBrian Paul
2008-05-08gallium: handle null ptrsBrian Paul
2008-05-08gallium: re-enable call to init_renderbuffer_bits(), remove dead codeBrian Paul
2008-05-08gallium: fix render to depth textureBrian Paul
2008-05-08gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL)Brian Paul
2008-05-08gallium: remove dead codeBrian Paul
2008-05-08gallium: no-op st_Bitmap() if width or height is zeroBrian Paul
2008-05-08gallium: clean-up, minor fixBrian Paul
2008-05-08draw: only fill in / compare the part of the translate key we're using.Keith Whitwell
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.
2008-05-08xlib: more SP_NO_RAST supportKeith Whitwell
For some resaon normal (non-display-buffer) buffers are being allocated through Xshm... Bypass at least for SP_NO_RAST
2008-05-08softpipe: don't calc det if NO_RAST setKeith Whitwell
2008-05-08gallium: plug in dummy stage->destroy funcBrian Paul
2008-05-08Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer
2008-05-08cso_cache: Fix test for currently bound blend state.Michel Dänzer
2008-05-09pipebuffer: Temporarily reimplement validation as growable array.José Fonseca
Jose
2008-05-08gallium: Make sure functions have proper prototypes and remove unused variable.Michel Dänzer
2008-05-08pipebuffer: Preliminary buffer validation.José Fonseca
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.
2008-05-08gallium: Really free hash entries.José Fonseca
Hook up to the new cso_hash_erase function.
2008-05-08pipebuffer: Don't include standard headers directly.José Fonseca
2008-05-07mesa: 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-07gallium: fix some render to texture bugsBrian 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-07Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-07mesa: free shader program data before deleting shader objects.Brian Paul
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-07gallium: implement full reference counting for vertex/fragment programsBrian 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-07gallium: Implement util_pack_color for A8, L8, and I8 formats.José Fonseca
2008-05-07gallium: Fix release build.José Fonseca
pf_sprint_name might be used there too.
2008-05-07gallium: Fix compilation errors.Michal Krol
2008-05-07gallium: Implement pf_sprint_name as a simple static table.José Fonseca
2008-05-07gallium: Use the u_string.h functions.José Fonseca
2008-05-07Revert "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-07gallium: Output the total of leaked memory.José Fonseca
2008-05-07gallium: Propagate tex_usage flags down to winsys.José Fonseca
2008-05-07gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.José Fonseca
2008-05-06mesa: free shader program data before deleting shader objects.Brian
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-06gallium: implement full reference counting for vertex/fragment programsBrian
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-06mesa: comments, whitespaceBrian