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:
49191f0
)
android: always flush softpipe to support SurfaceFlinger
author
Chia-I Wu
<olvaffe@gmail.com>
Fri, 1 Oct 2010 20:55:42 +0000
(16:55 -0400)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 6 Apr 2012 03:30:02 +0000
(11:30 +0800)
Just a hack. Is this still needed?
src/gallium/drivers/softpipe/sp_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_flush.c
b/src/gallium/drivers/softpipe/sp_flush.c
index
a2733e9
..
f0bfd9a
100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_flush.c
+++ b/
src/gallium/drivers/softpipe/sp_flush.c
@@
-50,7
+50,7
@@
softpipe_flush( struct pipe_context *pipe,
draw_flush(softpipe->draw);
- if (
flags & SP_FLUSH_TEXTURE_CACHE
) {
+ if (
1 || (flags & SP_FLUSH_TEXTURE_CACHE)
) {
for (i = 0; i < softpipe->num_fragment_sampler_views; i++) {
sp_flush_tex_tile_cache(softpipe->fragment_tex_cache[i]);
}