summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
Commit message (Collapse)AuthorAgeFilesLines
* i965: Add missing intel_pixel_draw.c symlink to fix build.Eric Anholt2008-10-101-0/+1
|
* i965: Accelerate depth textures with border color.Eric Anholt2008-10-092-6/+20
| | | | | The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
* i965: Actually hook up the accelerated DrawPixels support.Eric Anholt2008-10-091-1/+2
|
* i965: Add ARB_occlusion_query support.Eric Anholt2008-10-077-3/+310
|
* i965: Fix a potential assertion failure.Xiang, Haihao2008-10-081-2/+4
|
* i965: sampler default color ends up in texture cache, not instructions.Eric Anholt2008-10-011-1/+1
| | | | See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes.
* i965: Fix overwriting of depth override for SetTexOffset.Eric Anholt2008-10-011-1/+0
| | | | Fixes black borders around windows in compiz. Bug #17233.
* Remove TNL-to-VP tracking from i965Ian Romanick2008-09-287-1665/+2
| | | | | | | | The i965 driver previously had it's own set of code to convert fixed-function TNL state to a vertex program. Core Mesa has code to do this, so there is no reason to duplicate that effort in the driver. In fact, this duplication leads to bugs when other aspects of the Mesa infrastructure change.
* intel: Fix a number of memory leaks on context destroy.Eric Anholt2008-09-263-2/+47
|
* i965: support for sin() and cos() in vertex shaders.Sam Hocevar2008-09-251-0/+6
|
* i965: more meaningful message for unsupported opcodes.Sam Hocevar2008-09-252-3/+8
|
* i965: Cope with batch getting flushed in the middle of batchbuffer emits.Eric Anholt2008-09-235-12/+14
| | | | | | | | | This isn't required for GEM (at least, yet), but the check_aperture code for non-GEM results in batch getting flushed during emit. brw_state_upload restarts state emits, but a bunch of the state emit functions were assuming that they would be called exactly once, after prepare and before new_batch. Bug #17179.
* i965: Adapt to new TNL program tracking semanticsIan Romanick2008-09-221-1/+2
| | | | This fixes bugzilla #17718.
* i965: fix compilationBenjamin Close2008-09-221-2/+3
| | | | Found By: Tinderbox
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-1842-114/+117
| | | | Makefile.template
* intel: track move of bo_exec from drivers to bufmgr.Eric Anholt2008-09-105-5/+0
|
* intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.Eric Anholt2008-09-1011-73/+72
|
* intel: Fix depth_stencil texture.Xiang, Haihao2008-09-041-1/+1
|
* intel: Fix refcounting on depth buffer initialization in DRI2.Eric Anholt2008-09-031-15/+3
| | | | (Reverts a change to work around the problem on 965).
* DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg2008-08-291-3/+15
|
* 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-2430-514/+317
| | | | This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
* Revert "Merge branch 'drm-gem'"Dave Airlie2008-08-2430-317/+514
| | | | | | | | 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.
* 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-201-6/+3
| | | | (bug #16852, #16853)
* Merge branch 'drm-gem'Eric Anholt2008-08-0830-551/+329
|\ | | | | | | | | | | | | | | | | 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-0825-266/+193
| | | | | | | | | | | | 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
| |
| * Merge branch 'master' into drm-gemIan Romanick2008-07-2511-33/+38
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
| * | Remove redundant initalization of MaxTextureUnitsIan Romanick2008-07-161-1/+0
| | |
| * | drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.Eric Anholt2008-07-112-11/+28
| | |
| * | intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing.Eric Anholt2008-06-261-63/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these were to ensure that caches got synchronized between 2d (or meta) rendering and later use of the target as a source, such as for texture miptree setup. Those are replaced with intel_batchbuffer_emit_mi_flush(), which just drops an MI_FLUSH. Most of the remainder were to ensure that REFERENCES_CLIPRECTS batchbuffers got flushed before the lock was dropped. Those are now replaced by automatically flushing those when dropping the lock.
| * | Merge commit 'origin/master' into drm-gemEric Anholt2008-06-247-419/+68
| |\ \
| * \ \ Merge commit 'origin/master' into drm-gemEric Anholt2008-06-182-3/+8
| |\ \ \
| * | | | [intel-gem] Chase domain flag renaming in the DRM.Eric Anholt2008-06-1111-26/+26
| | | | | | | | | | | | | | | | | | | | This is an API breakage only.
| * | | | Merge commit 'origin/master' into drm-gemKeith Packard2008-06-032-15/+16
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h src/mesa/drivers/dri/intel/intel_ioctl.c
| * | | | | [intel] Convert drivers to using libdrm bufmgr code.Eric Anholt2008-06-0315-89/+74
| | | | | |
| * | | | | Emit a flush after the swapbuffers blit, so contents end up on the screen.Eric Anholt2008-05-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, since the MI_FLUSH at the end of every batch had been removed, non-automatic-flushing chips (965) wouldn't get flushed and apps with static rendering would get partial screen contents until the server's blockhandler flush kicked in.
| * | | | | GEM: Remove already-disabled PIPE_CONTROL command.Eric Anholt2008-05-072-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This existed to get the icache flushed. However, GEM handles this for us now for sure, and we had disabled it prematurely anyway.
| * | | | | GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.Eric Anholt2008-05-0713-29/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | Add intel_bufmgr_gem for new graphics execution manager.Eric Anholt2008-05-022-1/+2
| | | | | |
* | | | | | i965: update TexSrcUnit for OPCODE_TXBXiang, Haihao2008-08-061-0/+5
| | | | | |
* | | | | | i965: Use program->SamplerUnits[] to get the appropriate texture unit.Xiang, Haihao2008-08-052-10/+15
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | inst->TexSrcUnit is used as an index into program->SamplerUnits[] since the commit ade508312c701ce89d3c2cd717994dbbabb4f207, and program->SamplerUnits is a sampler-to-texture-unit mapping.