OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d2c60
)
backout a workaround that is not needed anymore
author
Mathias Agopian
<mathias@google.com>
Thu, 19 Nov 2009 23:52:28 +0000
(15:52 -0800)
committer
Mathias Agopian
<mathias@google.com>
Thu, 19 Nov 2009 23:52:28 +0000
(15:52 -0800)
we had to add a call to glFinish() before glReadPixels() because of a bug in the GL ES
driver of a certain device. This is not needed anymore.
libs/surfaceflinger/LayerBlur.cpp
patch
|
blob
|
history
diff --git
a/libs/surfaceflinger/LayerBlur.cpp
b/libs/surfaceflinger/LayerBlur.cpp
index
5d4a38b
..
5fd7904
100644
(file)
--- a/
libs/surfaceflinger/LayerBlur.cpp
+++ b/
libs/surfaceflinger/LayerBlur.cpp
@@
-169,7
+169,6
@@
void LayerBlur::onDraw(const Region& clip) const
// This reads the frame-buffer, so a h/w GL would have to
// finish() its rendering first. we don't want to do that
// too often. Read data is 4-bytes aligned.
- glFinish();
glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels);
// blur that texture.