aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_compat.c
Commit message (Collapse)AuthorAgeFilesLines
* The previous code would emit a full set of state during the first EmitState onEric Anholt2004-09-251-15/+13
| | | | | | | | | | | | 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
* Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl2004-03-111-8/+8
| | | | of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
* patch to import Jon Smirl's work from BitkeeperBrian Paul2003-08-221-0/+304