summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2008-07-31intel: sync to vblank by defaultJesse Barnes
Effectively default to vblank_mode=3 on Intel to avoid tearing by default. Users wanting to go "as fast as possible" (despite not being able to see frames faster than their refresh rate allows) can still set the vblank_mode manually.
2008-07-30intel-gem: Use new getparam to detect kernel GEM support.Eric Anholt
2008-07-28r300: Fix off-by-one error in calculation of scissor cliprect.Michel Dänzer
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
2008-07-27r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)Nicolai Haehnle
2008-07-27r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENTNicolai Haehnle
2008-07-27r300: Fix point minmax sizeNicolai Haehnle
There are 6 subpixel units per pixel, not 16.
2008-07-27r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle
2008-07-27r500: Handle non-native swizzles in texture instructionsNicolai Haehnle
This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
2008-07-27r500: Redirect TEX writes to output registersNicolai Haehnle
While R500 fragment program texture instructions appear to support writemasks, they cannot write to the output FIFO immediately, so we need to insert a MOV for these instructions. This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
2008-07-26intel: Don't return a renderbuffer with alpha when just GL_RGB is requested.Eric Anholt
Fixes oglconform rbGetterFuncs testcase. The span code for this mode hasn't actually been tested.
2008-07-26r200: Do not set second coordinate clamping for 1D texturesNicolai Haehnle
Fixes piglit's tex1d-border test.
2008-07-26r300: Always emit LOAD_VBPNTR immediately before index-based renderingNicolai Haehnle
This fixes one type of lockup I've been seeing on my test system.
2008-07-25Merge branch 'master' into drm-gemIan Romanick
Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
2008-07-25intel: If a tex image doesn't fit in the object's tree, make a temporary tree.Eric Anholt
Previously, we would just store the data as malloced memory hanging off the object, which would get memcpyed in at validate time. This broke an oglconform render-to-texture test, since validate wasn't called but a miptree was expected.
2008-07-25i965: fixup format for TFP zero copyDave Airlie
2008-07-25Revert "intel: disable zero-copy TFP."Dave Airlie
This reverts commit 94979950e8991bd44899eb4067c3ae43449ce51e. I've fixed it instead
2008-07-25i965: make tex offset override work..Dave Airlie
should fix fd.o 14441
2008-07-25intel: disable zero-copy TFP.Dave Airlie
patch from Fedora. maybe someone can fix this later but for now lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
2008-07-24intel: remove buffer swap debug outputJesse Barnes
Accidentally pushed as part of the last commit.
2008-07-24Revert "965: Fix color clamping issues"Ian Romanick
This reverts commit b993d539a76e7f1446890a85e4b61deec4d4162d. The patch was applied incorrectly. Actual fix coming soon. Sorry for the noise.
2008-07-23965: Fix partially transparent textures in Doom 3 engine gamesPawel Pieczul
Numbers of destination depth registers corrected (destination stencil register was sent as depth register).
2008-07-23intel: Add a little span cache to spead up readpixels by cutting syscalls.Eric Anholt
2008-07-23intel-gem: Use pread/pwrite for span access.Eric Anholt
This will avoid clflushing entire buffers for small acesses, such as those commonly used by regression tests.
2008-07-23intel: improve 2d batchbuffer debug output.Eric Anholt
2008-07-23intel: Fix CopyTexSubImage's src tiling arg for the blit.Eric Anholt
Didn't hurt 915, but needed for 965.
2008-07-23intel: move renderbuffer mapping to separate functions.Eric Anholt
This lets us avoid duplicated code for doing so, including the depthstencil paths that aren't covered by SpanRenderStart/Finish. Those paths were missing the span funcs setup, leading to a null dereference in the fbotexture demo.
2008-07-22intel: fix buffer swaps and enable page flipping on 965Jesse Barnes
Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are also used for page flipping, so enable the code that sets & updates them on 965. This allows buffer swaps and page flips to work on 965 and prevents hangs in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending field. Fixes FDO #16118.
2008-07-21965: Fix color clamping issuesPawel Pieczul
2008-07-18intel-gem: Bump driver dateIan Romanick
Bump the driver date and insert the string "GEM". When running tests, this make it much easier to know that the right driver is being used.
2008-07-18intel: fix texture border issue. (bug #16697)Xiang, Haihao
2008-07-16intel: Clean-up ARB_texture_env_crossbarIan Romanick
Enable support for ARB_texture_env_crossbar in the master extension list instead of in every single device-specific list.
2008-07-16Remove redundant initalization of MaxTextureUnitsIan Romanick
2008-07-15intel-gem: Disable spantmp sse/mmx functions when tile swizzling.Eric Anholt
Those functions rely on being able to treat the GET_PTR returned value as an array indexed by x, but that's not the case for our tiling. Bug #16387
2008-07-14i915: fix build after previous commit.Eric Anholt
2008-07-14radeon: SetTexOffset supportChris Rankin
This patch is a straightforward duplication of the R200 SetTexOffset code, except that there is no big-endian tx_table[] array.
2008-07-14nouveau: say goodbye to the old DRI driver...Stephane Marchesin
2008-07-12r300_fragprog: Use nqssa+dce and program_pair for emitNicolai Haehnle
Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
2008-07-12Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson
This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
2008-07-12Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
2008-07-12r300: Fix saturate mode handling in radeon_program_aluNicolai Haehnle
2008-07-12r500: Set Saturate correctly in radeon_program_pairNicolai Haehnle
2008-07-12r300: Fix input register allocation in radeon_program_pairNicolai Haehnle
When an input is marked in gl_program.InputsRead but is not actually read in the final program (due to dead-code elimination or whatever), the order of input registers must still match gl_program.InputsRead. This is done even more explicitly now.
2008-07-12r300: Explicitly set absolute value for the argument of RSQNicolai Haehnle
This fixes the last r500 bug related to glean/fragProg1.
2008-07-12r500_fragprog: Major refactoring of final emitNicolai Haehnle
Use an abstracted instruction scheduling and register allocation algorithm that we will be able to share with r300_fragprog. Unlike the original emit code, this code tries to pair instructions that only use the RGB part of the ALU with instructions that only use the alpha part. However, the pairing algorithm still has some shortcomings; for example, it doesn't generate optimal code for the emulation of LIT.
2008-07-12r500: Add "Not quite SSA" and dead code elimination passNicolai Haehnle
In addition, this pass fixes non-native swizzles.
2008-07-12r500_fragprog: Transform trigonometric functions in first passNicolai Haehnle
2008-07-11drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.Eric Anholt
2008-07-11R300: update vap_cntl values for NUM_FPUSAlex Deucher
based on info from hw team
2008-07-11Remove generated pkg-config files on `make clean'Dan Nicholson
2008-07-11intel: fix batch flushing problem with cliprects handling.Dave Airlie
pointed out and debugged by stringfellow on #dri-devel