[Spice-devel] [PATCH 13/17] Prepend QXL to public function CheckIfCacheImage
alexl at redhat.com
alexl at redhat.com
Tue Sep 14 12:09:03 PDT 2010
From: Alexander Larsson <alexl at redhat.com>
---
display/res.c | 2 +-
display/res.h | 2 +-
display/rop.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/display/res.c b/display/res.c
index fee2ae5..18b2033 100644
--- a/display/res.c
+++ b/display/res.c
@@ -1935,7 +1935,7 @@ static _inline UINT64 get_unique(SURFOBJ *surf, XLATEOBJ *color_trans)
}
}
-BOOL CheckIfCacheImage(PDev *pdev, SURFOBJ *surf, XLATEOBJ *color_trans)
+BOOL QXLCheckIfCacheImage(PDev *pdev, SURFOBJ *surf, XLATEOBJ *color_trans)
{
CacheImage *cache_image;
UINT64 gdi_unique;
diff --git a/display/res.h b/display/res.h
index 7a10035..c7eae69 100644
--- a/display/res.h
+++ b/display/res.h
@@ -43,7 +43,7 @@ BOOL QXLGetBitmap(PDev *pdev, QXLDrawable *drawable, QXLPHYSICAL *image_phys, SU
BOOL QXLGetBitsFromCache(PDev *pdev, QXLDrawable *drawable, UINT32 hash_key, QXLPHYSICAL *image_phys);
BOOL QXLGetAlphaBitmap(PDev *pdev, QXLDrawable *drawable, QXLPHYSICAL *image_phys, SURFOBJ *surf,
QXLRect *area, INT32 *surface_dest);
-BOOL CheckIfCacheImage(PDev *pdev, SURFOBJ *surf, XLATEOBJ *color_trans);
+BOOL QXLCheckIfCacheImage(PDev *pdev, SURFOBJ *surf, XLATEOBJ *color_trans);
UINT8 *QXLGetBuf(PDev *pdev, QXLDrawable *drawable, QXLPHYSICAL *buf_phys, UINT32 size);
BOOL QXLGetStr(PDev *pdev, QXLDrawable *drawable, QXLPHYSICAL *str_phys, FONTOBJ *font, STROBJ *str);
diff --git a/display/rop.c b/display/rop.c
index 48fc3ff..f96cdf1 100644
--- a/display/rop.c
+++ b/display/rop.c
@@ -675,7 +675,7 @@ static BOOL DoCopy(PDev *pdev, UINT32 surface_id, RECTL *area, CLIPOBJ *clip, SU
}
if (use_cache && TestSplitClips(pdev, src, src_rect, clip, mask) &&
- !CheckIfCacheImage(pdev, src, color_trans)) {
+ !QXLCheckIfCacheImage(pdev, src, color_trans)) {
if (clip->iDComplexity == DC_RECT) {
if (!DoPartialCopy(pdev, surface_id, src, src_rect, area, &clip->rclBounds, color_trans,
scale_mode, rop_descriptor)) {
--
1.7.2.2
More information about the Spice-devel
mailing list