Home
last modified time | relevance | path

Searched refs:CanvasContext (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp62 ScopedActiveContext(CanvasContext* context) { sActiveContext = context; } in ScopedActiveContext()
66 static CanvasContext* getActiveContext() { return sActiveContext; } in getActiveContext()
69 static CanvasContext* sActiveContext;
72 CanvasContext* ScopedActiveContext::sActiveContext = nullptr;
75 CanvasContext* CanvasContext::create(RenderThread& thread, bool translucent, in create()
81 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create()
84 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create()
93 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor()
109 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { in prepareToDraw()
113 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, in CanvasContext() function in android::uirenderer::renderthread::CanvasContext
[all …]
DDrawFrameTask.h41 class CanvasContext; variable
65 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode,
109 CanvasContext* mContext;
DCanvasContext.h66 class CanvasContext : public IFrameCallback {
68 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
70 virtual ~CanvasContext();
223 static CanvasContext* getActiveContext();
226 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
DRenderProxy.h45 class CanvasContext; variable
146 CanvasContext* mContext;
DRenderProxy.cpp41 mContext = mRenderThread.queue().runSync([&]() -> CanvasContext* { in RenderProxy()
42 return CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory); in RenderProxy()
191 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory()
366 CanvasContext::prepareToDraw(*renderThread, &bitmap); in prepareToDraw()
DDrawFrameTask.cpp95 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, in setContext()
160 CanvasContext* context = mContext; in run()
DRenderThread.h62 class CanvasContext; variable
/frameworks/base/libs/hwui/tests/unit/
DCanvasContextTests.cpp35 RENDERTHREAD_TEST(CanvasContext, create) { in RENDERTHREAD_TEST() argument
38 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST()
39 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp336 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST()
337 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_TEST()
400 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST()
401 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
520 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST()
521 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
620 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST()
621 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_TEST()
636 std::unique_ptr<CanvasContext> canvasContext( in drawNode()
637 CanvasContext::create(renderThread, false, renderNode.get(), &contextFactory)); in drawNode()
DSkiaDisplayListTests.cpp144 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST()
145 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
203 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST()
204 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeTests.cpp276 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST()
277 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
312 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST()
313 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/
DTreeInfo.h31 class CanvasContext; variable
74 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
80 renderthread::CanvasContext& canvasContext;
DWebViewFunctorManager.cpp132 renderthread::CanvasContext* activeContext = in drawGl()
133 renderthread::CanvasContext::getActiveContext(); in drawGl()
206 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in getSurfaceControl()
229 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in mergeTransaction()
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
DAndroid.bp569 "renderthread/CanvasContext.cpp",
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h32 class CanvasContext; variable