diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-08-05 18:24:58 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-08-05 18:24:58 +0000 |
commit | ae1580c494fde2b56f9faa40f7ebcf637728efc8 (patch) | |
tree | 0798058dcd39a70c33663f38f140eeafcb6c8ff6 /render/picturestr.h | |
parent | 73e14bd611fa7eac649a2b4c7964959d9eae887b (diff) |
- Add a new Render function, CopyPicture, which will update a picture with
the flagged bits from a source picture. Approved in principle by
keithp.
- Use CopyPicture and SetTransform to update most of the backing picture's
state in the composite wrapper. Filters are still missing.
- Don't allocate a picture private, now that we calculate clipping properly
and don't need the serialNumber or stateChanges.
- Use the format of the source pixmap rather than generating the format
from the window's visual.
- Wrap the rest of the Render primitives that were stubbed out before.
Diffstat (limited to 'render/picturestr.h')
-rw-r--r-- | render/picturestr.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/render/picturestr.h b/render/picturestr.h index 23bab63dc..70881fc78 100644 --- a/render/picturestr.h +++ b/render/picturestr.h @@ -415,7 +415,12 @@ SetPictureClipRegion (PicturePtr pPicture, int SetPictureTransform (PicturePtr pPicture, PictTransform *transform); - + +void +CopyPicture (PicturePtr pSrc, + Mask mask, + PicturePtr pDst); + void ValidatePicture(PicturePtr pPicture); |