/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_painter_test.cpp | 59 RSPropertiesPainter::Rect2DrawingRect(rect); 72 RSPropertiesPainter::RRect2DrawingRRect(rrect); 166 RSPropertiesPainter::Clip(canvas, rect, true); 568 RSPropertiesPainter::GetDarkColor(color); 610 RSPropertiesPainter::MakeGreyAdjustmentEffect(); 665 RSPropertiesPainter::DrawFilter( 888 bool res = RSPropertiesPainter::GetBgAntiAlias(); 938 RSPropertiesPainter::GetPhongShaderBuilder(); 941 RSPropertiesPainter::GetPhongShaderBuilder(); 1294 RSPropertiesPainter::IsDangerousBlendMode(1, 0); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 89 RSPropertiesPainter::DrawLight(properties, canvas); in Draw() 132 outer_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange() 134 inner_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange() 196 borderPath_.AddRoundRect(RSPropertiesPainter::RRect2DrawingRRect(rrect)); in OnBoundsChange() 216 rrect_ = RSPropertiesPainter::RRect2DrawingRRect(properties.GetRRect()); in OnBoundsChange() 669 if (!RSPropertiesPainter::BLUR_ENABLED) { in Generate() 696 if (!RSPropertiesPainter::BLUR_ENABLED) { in Generate() 729 if (!RSPropertiesPainter::FOREGROUND_FILTER_ENABLED) { in Generate() 775 if (!RSPropertiesPainter::FOREGROUND_FILTER_ENABLED) { in Generate() 889 RSPropertiesPainter::DrawParticle(content.GetRenderProperties(), canvas); in Draw() [all …]
|
H A D | rs_properties_painter.cpp | 73 Drawing::Rect RSPropertiesPainter::Rect2DrawingRect(const RectF& r) in Rect2DrawingRect() 331 void RSPropertiesPainter::DrawColorfulShadowInner( in DrawColorfulShadowInner() 359 void RSPropertiesPainter::GetDarkColor(RSColor& color) in GetDarkColor() 409 void RSPropertiesPainter::DrawShadowInner( in DrawShadowInner() 718 RSPropertiesPainter::DrawBackground(properties, *offscreenCanvas); in DrawBackgroundImageAsEffect() 725 void RSPropertiesPainter::DrawBackgroundEffect( in DrawBackgroundEffect() 1047 int RSPropertiesPainter::GetAndResetBlurCnt() in GetAndResetBlurCnt() 1100 void RSPropertiesPainter::SetBgAntiAlias(bool forceBgAntiAlias) in SetBgAntiAlias() 1105 bool RSPropertiesPainter::GetBgAntiAlias() in GetBgAntiAlias() 1110 void RSPropertiesPainter::DrawFrame( in DrawFrame() [all …]
|
H A D | rs_property_drawable_frame_geometry.cpp | 94 …canvas.ClipRect(RSPropertiesPainter::Rect2DrawingRect(content.GetRenderProperties().GetFrameRect()… in Draw()
|
H A D | rs_property_drawable_utilities.cpp | 121 … auto rect = RSPropertiesPainter::Rect2DrawingRect(content.GetRenderProperties().GetBoundsRect()); in Draw()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_engine.cpp | 61 RSPropertiesPainter::DrawShadow(property, canvas, ¶ms.clipRRect); in DrawSurfaceNodeWithParams() 62 RSPropertiesPainter::DrawOutline(property, canvas); in DrawSurfaceNodeWithParams() 166 RSPropertiesPainter::DrawMask( in RSSurfaceNodeCommonPreProcess() 167 node.GetRenderProperties(), canvas, RSPropertiesPainter::Rect2DrawingRect(maskBounds)); in RSSurfaceNodeCommonPreProcess() 170 RSPropertiesPainter::DrawFilter(property, canvas, FilterType::BACKGROUND_FILTER, in RSSurfaceNodeCommonPreProcess() 180 RSPropertiesPainter::DrawFilter(property, canvas, FilterType::FOREGROUND_FILTER, in RSSurfaceNodeCommonPostProcess()
|
H A D | rs_uni_ui_capture.cpp | 423 RSPropertiesPainter::DrawShadow(property, *canvas_, &absClipRRect); in ProcessSurfaceViewWithUni() 424 RSPropertiesPainter::DrawOutline(property, *canvas_); in ProcessSurfaceViewWithUni() 427 canvas_->ClipRoundRect(RSPropertiesPainter::RRect2DrawingRRect(absClipRRect), in ProcessSurfaceViewWithUni() 433 RSPropertiesPainter::DrawBackground(property, *canvas_); in ProcessSurfaceViewWithUni() 434 RSPropertiesPainter::DrawMask(property, *canvas_); in ProcessSurfaceViewWithUni() 435 RSPropertiesPainter::DrawFilter(property, *canvas_, FilterType::BACKGROUND_FILTER); in ProcessSurfaceViewWithUni() 458 RSPropertiesPainter::DrawFilter(property, *canvas_, FilterType::FOREGROUND_FILTER); in ProcessSurfaceViewWithUni()
|
H A D | rs_uni_render_engine.cpp | 150 …canvas.ClipRoundRect(RSPropertiesPainter::RRect2DrawingRRect(rrect), Drawing::ClipOp::INTERSECT, t… in DrawLayerPreProcess()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/ |
H A D | rsproperty_fuzzer.cpp | 327 RSPropertiesPainter::Clip(tmpCanvas, rect); in RSPropertiesPainterFuzzTest() 328 RSPropertiesPainter::DrawBorder(properties, tmpCanvas); in RSPropertiesPainterFuzzTest() 329 RSPropertiesPainter::GetShadowDirtyRect(dirtyShadow, properties); in RSPropertiesPainterFuzzTest() 330 RSPropertiesPainter::DrawForegroundColor(properties, tmpCanvas); in RSPropertiesPainterFuzzTest() 331 RSPropertiesPainter::DrawMask(properties, tmpCanvas); in RSPropertiesPainterFuzzTest() 332 RSPropertiesPainter::DrawMask(properties, tmpCanvas, maskBounds); in RSPropertiesPainterFuzzTest() 333 RSPropertiesPainter::GetGravityMatrix(gravity, rect, fW, fH, mat); in RSPropertiesPainterFuzzTest() 334 RSPropertiesPainter::Rect2DrawingRect(rect); in RSPropertiesPainterFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_effect_render_node.cpp | 91 RSPropertiesPainter::DrawBackgroundEffect(properties, canvas); in ProcessRenderBeforeChildren() 94 RSPropertiesPainter::DrawBackgroundImageAsEffect(properties, canvas); in ProcessRenderBeforeChildren()
|
H A D | rs_canvas_render_node.cpp | 149 RSPropertiesPainter::DrawShadow(GetRenderProperties(), canvas); in DrawShadow() 150 RSPropertiesPainter::DrawOutline(GetRenderProperties(), canvas); in DrawShadow()
|
H A D | rs_surface_render_node.cpp | 603 RSPropertiesPainter::DrawShadow(property, canvas, &absClipRRect); in ProcessAnimatePropertyBeforeChildren() 604 RSPropertiesPainter::DrawOutline(property, canvas); in ProcessAnimatePropertyBeforeChildren() 608 … RSPropertiesPainter::RRect2DrawingRRect(absClipRRect), Drawing::ClipOp::INTERSECT, true); in ProcessAnimatePropertyBeforeChildren() 615 RSPropertiesPainter::DrawBackground( in ProcessAnimatePropertyBeforeChildren() 618 RSPropertiesPainter::DrawBackground(property, canvas); in ProcessAnimatePropertyBeforeChildren() 620 RSPropertiesPainter::DrawMask(property, canvas); in ProcessAnimatePropertyBeforeChildren() 621 RSPropertiesPainter::DrawFilter(property, canvas, FilterType::BACKGROUND_FILTER); in ProcessAnimatePropertyBeforeChildren() 638 RSPropertiesPainter::DrawFilter(property, canvas, FilterType::FOREGROUND_FILTER); in ProcessAnimatePropertyAfterChildren() 644 RSPropertiesPainter::DrawOutline(property, canvas); in ProcessAnimatePropertyAfterChildren() 645 RSPropertiesPainter::DrawBorder(property, canvas); in ProcessAnimatePropertyAfterChildren() [all …]
|
H A D | rs_render_node.cpp | 1282 … RSPropertiesPainter::GetShadowDirtyRect(localShadowRect_, properties, &absClipRRect, false, true); in CollectAndUpdateLocalShadowRect() 1284 … RSPropertiesPainter::GetShadowDirtyRect(localShadowRect_, properties, nullptr, false, true); in CollectAndUpdateLocalShadowRect() 1295 RSPropertiesPainter::GetOutlineDirtyRect(localOutlineRect_, GetRenderProperties(), false); in CollectAndUpdateLocalOutlineRect() 1304 …RSPropertiesPainter::GetPixelStretchDirtyRect(localPixelStretchRect_, GetRenderProperties(), false… in CollectAndUpdateLocalPixelStretchRect() 1323 …RSPropertiesPainter::GetDistortionEffectDirtyRect(localDistortionEffectRect_, GetRenderProperties(… in CollectAndUpdateLocalDistortionEffectRect() 1661 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, properties, &absClipRRect); in UpdateDirtyRegion() 1663 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, properties); in UpdateDirtyRegion() 1676 RSPropertiesPainter::GetOutlineDirtyRect(outlineRect, properties); in UpdateDirtyRegion() 2588 … RSPropertiesPainter::GetShadowDirtyRect(shadowRect, GetRenderProperties(), &rRect, false, false); in UpdateShadowRect() 2799 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, GetRenderProperties(), &rrect, false); in NeedInitCacheSurface() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_background.cpp | 242 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate() 255 canvas.DrawRect(RSPropertiesPainter::Rect2DrawingRect(properties.GetBoundsRect())); in OnUpdate() 257 … canvas.DrawRect(RSPropertiesPainter::RRect2DrawingRRect(properties.GetInnerRRect()).GetRect()); in OnUpdate() 288 … bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate() 301 canvas.DrawRect(RSPropertiesPainter::Rect2DrawingRect(properties.GetBoundsRect())); in OnUpdate() 303 … canvas.DrawRect(RSPropertiesPainter::RRect2DrawingRRect(properties.GetInnerRRect()).GetRect()); in OnUpdate()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_canvas_render_node.h | 88 friend class RSPropertiesPainter; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_visitor.cpp | 521 (void)RSPropertiesPainter::GetGravityMatrix( in ProcessRootRenderNode() 650 RSPropertiesPainter::DrawSpherize( in ProcessCanvasRenderNode() 904 RSPropertiesPainter::DrawBackground(node.GetRenderProperties(), *canvas_); in ProcessSurfaceRenderNode() 960 RSPropertiesPainter::DrawOutline(node.GetRenderProperties(), *canvas_); in ProcessSurfaceRenderNode() 961 RSPropertiesPainter::DrawBorder(node.GetRenderProperties(), *canvas_); in ProcessSurfaceRenderNode()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_base.cpp | 125 auto src = RSPropertiesPainter::Rect2DrawingRect(srcRect_); in DrawImage() 126 auto dst = RSPropertiesPainter::Rect2DrawingRect(dstRect_); in DrawImage()
|
H A D | rs_material_filter.cpp | 209 auto colorPicker = RSPropertiesPainter::CalcAverageColor(imageSnapshot); in PreProcess() 295 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
|
H A D | rs_blur_filter.cpp | 152 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
|
H A D | rs_image.cpp | 380 Drawing::RoundRect rrect(RSPropertiesPainter::Rect2DrawingRect(rect), radius_); in ApplyCanvasClip() 466 src_ = RSPropertiesPainter::Rect2DrawingRect(srcRect_); in DrawImageRepeatRect()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_dma_buffer_surface_render_node_drawable.cpp | 192 …canvas.ClipRoundRect(RSPropertiesPainter::RRect2DrawingRRect(rrect), Drawing::ClipOp::INTERSECT, t… in ClipRoundRect()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/ |
H A D | rs_render_modifier.cpp | 164 RSPropertiesPainter::DrawFrame(context.properties_, *context.canvas_, cmds); in Apply() 254 auto colorPicker = RSPropertiesPainter::CalcAverageColor(imageSnapshot); in GetInvertBackgroundColor()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties_painter.h | 37 class RSB_EXPORT RSPropertiesPainter {
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_border_test.cpp | 130 RSPropertiesPainter::DrawBorder(properties, canvas); 133 RSPropertiesPainter::DrawBorder(properties, canvas); 136 RSPropertiesPainter::DrawBorder(properties, canvas); 140 RSPropertiesPainter::DrawBorder(properties, canvas);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_render_params.cpp | 85 auto rect = RSPropertiesPainter::Rect2DrawingRect(GetLocalDrawRect()); in ApplyAlphaAndMatrixToCanvas()
|