summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_pixel_draw.c
AgeCommit message (Collapse)Author
2009-06-22intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.Michel Dänzer
Fixes glean depthStencil test. (cherry picked from commit 3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057)
2009-06-19intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists.Eric Anholt
Fixes oglconform zbfunc.c and pxtrans-cidraw.c, at least. (cherry picked from commit 405300bb190f516e16b704050abe3389b366ed27)
2009-06-17i915: Fall back on NPOT textured metaops on 830-class.Eric Anholt
(cherry picked from commit 8ec6e036792decf5149a209e51cb5e93ccc5c754)
2009-03-02mesa: use Stencil._Enabled field instead of Stencil.EnabledBrian Paul
2009-02-10intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format.Eric Anholt
2009-02-10intel: Fix some state leakage of {Client,}ActiveTexture in metaops.Eric Anholt
Found while debugging cairo-gl.
2009-01-26intel: check if stencil test is enabled in intel_stencil_drawpixels()Brian Paul
2009-01-12i965: fix glDrawPixels Z coordinate in intel_texture_drawpixels().Brian Paul
As for glBitmap, it needs to be an NDC coord in [-1,1].
2009-01-07mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt
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 <brianp@vmware.com>
2008-12-31intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt
The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
2008-10-31intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX)Eric Anholt
GL_COLOR_INDEX mode is just like other normal formats (that is, not depth/stencil) and is uploaded fine by TexImage.
2008-10-31intel: Add more fallback debugging for glDrawPixels.Eric Anholt
2008-10-28intel: Fix glDrawPixels with 4d RasterPos.Eric Anholt
2008-10-11intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).Eric Anholt
This is nasty because there's no way in GL to output data to the stencil buffer directly, so we have to do a dance to wrap the depth/stencil buffer in an ARGB renderbuffer. Improves performance of several oglconform testcases by better than a factor of 2.
2008-10-09i965: Actually hook up the accelerated DrawPixels support.Eric Anholt
2008-09-23intel: Add missing include files for meta drawpixels since mesa shuffling.Eric Anholt
2008-09-23intel: Replace pbo-only drawpixels function with a generic Mesa metaops.Eric Anholt
Improves performance of some oglconform regression tests 9x.
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-09-10intel: track move of bo_exec from drivers to bufmgr.Eric Anholt
2008-08-24Revert "Revert "Merge branch 'drm-gem'""Dave Airlie
This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
2008-08-24Revert "Merge branch 'drm-gem'"Dave Airlie
This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
2008-07-11drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.Eric Anholt
2008-06-26intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing.Eric Anholt
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.
2008-06-24Merge commit 'origin/master' into drm-gemEric Anholt
2008-06-24intel: Avoid glBitmap software fallback for blending when no blending occurs.Eric Anholt
Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
2008-06-18i915: Note the non-PBO fallback for textured drawpixels under DEBUG_PIXEL.Eric Anholt
2008-06-18i915: Restore the accelerated PBO pixel path functions after GEM changes.Eric Anholt
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.
2008-02-15[915] Don't attempt our accelerated drawpixels if no color buffer is attached.Eric Anholt
Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when we try to emit the color buffer state during setup.
2007-12-27i915: reset swrast state after calling swrast DrawPixels.Xiang, Haihao
In order to optimize DrawPixels, the i915 texenv program isn't applied to swrast DrawPixels in the i915 driver. This causes this program isn't applied to any following swrast functions. Resetting the swrast state fixes this issue. Fix #13614
2007-12-21[intel] Move some pixel path support from drivers to shared.Eric Anholt