/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 63 ScopedActiveContext(CanvasContext* context) { sActiveContext = context; } in ScopedActiveContext() 67 static CanvasContext* getActiveContext() { return sActiveContext; } in getActiveContext() 70 static CanvasContext* sActiveContext; 73 CanvasContext* ScopedActiveContext::sActiveContext = nullptr; 76 CanvasContext* CanvasContext::create(RenderThread& thread, bool translucent, in create() 82 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create() 85 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create() 94 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor() 110 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { in prepareToDraw() 114 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, in CanvasContext() function in android::uirenderer::renderthread::CanvasContext [all …]
|
D | DrawFrameTask.h | 40 class CanvasContext; variable 64 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, 116 CanvasContext* mContext;
|
D | CanvasContext.h | 66 class CanvasContext : public IFrameCallback { 68 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 70 virtual ~CanvasContext(); 218 static CanvasContext* getActiveContext(); 221 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
|
D | RenderProxy.h | 45 class CanvasContext; variable 151 CanvasContext* mContext;
|
D | RenderProxy.cpp | 43 mContext = mRenderThread.queue().runSync([=, this]() -> CanvasContext* { in RenderProxy() 44 CanvasContext* context = in RenderProxy() 45 CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory); in RenderProxy() 202 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory() 387 CanvasContext::prepareToDraw(*renderThread, &bitmap); in prepareToDraw()
|
D | DrawFrameTask.cpp | 95 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, in setContext() 163 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 | 124 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in prepareRootSurfaceControl() 218 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in getSurfaceControl() 241 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in mergeTransaction()
|
D | TreeInfo.cpp | 23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
|
D | Android.bp | 560 "renderthread/CanvasContext.cpp",
|
D | RecordingCanvas.cpp | 445 auto pixelSnap = renderthread::CanvasContext::getActiveContext()->getPixelSnapMatrix(); in draw()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 32 class CanvasContext; variable
|