OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82197c3
)
Fix arc positioning
author
Chris Craik
<ccraik@google.com>
Mon, 29 Feb 2016 21:34:43 +0000
(13:34 -0800)
committer
Chris Craik
<ccraik@google.com>
Mon, 29 Feb 2016 21:34:44 +0000
(13:34 -0800)
bug:
27389290
Change-Id: I479a34ea079f1fce1c308aa809a57885ffa1d004
libs/hwui/BakedOpDispatcher.cpp
patch
|
blob
|
history
diff --git
a/libs/hwui/BakedOpDispatcher.cpp
b/libs/hwui/BakedOpDispatcher.cpp
index
78764b5
..
1aab3c7
100644
(file)
--- a/
libs/hwui/BakedOpDispatcher.cpp
+++ b/
libs/hwui/BakedOpDispatcher.cpp
@@
-368,7
+368,7
@@
void BakedOpDispatcher::onArcOp(BakedOpRenderer& renderer, const ArcOp& op, cons
op.startAngle, op.sweepAngle, op.useCenter, op.paint);
const AutoTexture holder(texture);
if (CC_LIKELY(holder.texture)) {
- renderPathTexture(renderer, state, op.unmappedBounds.left, op.unmappedBounds.
right
,
+ renderPathTexture(renderer, state, op.unmappedBounds.left, op.unmappedBounds.
top
,
*texture, *(op.paint));
}
} else {