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:
164b7a4
)
fix a typo that prevented preserveRects() to work properly
author
Mathias Agopian
<mathias@google.com>
Mon, 25 Jul 2011 20:57:16 +0000
(13:57 -0700)
committer
Mathias Agopian
<mathias@google.com>
Mon, 25 Jul 2011 20:57:16 +0000
(13:57 -0700)
this caused drawing artifacts during the screen rotation
animation of SurfaceView.
Change-Id: Idcc996b6ca2e346135dd2264959670c0b086d4cb
services/surfaceflinger/Transform.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/Transform.cpp
b/services/surfaceflinger/Transform.cpp
index
24d5f9a
..
05b7527
100644
(file)
--- a/
services/surfaceflinger/Transform.cpp
+++ b/
services/surfaceflinger/Transform.cpp
@@
-308,7
+308,7
@@
uint32_t Transform::getOrientation() const
bool Transform::preserveRects() const
{
- return (
type
() & ROT_INVALID) ? false : true;
+ return (
getOrientation
() & ROT_INVALID) ? false : true;
}
void Transform::dump(const char* name) const