diff options
author | Søren Sandmann <ssp@redhat.com> | 2012-07-12 09:53:31 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-08-23 17:32:56 -0400 |
commit | df7d307981ac94a1096be1974dcfb8b8beaaa3eb (patch) | |
tree | 8e03c5ee9f3ea0e122088fa33a75d13ff3297d2b | |
parent | 3f31680945f48f636e69f36a03c1cc7076d383ed (diff) |
Add stubs for Render acceleration
-rw-r--r-- | src/qxl_driver.c | 66 |
1 files changed, 60 insertions, 6 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index bf27440..8f5735e 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1314,6 +1314,60 @@ qxl_done_copy (PixmapPtr dest) { } +/* + * Composite + */ +static Bool +qxl_check_composite (int op, + PicturePtr pSrcPicture, + PicturePtr pMaskPicture, + PicturePtr pDstPicture, + int width, int height) +{ + return FALSE; +} + +static Bool +qxl_check_composite_target (PixmapPtr pixmap) +{ + return FALSE; +} + +static Bool +qxl_check_composite_texture (ScreenPtr screen, + PicturePtr pPicture) +{ + return FALSE; +} + +static Bool +qxl_prepare_composite (int op, + PicturePtr pSrcPicture, + PicturePtr pMaskPicture, + PicturePtr pDstPicture, + PixmapPtr pSrc, + PixmapPtr pMask, + PixmapPtr pDst) +{ + return FALSE; +} + +static void +qxl_composite (PixmapPtr pDst, + int src_x, int src_y, + int mask_x, int mask_y, + int dst_x, int dst_y, + int width, int height) +{ + +} + +static void +qxl_done_composite (PixmapPtr pDst) +{ + +} + static Bool qxl_put_image (PixmapPtr pDst, int x, int y, int w, int h, char *src, int src_pitch) @@ -1455,12 +1509,12 @@ setup_uxa (qxl_screen_t *qxl, ScreenPtr screen) qxl->uxa->done_copy = qxl_done_copy; /* Composite */ - qxl->uxa->check_composite = (typeof (qxl->uxa->check_composite))unaccel; - qxl->uxa->check_composite_target = (typeof (qxl->uxa->check_composite_target))unaccel; - qxl->uxa->check_composite_texture = (typeof (qxl->uxa->check_composite_texture))unaccel; - qxl->uxa->prepare_composite = (typeof (qxl->uxa->prepare_composite))unaccel; - qxl->uxa->composite = (typeof (qxl->uxa->composite))unaccel; - qxl->uxa->done_composite = (typeof (qxl->uxa->done_composite))unaccel; + qxl->uxa->check_composite = qxl_check_composite; + qxl->uxa->check_composite_target = qxl_check_composite_target; + qxl->uxa->check_composite_texture = qxl_check_composite_texture; + qxl->uxa->prepare_composite = qxl_prepare_composite; + qxl->uxa->composite = qxl_composite; + qxl->uxa->done_composite = qxl_done_composite; /* PutImage */ qxl->uxa->put_image = qxl_put_image; |