From a0f90a4c79799780592c004c846a963aad5f28e6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 14 Aug 2013 18:12:15 +0100 Subject: sna: Rename sna_pixmap_get_bo() Mark how dangerous this function is by giving it a __ prefix. Signed-off-by: Chris Wilson --- src/sna/sna_trapezoids.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sna/sna_trapezoids.c') diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index e3b406eb..ce2c075c 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -6838,7 +6838,7 @@ trap_mask_converter(struct sna *sna, get_drawable_deltas(picture->pDrawable, pixmap, &x, &y); sna = to_sna_from_screen(screen); sna->render.copy_boxes(sna, GXcopy, - scratch, sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, + scratch, __sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, pixmap, priv->gpu_bo, x, y, &extents, 1, 0); mark_damaged(pixmap, priv, &extents ,x, y); @@ -6915,7 +6915,7 @@ trap_upload(PicturePtr picture, /* XXX clip boxes */ get_drawable_deltas(picture->pDrawable, pixmap, &x, &y); sna->render.copy_boxes(sna, GXcopy, - scratch, sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, + scratch, __sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, pixmap, priv->gpu_bo, x, y, &extents, 1, 0); mark_damaged(pixmap, priv, &extents, x, y); -- cgit v1.2.3