OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaea9a1
)
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
Brian
<brian.paul@tungstengraphics.com>
Mon, 28 Jan 2008 18:31:57 +0000
(11:31 -0700)
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
b98bb56
..
cf4e676
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);
}