aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_buffers.h
Commit message (Collapse)AuthorAgeFilesLines
* i965: Move the remaining intel code to the i965 directory.Eric Anholt2013-06-261-56/+0
| | | | | | | | | Now that i915's forked off, they don't need to live in a shared directory. Acked-by: Kenneth Graunke <[email protected]> Acked-by: Chad Versace <[email protected]> Acked-by: Adam Jackson <[email protected]> (and I hear second hand that idr is OK with it, too)
* intel: Remove dead intel_drawbuf_region().Eric Anholt2013-05-281-2/+0
| | | | | | | | Since the glBitmap() MRT change, it's unused. There was basically no way to responsibly use this function since MRT was introduced. Reviewed-and-tested-by: Ian Romanick <[email protected]> Acked-by: Paul Berry <[email protected]>
* intel: remove dead prototype for old DRI1 code.Eric Anholt2011-10-281-5/+0
| | | | Noticed while grepping for radeon code.
* intel: Silence "warning: unused parameter ‘fb’"Ian Romanick2011-09-091-1/+1
| | | | | | The gl_framebuffer was not used in intel_draw_buffer, so remove it. Reviewed-by: Eric Anholt <[email protected]>
* intel: Move intel_draw_buffers() code into each driver.Eric Anholt2011-07-181-1/+8
| | | | | | | | The illusion of shared code here wasn't fooling anybody. It was tempting to keep i830 and i915 still shared, but I think I actually want to make them diverge shortly. Reviewed-by: Chad Versace <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* intel: Use a handy helper in glReadPixels source clipping.Eric Anholt2010-01-261-6/+0
|
* intel: avoid unnecessary front buffer flushing/updatingBrian Paul2009-11-031-0/+2
| | | | | | | | | | | Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths.
* i915: Only call CalcViewport from DrawBuffers instead of Viewport.Eric Anholt2009-01-301-0/+3
| | | | | This saves an inadvertent round-trip to the X Server on DrawBuffers, which was hurting some metaops.
* intel: Move swap-related functions from intel_buffers.c to new ↵Brian Paul2009-01-261-7/+0
| | | | intel_swapbuffers.c
* intel: Prevent an "irq is not working" printf when only pipe B is enabled.Owain G. Ainsworth2009-01-231-0/+3
| | | | | | | intelMakeCurrent is called before intelWindowMoved (in fact, it calls it), so calculation of the correct vblank crtc has not happened yet. Fix this by making a function that fixes up a set of vblank flags and call if from both functions.
* Remove intel pageflipping support in its entirety.Owain G. Ainsworth2009-01-201-2/+0
| | | | | | | | It's been broken and deprecated for a while, so it's time to die. This has the wonderful benefit of cleaning up the code a fair amount; making it marginally less twisty. I'm unsure if the for loops in IntelWindowMoved are still needed.
* intel: Don't keep intel->pClipRects, and instead just calculate it when needed.Eric Anholt2008-10-281-0/+7
| | | | | | | 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.
* [intel] Add more cliprect modes to cover other meanings for batch emits.Eric Anholt2008-01-101-1/+2
| | | | | | | | | | | | | | | The previous change gave us only two modes, one which looped over the batch per cliprect (3d drawing) and one that didn't (state updeast). However, we really want 4: - Batch doesn't care about cliprects (state updates) - Batch needs DRAWING_RECTANGLE looping per cliprect (3d drawing) - Batch needs to be executed just once (region fills, copies, etc.) - Batch already includes cliprect handling, and must be flushed by unlock time (copybuffers, clears). All callers should now be fixed to use one of these states for any batchbuffer emits. Thanks to Keith Whitwell for pointing out the failure.
* [i915] Remove old frontbuffer rotation hack.Eric Anholt2007-11-091-4/+0
| | | | | | This was replaced in previous releases of xserver/dri/libGL by reporting the damage to the frontbuffer so that the server and driver could handle it appropriately.
* [intel] Move over files that will be shared with 965-fbo work.Eric Anholt2007-11-091-0/+59