summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-05-14mesa: added _mesa_free_instructions()Brian Paul
cherry-picked from gallium-0.1
2008-05-14fix some additional program refcounting bugsBrian Paul
2008-05-14_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the sourceXiang, Haihao
and target pointers after do the first 2 pixels. fix bug #15850
2008-05-13R300: clean up GA registersAlex Deucher
2008-05-13R3xx: clean up ZB registersAlex Deucher
2008-05-13R300: clean up CB registersAlex Deucher
2008-05-13[GEM] Actually include the presumed offset in initial relocations.Eric Anholt
This avoids kernel relocations for most batchbuffer relocs.
2008-05-13R300: clean up Fog registersAlex Deucher
2008-05-13R500: fixup r300EmitClearState() FP for r5xxAlex Deucher
2008-05-13R300: cleanup FS code and fill in missing detailsAlex Deucher
2008-05-13R3xx: more PVS cleanupAlex Deucher
2008-05-12Merge branch 'r500-support' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r500-support
2008-05-12R500: add support for 4k texturesAlex Deucher
2008-05-11[intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks.Keith Packard
Track DRM GEM name changes. Add driver hooks for bo_subdata and bo_get_subdata so that GEM can use pread and pwrite.
2008-05-09Default DRI driver directory to match X.Org xserverDan Nicholson
Since the only valid consumer of the DRI drivers is the X.Org xserver, this changes the default DRI driver directory to match xorg-server: ${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for nearly all current systems.
2008-05-09intel: use new mipmap generation hooks in driver.Dave Airlie
2008-05-09swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie
2008-05-09Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵Dave Airlie
function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
2008-05-09Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian
(cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
2008-05-09Added ctx->Driver.GenerateMipmap() driver hookDave Airlie
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
2008-05-09mesa/intel: map/unmap texture objects around mipmap generation function.Dave Airlie
This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow.
2008-05-08Add RS690M PCI ID.Kristian Høgsberg
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-08mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao
2008-05-07fix refcounting bugs in tnl/tex program cachesBrian Paul
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-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-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-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-07r500: cleanup r500 RS setupDave Airlie
2008-05-07r500: for rectangular textures set to unscaled coordinates.Dave Airlie
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-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-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-06r5xx: FP: Add OPCODE_TXB.Corbin Simpson
Tex lookup with biased LOD. Should magically work.
2008-05-06r5xx: FP: Make MOV/ABS look pretty.Corbin Simpson
We can't really do anything like emit_alu, so we're doing emit_mov instead.
2008-05-06Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaDan Nicholson
2008-05-06Prevent makedepend from running multiple timesDan Nicholson
The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
2008-05-06Always cleanup the makedepend backup filesDan Nicholson
Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
2008-05-06Add support for ATI_separate_stencil in display lists.Michal Wajdeczko
2008-05-06r5xx: Emit an OUT instruction at the end of execution.Corbin Simpson
This should make TEX/TXP work right. (Note: "Should" is not "does.")
2008-05-06r5xx: We update max_temp_idx now, so no need to hard-code it.Corbin Simpson
This roughly doubles the speed of glxgears (GINAB) by allowing more pixels to run concurrently.
2008-05-06Error consistently when running recursive makeDan Nicholson
When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.