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 D | rs_render_node_drawable_autocache.cpp | 98 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 D | rs_render_node_drawable.cpp | 497 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 D | rs_render_node_drawable.h | 100 return opListDrawAreas_.GetOpInfo().unionRect; in GetOpListUnionArea()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | OpListHandle.h | 45 Rect unionRect; member
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_render_node_drawable_test.cpp | 374 .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 D | rs_render_node_drawable_autocache_test.cpp | 354 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 D | skia_canvas.cpp | 651 …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()
|