summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-08[intel-gem] move domains to relocations. add set_domain to bo_map.Keith Packard
Fix the kernel API to place the read/write domain information in the relocation instead of the buffer.
2008-05-08[intel] intel_batchbuffer_flush using uninit 'used' to check for buffer emptyKeith Packard
Make sure 'used' tracks the right value through the whole function. Also, use GLint for intel_batchbuffer_space in case we do bad things in the future.
2008-05-08disable debug printfsBrian Paul
2008-05-09pipebuffer: Temporarily reimplement validation as growable array.José Fonseca
Jose
2008-05-08disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul
depth buffer
2008-05-08call glutDestroyWindow()Brian Paul
2008-05-08disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul
depth buffer
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-08mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao
2008-05-07Merge commit 'anholt/drm-gem' into drm-gemKeith Packard
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-07fix refcounting bugs in tnl/tex program cachesBrian Paul
2008-05-07updated options/helpBrian Paul
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-07GEM: Remove already-disabled PIPE_CONTROL command.Eric Anholt
This existed to get the icache flushed. However, GEM handles this for us now for sure, and we had disabled it prematurely anyway.
2008-05-07GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.Eric Anholt
The GEM flags are much more descriptive for what we need. Since this makes bufmgr_fake rather device-specific, move it to the intel common directory. We've wanted to do device-specific stuff to it before.
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-05-07mesa: document a/s keysBrian Paul
2008-05-07mesa: add texturing to thread testBrian Paul
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.
2008-05-07Run `make clean' in drivers/xorg, tooDan Nicholson
2008-05-07GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.Eric Anholt
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-07Refactor installation targetsDan Nicholson
Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
2008-05-07mesa: update/add newer GL ES headersBrian Paul
2008-05-07Ensure recursive makes always propagate errorsDan Nicholson
There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
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-07r500: cleanup r500 RS setupDave Airlie
2008-05-07r500: for rectangular textures set to unscaled coordinates.Dave Airlie
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-07r5xx: Fix FP inputs. (For good?)Corbin Simpson
FP inputs are now counted and mapped correctly, and temps are allocated tightly and correctly.
2008-05-06r5xx: Fix false error with DP3/DP4.Corbin Simpson
DP3/DP4 only takes two arguments, but tried to load three, causing a false fallback to the dumb shader.
2008-05-06r5xx: Index inputs and temps.Corbin Simpson
This is not the same as r3xx indexing. It only tries to protect inputs on the pixel stack from getting clobbered by temps or texs. Texs don't need special treatment since they read from special input regs and write to the same temp regs as ALU/FC instructions.
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-06implement 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.
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-06Merge commit 'anholt/drm-gem' into drm-gemKeith Packard
2008-05-06[intel-GEM] partial support for memory domains.Keith Packard
Doesn't deal with local modifications yet (need new kernel set_domain ioctl for that to work). Also, guesses what domains are affected based on the read/write bits set in the flags. Works for 915, probably not so much for 965.
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