aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_lock.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable GLX_SGI_make_current_read for radeon.Ian Romanick2006-10-181-5/+9
| | | | | | | | | | | | | | Added code to track the drawable bound to the context for reading. In addition, when a drawable is initially bound (for reading or drawing) or when the size of the drawable changes, update the size of the framebuffer object that back the drawable (for software fallbacks). Deprecate the old GetBufferSize interface. Bump the driver date. These changes were tested with wincopy on both direct rendering and accelerated indirect rendering (AIGLX).
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-141-1/+2
| | | | | call driUpdateFramebufferSize() when we detect changes in window size/ position in radeonGetLock().
* Simplify radeonSetCliprects(). Remove the 'mode' parameter.Brian Paul2005-09-041-4/+1
|
* Fix UpdatePageFlipping() function. Always call driFlipRenderbuffers()Brian Paul2005-09-041-3/+2
| | | | with pfCurrentPage value, in case it's initially 1 instead of 0.
* fix page flipping breakageBrian Paul2005-09-011-36/+8
|
* Finish up some of the gl_renderbuffer work.Brian Paul2005-09-011-24/+36
| | | | | | | Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-2/+2
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* (Stephane Marchesin, me) Add support for color (framebuffer) tiling to the ↵Roland Scheidegger2005-01-261-0/+6
| | | | radeon and r200 driver
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-2/+2
|
* The previous code would emit a full set of state during the first EmitState onEric Anholt2004-09-251-0/+2
| | | | | | | | | | | | a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my tests, along with other apps. Tested with: ipers, glxgears, quake3
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-2/+2
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl2004-03-111-4/+4
| | | | of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
* merge some more of the radeon DRI driver from the DRI trunkAlan Hourihane2003-12-071-1/+2
|
* Update DRI drivers to current DRI CVS and make them work.Jon Smirl2003-10-211-2/+0
|
* patch to import Jon Smirl's work from BitkeeperBrian Paul2003-08-221-0/+128