/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 62 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 …]
|
D | DrawFrameTask.h | 41 class CanvasContext; variable 65 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, 109 CanvasContext* mContext;
|
D | CanvasContext.h | 66 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,
|
D | RenderProxy.h | 45 class CanvasContext; variable 146 CanvasContext* mContext;
|
D | RenderProxy.cpp | 41 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()
|
D | DrawFrameTask.cpp | 95 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, in setContext() 160 CanvasContext* context = mContext; in run()
|
D | RenderThread.h | 62 class CanvasContext; variable
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasContextTests.cpp | 35 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()
|
D | RenderNodeDrawableTests.cpp | 336 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()
|
D | SkiaDisplayListTests.cpp | 144 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()
|
D | RenderNodeTests.cpp | 276 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/ |
D | TreeInfo.h | 31 class CanvasContext; variable 74 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext); 80 renderthread::CanvasContext& canvasContext;
|
D | WebViewFunctorManager.cpp | 132 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()
|
D | TreeInfo.cpp | 23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
|
D | Android.bp | 569 "renderthread/CanvasContext.cpp",
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 32 class CanvasContext; variable
|