projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c8f9c
)
Cell: If flushing for swapbuffers, wait for frame completion
author
Brian
<brian.paul@tungstengraphics.com>
Mon, 28 Jan 2008 16:57:51 +0000
(09:57 -0700)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:23 +0000
(13:50 +1100)
src/mesa/pipe/cell/ppu/cell_flush.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/cell/ppu/cell_flush.c
b/src/mesa/pipe/cell/ppu/cell_flush.c
index b98bb566b12a7d5a66c3671a18971539444a9a49..cf4e676645b8767757ef2338aaff0e35d3497065 100644
(file)
--- a/
src/mesa/pipe/cell/ppu/cell_flush.c
+++ b/
src/mesa/pipe/cell/ppu/cell_flush.c
@@
-39,6
+39,9
@@
cell_flush(struct pipe_context *pipe, unsigned flags)
{
struct cell_context *cell = cell_context(pipe);
+ if (flags & PIPE_FLUSH_SWAPBUFFERS)
+ flags |= PIPE_FLUSH_WAIT;
+
draw_flush( cell->draw );
cell_flush_int(pipe, flags);
}