aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale symlinks to intel/intel_depthstencil.cIan Romanick2009-01-301-1/+0
|
* intel: Fix up some extension string issuesIan Romanick2009-01-281-13/+0
| | | | | Move the remaining extension string enables to intel_extensions.c. Make sure that GL_NV_texture_env_combine4 is not enabled on i830.
* Make GL_ARB_draw_buffers mandatoryIan Romanick2009-01-282-0/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* i915: rename some functionsBrian Paul2009-01-261-4/+4
|
* intel: replace i915/intel_state.c and i965/intel_state.c with shared fileBrian Paul2009-01-261-233/+1
|
* intel: whitespace changesBrian Paul2009-01-261-13/+13
|
* intel: move some driver functions aroundBrian Paul2009-01-262-64/+70
| | | | A step toward consolidating i915/intel_state.c and i965/intel_state.c
* intel: move intelInitExtensions() and related code into new intel_extensions.cBrian Paul2009-01-262-1/+3
|
* intel: move glClear-related code into new intel_clear.c fileBrian Paul2009-01-262-0/+2
|
* intel: Move swap-related functions from intel_buffers.c to new ↵Brian Paul2009-01-262-0/+2
| | | | intel_swapbuffers.c
* intel: remove/disable the "paired depth/stencil" codeBrian Paul2009-01-221-2/+1
| | | | | | We only allow combined depth+stencil renderbuffers so the complicated code for splitting and combining separate depth and stencil buffers is no longer needed.
* i915: Add decode for PS in batchbuffers.Eric Anholt2009-01-211-0/+4
|
* [intel] Remove remaining references to intel_wait_flips().Kristian Høgsberg2009-01-211-5/+1
| | | | Oops.
* mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt2009-01-072-2/+1
| | | | | | | | There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <[email protected]>
* intel: disable ATI_texture_env_combine3 for i830( and related device).Xiang, Haihao2008-12-301-0/+1
| | | | Thanks to Eric for pointing it out.
* i915: separate the fog term from the specular color term.Xiang, Haihao2008-12-241-19/+3
| | | | | | | | Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945.
* i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
|
* i915: fix abort issue. (bug #19147)Xiang, Haihao2008-12-182-4/+24
|
* i915: fallback for cube map texture.Xiang, Haihao2008-12-111-0/+7
| | | | | | | The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to software rendering for other modes to avoid potential gpu hang issue. This fixes scorched3d issue on 945GM(see bug 14539).
* intel: restore old vertex submit paths for i8xx hardware.Dave Airlie2008-12-022-4/+119
| | | | | | | Intel docs state that only 830/845 have VBOs, 855/865 don't. So lets just not use them on i8xx at all. This restores the old pre-vbo code and uses it on all 8xx hw.
* i915: Don't overwrite i915's Viewport function from generic code.Eric Anholt2008-11-211-0/+2
| | | | Instead, have i965 and i915 both call the generic function from their Viewport.
* intel: fix i830 comment + backwards VB offsets.airlied2008-11-201-1/+1
| | | | According to Keith the docs have these offsets the other way around
* intel: Don't keep intel->pClipRects, and instead just calculate it when needed.Eric Anholt2008-10-284-2/+73
| | | | | | | This avoids issues with dereferencing stale cliprects around intel_draw_buffer time. Additionally, take advantage of cliprects staying constant for FBOs and DRI2, and emit cliprects in the batchbuffer instead of having to flush batch each time they change.
* i915: fix carsh in i830_emit_state. (bug #17766)Xiang, Haihao2008-10-211-1/+2
|
* i915: Texture instructions use r/t/oC/oD register as texture coordinate.Xiang, Haihao2008-10-131-0/+13
| | | | Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
* i915: Accelerate depth textures with border color.Eric Anholt2008-10-081-4/+15
| | | | | The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
* i915: Refine the texture indirect lookup accounting.Eric Anholt2008-10-042-3/+25
| | | | | | | | | | | | | Without this, we would reject programs which sampled multiple times from registers defined in the same phase (block of instructions with the same texture indirection count), as each sample would count as a new phase beginning. Instead, keep track of which phases registers were written in, and only bump phase when we're reading from one generated in this phase. On the other hand, we failed to count oC or oD texture samples as being new phases. Bug #17865.
* Unify ARB_depth_texture and SGIX_depth_textureIan Romanick2008-10-011-2/+0
| | | | | | | The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
* intel: Fix a number of memory leaks on context destroy.Eric Anholt2008-09-262-0/+14
|
* i915: fix crash in flush_prim -> wait_flips -> flush_batch -> flush_prim.Eric Anholt2008-09-231-17/+18
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-1822-96/+95
| | | | Makefile.template
* i915: fix himask constant init for 64-bit buildGuillaume Melquiond2008-09-131-1/+1
|
* intel: track move of bo_exec from drivers to bufmgr.Eric Anholt2008-09-108-10/+0
|
* intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.Eric Anholt2008-09-103-2/+2
|
* intel: Fix depth_stencil texture.Xiang, Haihao2008-09-041-1/+1
|
* Revert "Revert "Merge branch 'drm-gem'""Dave Airlie2008-08-2412-261/+224
| | | | This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
* Revert "Merge branch 'drm-gem'"Dave Airlie2008-08-2412-224/+261
| | | | | | | | This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
* intel-gem: Update to new check_aperture API for classic mode.Eric Anholt2008-08-083-22/+34
| | | | | | 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.
* Merge branch 'master' into drm-gemIan Romanick2008-07-253-16/+4
|\ | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
| * intel: Clean-up ARB_texture_env_crossbarIan Romanick2008-07-162-9/+0
| | | | | | | | | | Enable support for ARB_texture_env_crossbar in the master extension list instead of in every single device-specific list.
| * i915: fall back to software rendering when shadow comparison isXiang, Haihao2008-07-091-7/+4
| | | | | | | | enabled for 1D texture. fix #12176
* | i915: fix build after previous commit.Eric Anholt2008-07-141-1/+1
| |
* | intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing.Eric Anholt2008-06-261-2/+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-244-354/+5
|\|
| * intel: Same pixel function init for everyone now.Eric Anholt2008-06-242-2/+0
| |
| * i915: Add support for accelerated glBitmap, shared from 965.Eric Anholt2008-06-242-349/+2
| |
* | i915: Accumulate the VB into a local buffer and subdata it in.Eric Anholt2008-06-234-24/+42
| | | | | | | | This lets GEM use pwrite, for an additional 4% or so speedup.
* | i915: Convert to using VBs instead of inline prims.Eric Anholt2008-06-237-212/+162
| |
* | i915: Restore the accelerated PBO pixel path functions after GEM changes.Eric Anholt2008-06-184-16/+5
| | | | | | | | | | The fencing code is not required, and waiting on the fences defeated one of the purposes of the extension, which is to allow asynchronous readpixels.
* | Merge commit 'origin/master' into drm-gemEric Anholt2008-06-181-1/+6
|\|