diff options
author | John Reck <jreck@google.com> | 2015-02-20 10:57:22 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-02-20 10:58:48 -0800 |
commit | c87be99c6ead0720a8918ea38ce3b25e5c49e1c6 (patch) | |
tree | 017c6aa6e000f52b0b579444e32336999912b656 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | df570c6e66d98536597737f863430510b6336ffe (diff) |
C++11 style fixups
Change-Id: I356d02338820bfef41a9e278c88dafc17cfe1cf9
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 3a31db0814c2..0fa2f23b9752 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -52,10 +52,11 @@ namespace renderthread { MethodInvokeRenderTask* task = new MethodInvokeRenderTask((RunnableMethod) Bridge_ ## method); \ ARGS(method) *args = (ARGS(method) *) task->payload() -HWUI_ENUM(DumpFlags, +enum class DumpFlags { kFrameStats = 1 << 0, kReset = 1 << 1, -); +}; +MAKE_FLAGS_ENUM(DumpFlags) CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory) { |