Home
last modified time | relevance | path

Searched refs:canvasContext (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo() argument
26 , canvasContext(canvasContext) in TreeInfo()
27 , disableForceDark(canvasContext.useForceDark() ? 0 : 1) in TreeInfo()
28 , screenSize(canvasContext.getNextFrameSize()) {} in TreeInfo()
DTreeInfo.h74 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
80 renderthread::CanvasContext& canvasContext; variable
DRenderNode.cpp187 if (info.canvasContext.createOrUpdateLayer(this, *info.damageAccumulator, info.errorHandler)) { in pushLayerUpdate()
205 info.canvasContext.markLayerInUse(this); in pushLayerUpdate()
/frameworks/base/libs/hwui/tests/unit/
DCanvasContextTests.cpp38 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local
41 ASSERT_FALSE(canvasContext->hasSurface()); in RENDERTHREAD_TEST()
43 canvasContext->destroy(); in RENDERTHREAD_TEST()
DRenderNodeTests.cpp276 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local
278 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
299 canvasContext->destroy(); in RENDERTHREAD_TEST()
312 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local
314 canvasContext->setSurface(nullptr); in RENDERTHREAD_TEST()
315 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
333 canvasContext->destroy(); in RENDERTHREAD_TEST()
DSkiaDisplayListTests.cpp144 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local
146 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
197 canvasContext->destroy(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
203 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local
212 canvasContext->setSurface(surface.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
214 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp336 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local
338 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
400 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local
402 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
520 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local
522 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
620 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local
622 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
636 std::unique_ptr<CanvasContext> canvasContext( in drawNode() local
638 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in drawNode()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp98 if (info.prepareTextures && !info.canvasContext.pinImages(mMutableImages)) { in prepareListAndChildren()
103 info.canvasContext.unpinImages(); in prepareListAndChildren()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp612 (jlong) info.canvasContext.getFrameNumber(), in android_view_RenderNode_requestPositionUpdates()
616 info.canvasContext.enqueueFrameWork(std::move(functor)); in android_view_RenderNode_requestPositionUpdates()
634 info ? info->canvasContext.getFrameNumber() : 0); in android_view_RenderNode_requestPositionUpdates()
698 info.canvasContext.getFrameNumber(), result.width, result.height, in android_view_RenderNode_requestPositionUpdates()