Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp63 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 …]
DDrawFrameTask.h39 class CanvasContext; variable
63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode);
94 CanvasContext* mContext;
DCanvasContext.h64 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,
DRenderProxy.cpp45 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()
DDrawFrameTask.cpp40 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, in setContext()
101 CanvasContext* context = mContext; in run()
DRenderProxy.h42 class CanvasContext; variable
159 CanvasContext* mContext;
DRenderThread.h58 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()
46 RENDERTHREAD_TEST(CanvasContext, invokeFunctor) { in RENDERTHREAD_TEST() argument
48 CanvasContext::invokeFunctor(renderThread, &functor); in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp335 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()
DRenderNodeTests.cpp272 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()
DSkiaDisplayListTests.cpp145 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/
DTreeInfo.h31 class CanvasContext; variable
75 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
81 renderthread::CanvasContext& canvasContext;
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
DAndroid.bp176 "renderthread/CanvasContext.cpp",
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h33 class CanvasContext; variable
98 bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context);
DSkiaDisplayList.cpp43 bool SkiaDisplayList::reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) { in reuseDisplayList()