Home
last modified time | relevance | path

Searched refs:unionRect (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable_autocache.cpp98 auto& unionRect = GetOpListUnionArea(); in OpincCanvasUnionTranslate() local
99 canvas.Translate(-unionRect.GetLeft(), -unionRect.GetTop()); in OpincCanvasUnionTranslate()
107 auto& unionRect = GetOpListUnionArea(); in ResumeOpincCanvasTranslate() local
108 canvas.Translate(unionRect.GetLeft(), unionRect.GetTop()); in ResumeOpincCanvasTranslate()
277 auto& unionRect = opListDrawAreas_.GetOpInfo().unionRect; in DrawAutoCache() local
279 if (unionRect.IsEmpty() || drawRects.size() == 0) { in DrawAutoCache()
284 srcRect.Offset(-unionRect.GetLeft(), -unionRect.GetTop()); in DrawAutoCache()
298 auto& unionRect = opListDrawAreas_.GetOpInfo().unionRect; in DrawAutoCacheDfx() local
306 canvas.DrawRect(unionRect); in DrawAutoCacheDfx()
343 auto& unionRect = opListDrawAreas_.GetOpInfo().unionRect; in GetNodeDebugInfo() local
[all …]
H A Drs_render_node_drawable.cpp497 auto& unionRect = GetOpListUnionArea(); in InitCachedSurface() local
498 width = static_cast<int32_t>(unionRect.GetWidth()); in InitCachedSurface()
499 height = static_cast<int32_t>(unionRect.GetHeight()); in InitCachedSurface()
544 auto& unionRect = GetOpListUnionArea(); in NeedInitCachedSurface() local
545 width = static_cast<int32_t>(unionRect.GetWidth()); in NeedInitCachedSurface()
546 height = static_cast<int32_t>(unionRect.GetHeight()); in NeedInitCachedSurface()
666 auto& unionRect = GetOpListUnionArea(); in DrawCachedImage() local
667 scaleX = unionRect.GetWidth() / static_cast<float>(cacheImage->GetWidth()); in DrawCachedImage()
668 scaleY = unionRect.GetHeight() / static_cast<float>(cacheImage->GetHeight()); in DrawCachedImage()
H A Drs_render_node_drawable.h100 return opListDrawAreas_.GetOpInfo().unionRect; in GetOpListUnionArea()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A DOpListHandle.h45 Rect unionRect; member
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_render_node_drawable_test.cpp374 .unionRect = Drawing::Rect { 100, 100, 300, 300 },
686 Drawing::Rect unionRect(0.f, 0.f, 0.f, 0.f); variable
687 drawable->opListDrawAreas_.opInfo_.unionRect = unionRect;
H A Drs_render_node_drawable_autocache_test.cpp354 drawable->opListDrawAreas_.opInfo_.unionRect = { 0.f, 0.f, 1.f, 1.f }; // for test
385 drawable->opListDrawAreas_.opInfo_.unionRect = { 0.f, 0.f, 1.f, 1.f };
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_canvas.cpp651 …Drawing::Rect unionRect(skUnionRect.left(), skUnionRect.top(), skUnionRect.right(), skUnionRect.bo… in OpCalculateAfter() local
656 …Drawing::OpListHandle::OpInfo opinfo{ true, opNum, percent, std::move(unionRect), std::move(rects)… in OpCalculateAfter()