aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_pixel.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-7/+0
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * intel: Remove unnecessary headers.Vinson Lee2010-01-231-7/+0
| |
* | mesa: implement per-buffer color maskingBrian Paul2009-12-291-4/+4
|/ | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* intel: Remove some dead metaops code.Eric Anholt2009-09-281-14/+0
|
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-251/+0
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* intel: Update Mesa state before span setup in glReadPixels.Eric Anholt2009-06-191-3/+1
| | | | | We could have mapped the wrong set of draw buffers. Noticed while looking into a DRI2 glean ReadPixels issue.
* intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps.Eric Anholt2009-05-081-0/+1
| | | | | | | In addition to being HW accelerated, it avoids the incorrect (black) rendering of the mipmaps that SW was doing in fbo-generatemipmap. Improves the performance of the mipmap generation and drawing in fbo-generatemipmap by 30%.
* intel: Put the constant texcoords used in metaops into a vbo.Eric Anholt2009-05-081-0/+83
| | | | | | | Make this be its own function for setup/teardown of the binding of these texcoords. No performance difference in the engine demo (I just felt dirty not using a VBO for this), and I think it should be more resilient to interference from current GL state.
* intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls.Eric Anholt2009-04-061-0/+4
| | | | | | This gets us the savings for driver-internal viewport calls that dd1c68f15123a889a3ce9d2afe724e272d163e32 was attempting, without relying on Xlib internals or clients handling X events.
* intel: include main/viewport.hBrian Paul2009-03-111-0/+1
|
* mesa: use Stencil._Enabled field instead of Stencil.EnabledBrian Paul2009-03-021-1/+1
|
* intel: Fix commented-out glViewport in intel_meta_set_passthrough_transform.Eric Anholt2009-02-031-3/+3
| | | | Too much commit -a while debugging.
* intel: If we're doing a depth clear with tris, do color with it.Eric Anholt2009-01-301-3/+3
| | | | This is a 10% win on the ever-important glxgears not-a-benchmark.
* intel: save/restore GL matrix mode in ↵Brian Paul2009-01-261-0/+3
| | | | intel_meta_set_passthrough_transform(), intel_meta_restore_transform()
* intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt2008-12-311-0/+35
| | | | | | | The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
* intel: Add support for glBitmap as metaops using GL calls.Eric Anholt2008-12-311-0/+133
| | | | | | | | | | This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016.
* intel: Don't glBitmap fallback with scissoring enabled.Eric Anholt2008-11-211-6/+0
| | | | | The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
* i965: Actually hook up the accelerated DrawPixels support.Eric Anholt2008-10-091-1/+1
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-2/+2
| | | | Makefile.template
* intel: Avoid glBitmap software fallback for blending when no blending occurs.Eric Anholt2008-06-241-2/+21
| | | | | 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.
* intel: Merge check_blit_fragment_ops between i915/i965.Eric Anholt2008-06-241-0/+7
| | | | Both had some useful bits for the other.
* intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix.Eric Anholt2008-06-241-15/+56
|
* i915: Add support for accelerated glBitmap, shared from 965.Eric Anholt2008-06-241-1/+1
|
* i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.Eric Anholt2008-06-241-4/+6
| | | | This matches 965.
* [intel] Move some pixel path support from drivers to shared.Eric Anholt2007-12-211-0/+120