commit | fc53ef27793a39e9effd829e9cae02a9ca14147e | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Tue Feb 11 10:40:25 2014 -0800 |
committer | John Reck <jreck@google.com> | Tue Feb 11 10:40:25 2014 -0800 |
tree | 0269d0943677006ad8fdf981bd5eaa70bc9631f1 | |
parent | f6eebb21d5c58345eca8be25676e34346f5809b2 [diff] [blame] |
Implement missing safelyRun() on ThreadedRenderer Change-Id: I14b75f37a13fabaa759a51369190dbdc84087c4b
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h index 113c5a8..1ad0c2d 100644 --- a/libs/hwui/renderthread/RenderProxy.h +++ b/libs/hwui/renderthread/RenderProxy.h
@@ -62,6 +62,8 @@ ANDROID_API void attachFunctor(Functor* functor); ANDROID_API void detachFunctor(Functor* functor); + ANDROID_API void runWithGlContext(RenderTask* task); + private: RenderThread& mRenderThread; CanvasContext* mContext;