Skip to content

Commit

Permalink
bugfix and update version.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Hparty committed Jan 14, 2025
1 parent 53ed252 commit 7b59a20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/core/filters/BlurImageFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ std::shared_ptr<TextureProxy> 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);
Expand Down
10 changes: 5 additions & 5 deletions test/baseline/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 7b59a20

Please sign in to comment.