summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blitter.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-28 00:41:42 +0800
committerChia-I Wu <[email protected]>2014-09-30 16:41:31 +0800
commit343b014b57ecc5431477e090100e6a26edbda540 (patch)
tree1d375a3baabd41c00dd7836f9ca45c79084a161f /src/gallium/drivers/ilo/ilo_blitter.c
parent46537f1d03ba6de83be70ac574f633bb4342a327 (diff)
ilo: use dynamic bo for rectlist vertices
The size is always 24 bytes. We can upload them to the dynamic buffer. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blitter.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_blitter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blitter.c b/src/gallium/drivers/ilo/ilo_blitter.c
index d08563da436..10335920364 100644
--- a/src/gallium/drivers/ilo/ilo_blitter.c
+++ b/src/gallium/drivers/ilo/ilo_blitter.c
@@ -70,10 +70,5 @@ ilo_blitter_destroy(struct ilo_blitter *blitter)
if (blitter->pipe_blitter)
util_blitter_destroy(blitter->pipe_blitter);
- if (blitter->buffer.res) {
- struct pipe_screen *screen = blitter->ilo->base.screen;
- screen->resource_destroy(screen, blitter->buffer.res);
- }
-
FREE(blitter);
}