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-08disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul
depth buffer
2008-05-08call glutDestroyWindow()Brian Paul
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-07fix refcounting bugs in tnl/tex program cachesBrian Paul
2008-05-07updated options/helpBrian 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-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-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-06Update make output for autoconf helpDan Nicholson
2008-05-06GEM: Fix previous commit to avoid asserting when we run into reserved space.Eric Anholt
These are the dwords that the reserved space is for.
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-06GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.Eric Anholt
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.
2008-05-06r5xx: Fix typo.Corbin Simpson
Gotta be more careful with my cut'n'paste, lawl.
2008-05-06r5xx: Use max_temp_idx.Corbin Simpson
2008-05-06Add .PHONY targets to top Makefile for non-file targetsDan Nicholson
When a make target doesn't result in a file of the same name, adding it to a .PHONY target means make won't look for such a file, speeding the build up a bit. This allows `make doxygen' to work since otherwise make will consider the doxygen directory as up to date.
2008-05-06autoconf: Replace the configs/current symlink from config.statusDan Nicholson
Minor tweak so that running config.status will entirely recreate the configure settings by replacing the configs/current symlink.
2008-05-06[intel-GEM] Add tiling support to swrast.Keith Packard
Accessing tiled surfaces without using the fence registers requires that software deal with the address swizzling itself.
2008-05-06i965: fix googleearth in classic mode.Dave Airlie
In classic mode googleearth triggered a case where vbos weren't getting accounted properly.
2008-05-05Dump buffer tiled status from intelPrintSAREAKeith Packard
2008-05-05autoconf: Sanitize asm build for cross-compiling and --enable-*-bitDan Nicholson
Two fixes to the asm configuration: - Disable when the user is cross-compiling for x86 or x86_64 since it requires running an executable compiled for the target host. - If the user has specified --enable-32-bit on x86_64 or --enable-64-bit on x86, respect that and choose the correct asm architecture.
2008-05-06r300: fragment.position input needs no blanking out, it's correctly handled ↵Markus Amsler
in insert_wpos. fixes bug 15447
2008-05-05autoconf: Error for incompatible version of libdrmDan Nicholson
The DRI modules can only be built against libdrm master (currently version 2.3.1), so this should be enforced to save people from trying to build against older versions. Added a section at the top of the script to consolidate all required versions.
2008-05-05GEM: Allocate the right number of relocs, avoiding heap smashing.Eric Anholt
2008-05-05GEM: Include target buffer handle in relocation debug.Eric Anholt
2008-05-05autoconf: More quoting, just to be safeDan Nicholson
2008-05-05Ignore xdemos/sharedtexDan Nicholson