summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-18344-1299/+1296
| | | | Makefile.template
* intel: Destroy bufmgr in screen destroy, not context.Eric Anholt2008-09-162-2/+1
| | | | | | | Caused server crashes on second context creation since 7e0bbdcf033981282978554c2e68ce48b55aa291. Bug #17600.
* tdfx: fix crash and lack of visuals bugJakub Bogusz2008-09-131-52/+25
|
* i915: fix himask constant init for 64-bit buildGuillaume Melquiond2008-09-131-1/+1
|
* intel: Add a width field to regions, and use it for making miptrees in TFP.Eric Anholt2008-09-126-15/+25
| | | | | Otherwise, we would use the pitch as width of the texture, and compiz would render the pitch padding on the right hand side.
* intel: Don't segfault on TFP from a bad drawable.Eric Anholt2008-09-122-0/+9
|
* intel: Remove dead allow_batchbuffer param.Eric Anholt2008-09-122-6/+0
|
* i965: Add support for G41 chipset which is another 4 series.Xiang, Haihao2008-09-122-1/+6
|
* intel: track move of bo_exec from drivers to bufmgr.Eric Anholt2008-09-1026-218/+10
|
* intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.Eric Anholt2008-09-1026-196/+96
|
* intel: Move the bufmgr back to the screen.Eric Anholt2008-09-106-114/+132
| | | | | | | Mesa requires that we be able to share objects between contexts, which means that the objects need to be created by the same bufmgr, and the bufmgr internally requires pthread protection for thread safety. Rely on the bufmgr having appropriate locking.
* intel: only enable occlusion query if the drm has defines.Dave Airlie2008-09-051-0/+8
| | | | | This interface has to be re-written to not be dumb and to work for multiple apps.
* intel: Fix depth_stencil texture.Xiang, Haihao2008-09-043-3/+3
|
* intel: Fix prototype warning.Eric Anholt2008-09-031-0/+2
|
* intel: Fix refcounting on depth buffer initialization in DRI2.Eric Anholt2008-09-032-16/+4
| | | | (Reverts a change to work around the problem on 965).
* intel: Fix a crash if dri2 is disabled.Xiang, Haihao2008-09-031-8/+8
|
* Fix build by removing #include of removed dri_sarea.h.Michel Dänzer2008-09-011-1/+0
| | | | Thanks to JohnFlux on IRC for pointing out the problem.
* DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg2008-08-2911-378/+212
|
* i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882.Xiang, Haihao2008-08-291-0/+5
| | | | | | A thread switch is implicitly invoked after the issuance of an IF/ELSE/ENDIF instruction if necessary. Unfortunately it seems sometimes a forced thread switch is needed.
* i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882Xiang, Haihao2008-08-291-4/+4
|
* i965: Push/pop instruction state. partial fix for #16882Xiang, Haihao2008-08-291-2/+2
|
* Revert "Revert "Merge branch 'drm-gem'""Dave Airlie2008-08-2476-4275/+1736
| | | | This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
* Revert "Merge branch 'drm-gem'"Dave Airlie2008-08-2476-1736/+4275
| | | | | | | | This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
* 965: Fix incorrect backface cullingKrzysztof Czurylo2008-08-214-15/+29
| | | | | Fix incorrect backface culling for OGL tunnel in wireframe and point mode.
* 965: Fix color clamping issuesKrzysztof Czurylo2008-08-211-0/+21
| | | | Patch is correctly applied this time.
* Formatting changes to ease application of patchesIan Romanick2008-08-211-4/+5
|
* i965: use dri_bo_subdata in vertex upload to get pwrite used.Eric Anholt2008-08-211-26/+25
| | | | | | | | Otherwise, we would ping-pong objects to GTT and back as we did pwrite on indices (flushed and mapped to GTT) and mapped for vertices (moved back to CPU domain). Fixes bug #17180.
* Report damage before modifying the area, not after.Peter Hutterer2008-08-211-2/+2
| | | | | | | | | If we copy the area before reporting the damage in this area, the server may restore buffered data over the new data, leading to artefacts on the screen. Reproducable with two cursors (second of which is SW rendered) and moving windows around in compiz. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16384 .
* intel: Fix SGIS_generate_mipmap after a miptree had been validated.Eric Anholt2008-08-203-35/+62
| | | | | | | | | Previously, the updated images would be ignored because the miptree in the image matched the miptree in the object, even though Mesa core had just attached updated contents in ->Data. Additionally, Mesa core could have tried to free inside our miptree if it had already been validated. Fixes bug #17077.
* i965: fixup format for TFP zero copyDave Airlie2008-08-201-2/+12
| | | | | (cherry picked from commit 9bc9e0ecb0fb2069b2c123e665eb2118e358098f which was lost in a merge)
* i965: make tex offset override work..Dave Airlie2008-08-201-15/+30
| | | | | | | should fix fd.o 14441 (cherry-picked from commit d4244683a61f66cfb78408a37cf2587587847f96 which was lost in a merge)
* i965: Enable GL_ARB_fragment_program_shadow and fix key->shadowtex_mask. ↵Xiang, Haihao2008-08-202-6/+4
| | | | (bug #16852, #16853)
* r5xx: Final fog option fix.Corbin Simpson2008-08-191-2/+4
| | | | | Is there some kind of git hook we could use to keep me from committing after like 10PM or so?
* r5xx: Don't squish GL context when using FogOptionCorbin Simpson2008-08-191-5/+3
|
* r5xx: Enable fog options.Corbin Simpson2008-08-181-0/+8
| | | | | This uses fog HW instead of fragment programs. If it breaks you, let me know!
* fix byte vs. pixel offset bug for 3D textures (see bug 17170)Henri Verbeet2008-08-181-3/+3
|
* r5xx: Add DDX and DDY instructions.Corbin Simpson2008-08-176-4/+59
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* intel: remove unneeded mem type and argsDave Airlie2008-08-141-10/+5
|
* r300: Fix 3D texture support.Michel Dänzer2008-08-142-3/+8
|
* dri: fix crash in driGetConfigAttribIndexDave Miller2008-08-091-0/+4
| | | | Accessing a GLboolean via an int pointer on big-endian == bad.
* Merge branch 'drm-gem'Eric Anholt2008-08-0876-4312/+1748
|\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_span.c src/mesa/main/fbobject.c This converts the i915 driver to use the GEM interfaces for object management.
| * intel-gem: Update to new check_aperture API for classic mode.Eric Anholt2008-08-0831-305/+245
| | | | | | | | | | | | To do this, I had to clean up some of 965 state upload stuff. We may end up over-emitting state in the aperture overflow case, but that should be rare, and I'd rather have the simplification of state management.
| * 965: cleanups to state emission from aperture checking and state ordering.Eric Anholt2008-08-084-46/+3
| |
| * intel-gem: Always build GEM execbuffer code.Eric Anholt2008-07-311-11/+0
| |
| * intel-gem: Use new getparam to detect kernel GEM support.Eric Anholt2008-07-301-1/+8
| |
| * intel: Don't return a renderbuffer with alpha when just GL_RGB is requested.Eric Anholt2008-07-262-0/+72
| | | | | | | | | | Fixes oglconform rbGetterFuncs testcase. The span code for this mode hasn't actually been tested.
| * Merge branch 'master' into drm-gemIan Romanick2008-07-25119-25937/+3274
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
| * | intel: If a tex image doesn't fit in the object's tree, make a temporary tree.Eric Anholt2008-07-251-3/+18
| | | | | | | | | | | | | | | | | | | | | 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.
| * | intel: Add a little span cache to spead up readpixels by cutting syscalls.Eric Anholt2008-07-233-12/+42
| | |
| * | intel-gem: Use pread/pwrite for span access.Eric Anholt2008-07-234-197/+141
| | | | | | | | | | | | | | | This will avoid clflushing entire buffers for small acesses, such as those commonly used by regression tests.