Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp63 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 …]
DDrawFrameTask.h40 class CanvasContext; variable
64 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode,
116 CanvasContext* mContext;
DCanvasContext.h66 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,
DRenderProxy.h45 class CanvasContext; variable
151 CanvasContext* mContext;
DRenderProxy.cpp43 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()
DDrawFrameTask.cpp95 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, in setContext()
163 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.cpp124 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()
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo()
DAndroid.bp560 "renderthread/CanvasContext.cpp",
DRecordingCanvas.cpp445 auto pixelSnap = renderthread::CanvasContext::getActiveContext()->getPixelSnapMatrix(); in draw()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h32 class CanvasContext; variable