projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec96b0e
)
r300g: do not flush the uploader
author
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Feb 2011 20:09:38 +0000
(21:09 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Feb 2011 20:12:51 +0000
(21:12 +0100)
We don't have to unmap and recreate the upload buffer when a flush occurs.
This should also prevent buffer allocations from failing.
src/gallium/drivers/r300/r300_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_flush.c
b/src/gallium/drivers/r300/r300_flush.c
index b250532ba92c581b1818b9d2ca0504375f876369..986ea5ff35ab9b6ea685e3d9acd5402c2c7bbfa5 100644
(file)
--- a/
src/gallium/drivers/r300/r300_flush.c
+++ b/
src/gallium/drivers/r300/r300_flush.c
@@
-40,9
+40,6
@@
static void r300_flush(struct pipe_context* pipe,
struct r300_atom *atom;
struct r300_fence **rfence = (struct r300_fence**)fence;
- u_upload_flush(r300->upload_vb);
- u_upload_flush(r300->upload_ib);
-
if (r300->draw && !r300->draw_vbo_locked)
r300_draw_flush_vbuf(r300);