diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-04-04 12:28:48 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-04-04 14:04:52 +0200 |
commit | f8482967ae8080f49dd1bbb0b79cc65020df679f (patch) | |
tree | 98b9255e93dffec1082f261f2cd1b26f527641ad /exa/exa.c | |
parent | c10df5b967d4da4e11786520317e2917de5541fa (diff) |
Add an EXA driver callback to determine whether a pixmap is
"offscreen" in exa terms, which means accessible to the GPU.
Bump exa minor. The change is backwards-compatible.
Diffstat (limited to 'exa/exa.c')
-rw-r--r-- | exa/exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -322,6 +322,9 @@ exaPixmapIsOffscreen(PixmapPtr p) if (p->devPrivate.ptr == NULL) return TRUE; + if (pExaScr->info->PixmapIsOffscreen) + return pExaScr->info->PixmapIsOffscreen(p); + return ((unsigned long) ((CARD8 *) p->devPrivate.ptr - (CARD8 *) pExaScr->info->memoryBase) < pExaScr->info->memorySize); |