summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2018-08-15 10:17:12 -0700
committer John Reck <jreck@google.com> 2018-08-29 13:53:36 -0700
commit8f45d4afd95e73fab931722038fb411ab3f1603d (patch)
treef4bfbe131830757a25a56952c04ff9838c8053af /libs/hwui/RenderNode.h
parent0ce807abd5216010a085db207ef7799d3e7f549c (diff)
New DisplayList v2
First step of many * Pulls SkLiteDL and SkLiteRecorder into HWUI * forceDark shifted to be a sync-time transformation instead of record time. No meaningful behavior change, but much more flexible heuristics are possible this way. Test: build, poked around with forceDark on Change-Id: I7b7cec5b7fd7c2b18823b4d92d821cf5898f9b88
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r--libs/hwui/RenderNode.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index 8393288d2ffd..83b0c2278151 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -209,13 +209,9 @@ public:
void output(std::ostream& output, uint32_t level);
- void setUsageHint(UsageHint usageHint) {
- mUsageHint = usageHint;
- }
+ void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; }
- UsageHint usageHint() const {
- return mUsageHint;
- }
+ UsageHint usageHint() const { return mUsageHint; }
private:
void computeOrderingImpl(RenderNodeOp* opState,