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:
1087bd9
)
Register functor draw correctly
author
Chris Craik
<ccraik@google.com>
Sat, 25 Mar 2017 00:00:39 +0000
(17:00 -0700)
committer
Chris Craik
<ccraik@google.com>
Sat, 25 Mar 2017 00:12:19 +0000
(17:12 -0700)
Bug:
36602041
Test: existing tests still pass
Change-Id: I9f385da89e9e49e562031578a02f13a68697e0df
libs/hwui/BakedOpRenderer.cpp
patch
|
blob
|
history
diff --git
a/libs/hwui/BakedOpRenderer.cpp
b/libs/hwui/BakedOpRenderer.cpp
index
e8972aa
..
d154730
100644
(file)
--- a/
libs/hwui/BakedOpRenderer.cpp
+++ b/
libs/hwui/BakedOpRenderer.cpp
@@
-363,6
+363,7
@@
void BakedOpRenderer::renderFunctor(const FunctorOp& op, const BakedOpState& sta
state.computedState.transform.copyTo(&info.transform[0]);
mRenderState.invokeFunctor(op.functor, DrawGlInfo::kModeDraw, &info);
+ if (!mRenderTarget.frameBufferId) mHasDrawn = true;
}
void BakedOpRenderer::dirtyRenderTarget(const Rect& uiDirty) {