summaryrefslogtreecommitdiff
path: root/exa/exa_unaccel.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-10-15 02:19:09 +0000
committerEric Anholt <anholt@freebsd.org>2005-10-15 02:19:09 +0000
commit744aa34ca5228ea176cc56a7bdd48bbf5f29b0b5 (patch)
tree696c4daec250a44fad15f626df1725ad935fe74f /exa/exa_unaccel.c
parent21e7339c1eead1148eea462bc99cf8faf02c8d39 (diff)
Add an additional meaning to the "dirty" flag. Now, if !dirty && !area, the
pixmaps's contents are undefined, so we won't need to upload the undefined contents in MoveIn. Use the ExaCheck* for async ops as well, so that dirty is always tracked. While the performance impact for my ls -lR test was not significant (though the avoiding-upload path was being hit), it's likely to be important for the upcoming Get/PutImage acceleration from ajax.
Diffstat (limited to 'exa/exa_unaccel.c')
-rw-r--r--exa/exa_unaccel.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index d6e111e79..8586405a4 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -331,26 +331,26 @@ ExaCheckComposite (CARD8 op,
* do migration for CopyArea.
*/
const GCOps exaAsyncPixmapGCOps = {
- fbFillSpans,
- fbSetSpans,
- fbPutImage,
+ ExaCheckFillSpans,
+ ExaCheckSetSpans,
+ ExaCheckPutImage,
exaCopyArea,
ExaCheckCopyPlane,
- fbPolyPoint,
- fbPolyLine,
- fbPolySegment,
- fbPolyRectangle,
- fbPolyArc,
- fbFillPolygon,
- fbPolyFillRect,
- fbPolyFillArc,
+ ExaCheckPolyPoint,
+ ExaCheckPolylines,
+ ExaCheckPolySegment,
+ ExaCheckPolyRectangle,
+ ExaCheckPolyArc,
+ ExaCheckFillPolygon,
+ ExaCheckPolyFillRect,
+ ExaCheckPolyFillArc,
miPolyText8,
miPolyText16,
miImageText8,
miImageText16,
- fbImageGlyphBlt,
- fbPolyGlyphBlt,
- fbPushPixels
+ ExaCheckImageGlyphBlt,
+ ExaCheckPolyGlyphBlt,
+ ExaCheckPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif