/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 63 CanvasContext* CanvasContext::create(RenderThread& thread, bool translucent, in create() 69 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create() 72 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create() 81 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor() 97 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { in prepareToDraw() 101 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, in CanvasContext() function in android::uirenderer::renderthread::CanvasContext 118 CanvasContext::~CanvasContext() { in ~CanvasContext() 126 void CanvasContext::addRenderNode(RenderNode* node, bool placeFront) { in addRenderNode() 132 void CanvasContext::removeRenderNode(RenderNode* node) { in removeRenderNode() 138 void CanvasContext::destroy() { in destroy() [all …]
|
D | DrawFrameTask.h | 39 class CanvasContext; variable 63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode); 94 CanvasContext* mContext;
|
D | CanvasContext.h | 64 class CanvasContext : public IFrameCallback { 66 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 68 virtual ~CanvasContext(); 203 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
|
D | RenderProxy.cpp | 45 mContext = mRenderThread.queue().runSync([&]() -> CanvasContext* { in RenderProxy() 46 return CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory); in RenderProxy() 138 auto invoke = [&thread, functor]() { CanvasContext::invokeFunctor(thread, functor); }; in invokeFunctor() 193 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory() 338 CanvasContext::prepareToDraw(*renderThread, &bitmap); in prepareToDraw()
|
D | DrawFrameTask.cpp | 40 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, in setContext() 101 CanvasContext* context = mContext; in run()
|
D | RenderProxy.h | 42 class CanvasContext; variable 159 CanvasContext* mContext;
|
D | RenderThread.h | 58 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() 46 RENDERTHREAD_TEST(CanvasContext, invokeFunctor) { in RENDERTHREAD_TEST() argument 48 CanvasContext::invokeFunctor(renderThread, &functor); in RENDERTHREAD_TEST()
|
D | RenderNodeDrawableTests.cpp | 335 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() 336 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_TEST() 399 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() 400 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 519 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() 520 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 619 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() 620 CanvasContext::create(renderThread, false, parent.get(), &contextFactory)); in RENDERTHREAD_TEST() 635 std::unique_ptr<CanvasContext> canvasContext( in drawNode() 636 CanvasContext::create(renderThread, false, renderNode.get(), &contextFactory)); in drawNode()
|
D | RenderNodeTests.cpp | 272 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() 273 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST() 308 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() 309 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
|
D | SkiaDisplayListTests.cpp | 145 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() 146 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 204 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() 205 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/ |
D | TreeInfo.h | 31 class CanvasContext; variable 75 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext); 81 renderthread::CanvasContext& canvasContext;
|
D | TreeInfo.cpp | 23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
|
D | Android.bp | 176 "renderthread/CanvasContext.cpp",
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 33 class CanvasContext; variable 98 bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context);
|
D | SkiaDisplayList.cpp | 43 bool SkiaDisplayList::reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) { in reuseDisplayList()
|