diff options
author | Eric Anholt <anholt@freebsd.org> | 2006-03-31 19:41:28 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2006-03-31 19:41:28 +0000 |
commit | 2e38fedd29e7e55d01e3edce6a73b8ceaac17911 (patch) | |
tree | 3f6b1c560c62ff862cf6b07cc898804968159528 /hw/kdrive/ephyr/ephyr.h | |
parent | f480dc797b51f080f912efc7867d6d8e50be074c (diff) |
Add an option to EXA for the DDX to request that EXA hide the pixmap's
devPrivate.ptr when pointing at offscreen memory, outside of
exaPrepare/FinishAccess(). This was used with fakexa to find (by NULL
dereference) many instances of un-Prepared CPU access to the
framebuffer:
- GC tiles used in several ops when fillStyle == FillTiled were never
Prepared.
- Migration could lead to un-Prepared access to mask data in render's
Trapezoids and Triangles
- PutImage's UploadToScreen failure fallback failed to Prepare.
Diffstat (limited to 'hw/kdrive/ephyr/ephyr.h')
-rw-r--r-- | hw/kdrive/ephyr/ephyr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/ephyr.h b/hw/kdrive/ephyr/ephyr.h index 3d468afd9..707cb0168 100644 --- a/hw/kdrive/ephyr/ephyr.h +++ b/hw/kdrive/ephyr/ephyr.h @@ -55,7 +55,8 @@ typedef struct _ephyrFakexaPriv { */ int op; PicturePtr pSrcPicture, pMaskPicture, pDstPicture; - PixmapPtr pSrc, pDst; + void *saved_ptrs[3]; + PixmapPtr pDst, pSrc, pMask; GCPtr pGC; } EphyrFakexaPriv; |