diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-14 18:12:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-14 18:12:15 +0100 |
commit | a0f90a4c79799780592c004c846a963aad5f28e6 (patch) | |
tree | db66cc3ee9264620d5ed4f1f778f1d10c959a7c5 /src/sna/sna_trapezoids.c | |
parent | 2be9118e882f59591dc0fb9b98ec25494f020bb4 (diff) |
sna: Rename sna_pixmap_get_bo()
Mark how dangerous this function is by giving it a __ prefix.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r-- | src/sna/sna_trapezoids.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |