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_render.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_render.c')
-rw-r--r-- | src/sna/sna_render.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 1bf11ea6..6b883ddf 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -1336,7 +1336,7 @@ sna_render_picture_convolve(struct sna *sna, ValidatePicture(tmp); - bo = sna_pixmap_get_bo(pixmap); + bo = __sna_pixmap_get_bo(pixmap); if (!sna->render.clear(sna, pixmap, bo)) { FreePicture(tmp, 0); return 0; @@ -1450,7 +1450,7 @@ sna_render_picture_flatten(struct sna *sna, channel->scale[1] = 1.f / h; channel->offset[0] = -dst_x; channel->offset[1] = -dst_y; - channel->bo = kgem_bo_reference(sna_pixmap_get_bo(pixmap)); + channel->bo = kgem_bo_reference(__sna_pixmap_get_bo(pixmap)); FreePicture(tmp, 0); return 1; @@ -1817,7 +1817,7 @@ sna_render_picture_convert(struct sna *sna, FreePicture(dst, 0); FreePicture(src, 0); - channel->bo = sna_pixmap_get_bo(tmp); + channel->bo = __sna_pixmap_get_bo(tmp); kgem_bo_reference(channel->bo); screen->DestroyPixmap(tmp); } else { @@ -2112,7 +2112,7 @@ sna_render_copy_boxes__overlap(struct sna *sna, uint8_t alu, if (tmp == NULL) return false; - bo = sna_pixmap_get_bo(tmp); + bo = __sna_pixmap_get_bo(tmp); if (bo == NULL) goto out; |