Home
last modified time | relevance | path

Searched refs:RSPropertiesPainter (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_painter_test.cpp59 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 Drs_property_drawable_bounds_geometry.cpp89 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 Drs_properties_painter.cpp73 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 Drs_property_drawable_frame_geometry.cpp94 …canvas.ClipRect(RSPropertiesPainter::Rect2DrawingRect(content.GetRenderProperties().GetFrameRect()… in Draw()
H A Drs_property_drawable_utilities.cpp121 … auto rect = RSPropertiesPainter::Rect2DrawingRect(content.GetRenderProperties().GetBoundsRect()); in Draw()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_engine.cpp61 RSPropertiesPainter::DrawShadow(property, canvas, &params.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 Drs_uni_ui_capture.cpp423 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 Drs_uni_render_engine.cpp150 …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 Drsproperty_fuzzer.cpp327 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 Drs_effect_render_node.cpp91 RSPropertiesPainter::DrawBackgroundEffect(properties, canvas); in ProcessRenderBeforeChildren()
94 RSPropertiesPainter::DrawBackgroundImageAsEffect(properties, canvas); in ProcessRenderBeforeChildren()
H A Drs_canvas_render_node.cpp149 RSPropertiesPainter::DrawShadow(GetRenderProperties(), canvas); in DrawShadow()
150 RSPropertiesPainter::DrawOutline(GetRenderProperties(), canvas); in DrawShadow()
H A Drs_surface_render_node.cpp603 RSPropertiesPainter::DrawShadow(property, canvas, &absClipRRect); in ProcessAnimatePropertyBeforeChildren()
604 RSPropertiesPainter::DrawOutline(property, canvas); in ProcessAnimatePropertyBeforeChildren()
608RSPropertiesPainter::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 Drs_render_node.cpp1282RSPropertiesPainter::GetShadowDirtyRect(localShadowRect_, properties, &absClipRRect, false, true); in CollectAndUpdateLocalShadowRect()
1284RSPropertiesPainter::GetShadowDirtyRect(localShadowRect_, properties, nullptr, false, true); in CollectAndUpdateLocalShadowRect()
1295 RSPropertiesPainter::GetOutlineDirtyRect(localOutlineRect_, GetRenderProperties(), false); in CollectAndUpdateLocalOutlineRect()
1304RSPropertiesPainter::GetPixelStretchDirtyRect(localPixelStretchRect_, GetRenderProperties(), false… in CollectAndUpdateLocalPixelStretchRect()
1323RSPropertiesPainter::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()
2588RSPropertiesPainter::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 Drs_property_drawable_background.cpp242 … 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 Drs_canvas_render_node.h88 friend class RSPropertiesPainter; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread_visitor.cpp521 (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 Drs_image_base.cpp125 auto src = RSPropertiesPainter::Rect2DrawingRect(srcRect_); in DrawImage()
126 auto dst = RSPropertiesPainter::Rect2DrawingRect(dstRect_); in DrawImage()
H A Drs_material_filter.cpp209 auto colorPicker = RSPropertiesPainter::CalcAverageColor(imageSnapshot); in PreProcess()
295 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
H A Drs_blur_filter.cpp152 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
H A Drs_image.cpp380 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 Drs_dma_buffer_surface_render_node_drawable.cpp192 …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 Drs_render_modifier.cpp164 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 Drs_properties_painter.h37 class RSB_EXPORT RSPropertiesPainter {
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_border_test.cpp130 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 Drs_render_params.cpp85 auto rect = RSPropertiesPainter::Rect2DrawingRect(GetLocalDrawRect()); in ApplyAlphaAndMatrixToCanvas()

12