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.getForceDarkType() == ForceDarkType::NONE ? 1 : 0) in TreeInfo() 28 , forceDarkType(canvasContext.getForceDarkType()) in TreeInfo() 29 , screenSize(canvasContext.getNextFrameSize()) {} in TreeInfo()
|
D | TreeInfo.h | 77 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext); 83 renderthread::CanvasContext& canvasContext; variable
|
D | RenderNode.cpp | 197 if (info.canvasContext.createOrUpdateLayer(this, *info.damageAccumulator, info.errorHandler)) { in pushLayerUpdate() 215 info.canvasContext.markLayerInUse(this); in pushLayerUpdate()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasContextTests.cpp | 39 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 42 ASSERT_FALSE(canvasContext->hasOutputTarget()); in RENDERTHREAD_TEST() 44 canvasContext->destroy(); in RENDERTHREAD_TEST() 58 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 60 canvasContext->buildLayer(node.get()); in RENDERTHREAD_TEST()
|
D | RenderNodeTests.cpp | 275 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 277 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 298 canvasContext->destroy(); in RENDERTHREAD_TEST() 311 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 313 canvasContext->setSurface(nullptr); in RENDERTHREAD_TEST() 314 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 332 canvasContext->destroy(); in RENDERTHREAD_TEST()
|
D | SkiaDisplayListTests.cpp | 169 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 171 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_TEST() 222 canvasContext->destroy(); in RENDERTHREAD_TEST() 228 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 237 canvasContext->setSurface(surface.get()); in RENDERTHREAD_TEST() 239 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_TEST()
|
D | RenderNodeDrawableTests.cpp | 339 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 341 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 403 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 405 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 523 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 525 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 623 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 625 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 639 std::unique_ptr<CanvasContext> canvasContext( in drawNode() local 641 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in drawNode()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 100 if (info.prepareTextures && !info.canvasContext.pinImages(mMutableImages)) { in prepareListAndChildren() 105 info.canvasContext.unpinImages(); in prepareListAndChildren() 109 auto grContext = info.canvasContext.getGrContext(); in prepareListAndChildren()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 652 static_cast<jlong>(info.canvasContext.getFrameNumber()), in android_view_RenderNode_requestPositionUpdates() 658 static_cast<jlong>(info.canvasContext.getFrameNumber()), in android_view_RenderNode_requestPositionUpdates() 691 info ? info->canvasContext.getFrameNumber() : 0); in android_view_RenderNode_requestPositionUpdates() 750 info.canvasContext.getFrameNumber(), result.width, result.height, in android_view_RenderNode_requestPositionUpdates()
|