Searched refs:canvasContext (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/ |
D | TreeInfo.cpp | 23 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()
|
D | TreeInfo.h | 74 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext); 80 renderthread::CanvasContext& canvasContext; variable
|
D | RenderNode.cpp | 187 if (info.canvasContext.createOrUpdateLayer(this, *info.damageAccumulator, info.errorHandler)) { in pushLayerUpdate() 205 info.canvasContext.markLayerInUse(this); in pushLayerUpdate()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasContextTests.cpp | 38 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 41 ASSERT_FALSE(canvasContext->hasSurface()); in RENDERTHREAD_TEST() 43 canvasContext->destroy(); in RENDERTHREAD_TEST()
|
D | RenderNodeTests.cpp | 276 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()
|
D | SkiaDisplayListTests.cpp | 144 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()
|
D | RenderNodeDrawableTests.cpp | 336 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/ |
D | SkiaDisplayList.cpp | 98 if (info.prepareTextures && !info.canvasContext.pinImages(mMutableImages)) { in prepareListAndChildren() 103 info.canvasContext.unpinImages(); in prepareListAndChildren()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 612 (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()
|