summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_pixel_draw.c
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-24intel: Remove unnecessary headers.Vinson Lee
2010-09-23intel: Remove disabled stencil drawpixels acceleration.Eric Anholt
We still retain the fallback override for GL_STENCIL_INDEX, because the metaops version fails at oglconform.
2010-05-04i965: When an RB gets a new region, clear the old from the state cache.Eric Anholt
This prevents memory usage explosion in blender due to the state cache hanging on to old fake frontbuffer regions. Sigh at blender still using frontbuffer rendering. Bug #24119.
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-01-30intel: Remove unnecessary headers.Vinson Lee
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
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
2010-01-23intel: Remove unnecessary headers.Vinson Lee
2009-12-22intel: Remove unused stored values reported by clang.Eric Anholt
2009-10-29intel: update intel_create_renderbuffer(format), add XRGB supportBrian Paul
Pass a gl_format to intel_create_renderbuffer() instead of GLenum. Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers. However, we don't yet create any renderbuffers or textures with that format. It seems the default alpha value is zero instead of one. Need to investigate that first.
2009-09-19mesa: rename functions to be more consistant with rest of mesaBrian Paul
2009-09-10intel: disable intel_stencil_drawpixels() for nowBrian Paul
It doesn't work reliably even when all the prerequisite checks are made.
2009-09-01intel: trim down #includesBrian Paul
2009-09-01intel: use _mesa_meta_draw_pixels()Brian Paul
The textured quad path is slightly faster and will work with POT textures on i945.
2009-07-15intel/radeon: add common metaops code.Dave Airlie
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
2009-07-14intel: Set DepthRange in the metaops using RasterPos[2].Eric Anholt
RasterPos[2] is already sent through the window transform, which includes DepthRange handling. So make DepthRange for the metaops a noop. Fixes a failure in oglconform depthrange.c
2009-07-07intel: Fix flipped Y for glDrawPixels(GL_STENCIL_INDEX) to window system.Eric Anholt
Even after fixing bugs in this code, it doesn't make me feel any cleaner. Fixes piglit stencil-drawpixels.
2009-06-24intel: fix additional merge conflicts missed in previous commitBrian Paul
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
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-19intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists.Eric Anholt
Fixes oglconform zbfunc.c and pxtrans-cidraw.c, at least.
2009-06-17i915: Fall back on NPOT textured metaops on 830-class.Eric Anholt
(cherry picked from commit 8ec6e036792decf5149a209e51cb5e93ccc5c754)
2009-06-11intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.Michel Dänzer
Fixes glean depthStencil test.
2009-05-26i915: Fall back on NPOT textured metaops on 830-class.Eric Anholt
2009-05-08intel: Put the constant texcoords used in metaops into a vbo.Eric Anholt
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.
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.