Loading libs/hwui/renderthread/RenderProxy.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ namespace renderthread { LOG_ALWAYS_FATAL_IF( METHOD_INVOKE_PAYLOAD_SIZE < sizeof(ARGS(method)), \ "METHOD_INVOKE_PAYLOAD_SIZE %d is smaller than sizeof(" #method "Args) %d", \ METHOD_INVOKE_PAYLOAD_SIZE, sizeof(ARGS(method))); \ MethodInvokeRenderTask* task = createTask((RunnableMethod) Bridge_ ## method); \ MethodInvokeRenderTask* task = new MethodInvokeRenderTask((RunnableMethod) Bridge_ ## method); \ ARGS(method) *args = (ARGS(method) *) task->payload() CREATE_BRIDGE1(createContext, bool translucent) { Loading Loading @@ -269,11 +269,6 @@ void RenderProxy::fence() { postAndWait(task); } MethodInvokeRenderTask* RenderProxy::createTask(RunnableMethod method) { // TODO: Consider having a small pool of these to avoid alloc churn return new MethodInvokeRenderTask(method); } void RenderProxy::post(RenderTask* task) { mRenderThread.queue(task); } Loading libs/hwui/renderthread/RenderProxy.h +0 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,6 @@ private: void destroyContext(); MethodInvokeRenderTask* createTask(RunnableMethod method); void post(RenderTask* task); void* postAndWait(MethodInvokeRenderTask* task); Loading Loading
libs/hwui/renderthread/RenderProxy.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ namespace renderthread { LOG_ALWAYS_FATAL_IF( METHOD_INVOKE_PAYLOAD_SIZE < sizeof(ARGS(method)), \ "METHOD_INVOKE_PAYLOAD_SIZE %d is smaller than sizeof(" #method "Args) %d", \ METHOD_INVOKE_PAYLOAD_SIZE, sizeof(ARGS(method))); \ MethodInvokeRenderTask* task = createTask((RunnableMethod) Bridge_ ## method); \ MethodInvokeRenderTask* task = new MethodInvokeRenderTask((RunnableMethod) Bridge_ ## method); \ ARGS(method) *args = (ARGS(method) *) task->payload() CREATE_BRIDGE1(createContext, bool translucent) { Loading Loading @@ -269,11 +269,6 @@ void RenderProxy::fence() { postAndWait(task); } MethodInvokeRenderTask* RenderProxy::createTask(RunnableMethod method) { // TODO: Consider having a small pool of these to avoid alloc churn return new MethodInvokeRenderTask(method); } void RenderProxy::post(RenderTask* task) { mRenderThread.queue(task); } Loading
libs/hwui/renderthread/RenderProxy.h +0 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,6 @@ private: void destroyContext(); MethodInvokeRenderTask* createTask(RunnableMethod method); void post(RenderTask* task); void* postAndWait(MethodInvokeRenderTask* task); Loading