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 , damageGenerationId(canvasContext.getFrameNumber()) in TreeInfo() 28 , disableForceDark(canvasContext.useForceDark() ? 0 : 1) in TreeInfo() 29 , screenSize(canvasContext.getNextFrameSize()) {} in TreeInfo()
|
D | TreeInfo.h | 75 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext); 81 renderthread::CanvasContext& canvasContext; variable
|
D | RenderNode.cpp | 176 if (info.canvasContext.createOrUpdateLayer(this, *info.damageAccumulator, info.errorHandler)) { in pushLayerUpdate() 191 info.canvasContext.markLayerInUse(this); in pushLayerUpdate() 364 if (!mDisplayList->reuseDisplayList(this, info ? &info->canvasContext : nullptr)) { in deleteDisplayList()
|
/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 | 272 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 274 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 295 canvasContext->destroy(); in RENDERTHREAD_TEST() 308 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 310 canvasContext->setSurface(nullptr); in RENDERTHREAD_TEST() 311 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 329 canvasContext->destroy(); in RENDERTHREAD_TEST()
|
D | SkiaDisplayListTests.cpp | 145 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local 147 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 198 canvasContext->destroy(); in RENDERTHREAD_SKIA_PIPELINE_TEST() 204 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local 214 canvasContext->setSurface(std::move(surface)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 216 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeDrawableTests.cpp | 335 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 337 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 399 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local 401 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 519 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_SKIA_PIPELINE_TEST() local 521 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 619 std::unique_ptr<CanvasContext> canvasContext( in RENDERTHREAD_TEST() local 621 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 635 std::unique_ptr<CanvasContext> canvasContext( in drawNode() local 637 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in drawNode()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 84 if (info.prepareTextures && !info.canvasContext.pinImages(mMutableImages)) { in prepareListAndChildren() 89 info.canvasContext.unpinImages(); in prepareListAndChildren() 145 static_cast<SkiaPipeline*>(info.canvasContext.getRenderPipeline()) in prepareListAndChildren()
|
/frameworks/base/core/jni/ |
D | android_view_RenderNode.cpp | 564 (jlong) info.canvasContext.getFrameNumber(), in android_view_RenderNode_requestPositionUpdates() 568 info.canvasContext.enqueueFrameWork(std::move(functor)); in android_view_RenderNode_requestPositionUpdates() 590 info ? info->canvasContext.getFrameNumber() : 0); in android_view_RenderNode_requestPositionUpdates()
|