projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a784d86
)
r300g: make r300_buffer_transfer_unmap a no-op
author
Marek Olšák
<maraeo@gmail.com>
Thu, 26 Apr 2012 10:10:06 +0000
(12:10 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 29 Apr 2012 12:48:45 +0000
(14:48 +0200)
It's a no-op already in the winsys.
src/gallium/drivers/r300/r300_screen_buffer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen_buffer.c
b/src/gallium/drivers/r300/r300_screen_buffer.c
index a3b09500d4bc46c2e1519ebdbbe1c36a01b3c745..d05c91492878c7c1618a89e9440570aba1454a95 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen_buffer.c
+++ b/
src/gallium/drivers/r300/r300_screen_buffer.c
@@
-131,13
+131,7
@@
r300_buffer_transfer_map( struct pipe_context *pipe,
static void r300_buffer_transfer_unmap( struct pipe_context *pipe,
struct pipe_transfer *transfer )
{
- struct r300_screen *r300screen = r300_screen(pipe->screen);
- struct radeon_winsys *rws = r300screen->rws;
- struct r300_resource *rbuf = r300_resource(transfer->resource);
-
- if (rbuf->cs_buf) {
- rws->buffer_unmap(rbuf->cs_buf);
- }
+ /* no-op */
}
static const struct u_resource_vtbl r300_buffer_vtbl =