Skip to content

Commit

Permalink
Update the baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
domchen committed Jan 21, 2025
1 parent 3b0ec3b commit 7d938d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
6 changes: 2 additions & 4 deletions src/gpu/RenderContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,10 @@ std::pair<std::optional<Rect>, bool> RenderContext::getClipRect(const Path& clip
rect.round();
if (rect != Rect::MakeWH(renderTarget->width(), renderTarget->height())) {
return {rect, true};
} else {
return {Rect::MakeEmpty(), false};
}
} else {
return {rect, false};
return {Rect::MakeEmpty(), false};
}
return {rect, false};
}
return {{}, false};
}
Expand Down
20 changes: 10 additions & 10 deletions test/baseline/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"Path_addArc_reversed8": "4802e56",
"Path_complex": "e031f25",
"Picture": "002c391",
"PictureImage": "270695a",
"PictureImage": "3b0ec3b",
"PictureImage_Path": "2212c4e",
"PictureImage_Text": "b062b9a",
"StrokeShape": "a0a5068",
Expand All @@ -33,21 +33,21 @@
"drawColor": "b7aefeb",
"drawImage": "6ab1e4f",
"drawPaint": "b7aefeb",
"drawPaint_shadow": "4d5c3b0",
"drawPaint_shadow": "3b0ec3b",
"drawShape": "e031f25",
"filter_mode_linear": "d010fb8",
"filter_mode_nearest": "d010fb8",
"hardware_render_target_blend": "d010fb8",
"inversePath_rect": "6fd4617",
"inversePath_text": "4d5c3b0",
"inversePath_text": "3b0ec3b",
"merge_draw_call_rect": "d010fb8",
"merge_draw_call_rrect": "d010fb8",
"merge_draw_clear_op": "d010fb8",
"mipmap_linear": "836aed9",
"mipmap_linear_hardware": "836aed9",
"mipmap_linear": "3b0ec3b",
"mipmap_linear_hardware": "3b0ec3b",
"mipmap_linear_texture_effect": "d010fb8",
"mipmap_nearest": "836aed9",
"mipmap_none": "836aed9",
"mipmap_nearest": "3b0ec3b",
"mipmap_none": "3b0ec3b",
"path": "f37b222",
"rasterized": "5a971dd",
"rasterized_mipmap": "5a971dd",
Expand Down Expand Up @@ -81,7 +81,7 @@
"OpacityShadowTest": "836aed9",
"RuntimeEffect": "d93c573",
"blur": "4d5c3b0",
"blur-large-pixel": "270695a",
"blur-large-pixel": "3b0ec3b",
"dropShadow": "a30de8b",
"greyColorMatrix": "a30de8b",
"identityMatrix": "a30de8b",
Expand Down Expand Up @@ -117,7 +117,7 @@
"filterClip": "43cd416",
"filterTest": "44166b7",
"filters": "270695a",
"getBounds": "836aed9",
"getBounds": "3b0ec3b",
"getLayersUnderPoint": "b062b9a",
"greyColorMatrix": "a1605b2",
"identityMatrix": "a1605b2",
Expand Down Expand Up @@ -209,6 +209,6 @@
"TextAlignSimulateVerticalTextLayout": "b062b9a",
"TextAlignWidth0Height0": "b062b9a",
"TextAlignWidth1Height10": "b062b9a",
"TruncateTextLineTest": "836aed9"
"TruncateTextLineTest": "3b0ec3b"
}
}

0 comments on commit 7d938d5

Please sign in to comment.