From 7b59a20011ad129440313cc47799a4169e86b923 Mon Sep 17 00:00:00 2001 From: Hparty <420024556@qq.com> Date: Tue, 14 Jan 2025 16:38:00 +0800 Subject: [PATCH] bugfix and update version.json --- src/core/filters/BlurImageFilter.cpp | 3 ++- test/baseline/version.json | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/core/filters/BlurImageFilter.cpp b/src/core/filters/BlurImageFilter.cpp index 155b09dc..fa7b28d5 100644 --- a/src/core/filters/BlurImageFilter.cpp +++ b/src/core/filters/BlurImageFilter.cpp @@ -131,7 +131,8 @@ std::shared_ptr BlurImageFilter::lockTextureProxy(std::shared_ptr< // intersect the bounds. auto boundsWillSample = filterBounds(clipBounds); auto filterOriginBounds = filterBounds(Rect::MakeWH(source->width(), source->height())); - DEBUG_ASSERT(boundsWillSample.intersect(filterOriginBounds)); + auto intersectResult = boundsWillSample.intersect(filterOriginBounds); + DEBUG_ASSERT(intersectResult); // sampleOffset means the offset between the source bounds and the sample bounds. auto sampleOffset = Point::Make(boundsWillSample.left, boundsWillSample.top); diff --git a/test/baseline/version.json b/test/baseline/version.json index d6eab3ca..db7d2697 100644 --- a/test/baseline/version.json +++ b/test/baseline/version.json @@ -33,13 +33,13 @@ "drawColor": "b7aefeb", "drawImage": "6ab1e4f", "drawPaint": "b7aefeb", - "drawPaint_shadow": "270695a", + "drawPaint_shadow": "4d5c3b0", "drawShape": "e031f25", "filter_mode_linear": "d010fb8", "filter_mode_nearest": "d010fb8", "hardware_render_target_blend": "d010fb8", "inversePath_rect": "6fd4617", - "inversePath_text": "270695a", + "inversePath_text": "4d5c3b0", "merge_draw_call_rect": "d010fb8", "merge_draw_call_rrect": "d010fb8", "merge_draw_clear_op": "d010fb8", @@ -73,13 +73,13 @@ "AlphaThreshold_empty": "5012d73", "ComposeColorFilter": "f710e29", "ComposeImageFilter": "2028a1b", - "ComposeImageFilter2": "270695a", + "ComposeImageFilter2": "4d5c3b0", "EmptyShadowTest": "b9a42bf", "ImageFilterShader": "2028a1b", - "InnerShadowBadCase": "270695a", + "InnerShadowBadCase": "4d5c3b0", "ModeColorFilter": "c2b0b18", "RuntimeEffect": "d93c573", - "blur": "270695a", + "blur": "4d5c3b0", "blur-large-pixel": "270695a", "dropShadow": "a30de8b", "greyColorMatrix": "a30de8b",