summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListOp.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-25 11:01:09 -0800
committerChris Craik <ccraik@google.com>2015-02-25 15:51:58 -0800
commit03ae272459869b854e5db252fc81a64a516e111f (patch)
tree84d57e483808111eebf1c3b23438f326a4d6f921 /libs/hwui/DisplayListOp.h
parent14100ac9f8efc1a2407e3f5a5c8b2532a49585db (diff)
downloadframeworks_base-03ae272459869b854e5db252fc81a64a516e111f.zip
frameworks_base-03ae272459869b854e5db252fc81a64a516e111f.tar.gz
frameworks_base-03ae272459869b854e5db252fc81a64a516e111f.tar.bz2
Remove renderer abstract class
No longer needed, allowing vast majority of methods on OpenGLRenderer to be non-virtual. Change-Id: I8a6ee042b95050dc666887579ef4e1c7a8f9b33b
Diffstat (limited to 'libs/hwui/DisplayListOp.h')
-rw-r--r--libs/hwui/DisplayListOp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h
index 00942d7..dba5121 100644
--- a/libs/hwui/DisplayListOp.h
+++ b/libs/hwui/DisplayListOp.h
@@ -1340,7 +1340,7 @@ public:
const Vector<OpStatePair>& ops, const Rect& bounds) override {
for (unsigned int i = 0; i < ops.size(); i++) {
const DeferredDisplayState& state = *(ops[i].state);
- DrawOpMode drawOpMode = (i == ops.size() - 1) ? kDrawOpMode_Flush : kDrawOpMode_Defer;
+ DrawOpMode drawOpMode = (i == ops.size() - 1) ? DrawOpMode::kFlush : DrawOpMode::kDefer;
renderer.restoreDisplayState(state, true); // restore all but the clip
DrawTextOp& op = *((DrawTextOp*)ops[i].op);