mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Rename GPU to raster thread in PerformanceOverlay (flutter/engine#17148)
Rename GPU to raster thread in PerformanceOverlay and update goldens.
This commit is contained in:
parent
d968e224ca
commit
a7073893f4
@ -89,7 +89,7 @@ void PerformanceOverlayLayer::Paint(PaintContext& context) const {
|
||||
VisualizeStopWatch(
|
||||
*context.leaf_nodes_canvas, context.raster_time, x, y, width,
|
||||
height - padding, options_ & kVisualizeRasterizerStatistics,
|
||||
options_ & kDisplayRasterizerStatistics, "GPU", font_path_);
|
||||
options_ & kDisplayRasterizerStatistics, "Raster", font_path_);
|
||||
|
||||
VisualizeStopWatch(*context.leaf_nodes_canvas, context.ui_time, x, y + height,
|
||||
width, height - padding,
|
||||
|
||||
@ -163,7 +163,7 @@ TEST_F(PerformanceOverlayLayerTest, SimpleRasterizerStatistics) {
|
||||
|
||||
layer->Paint(paint_context());
|
||||
auto overlay_text = PerformanceOverlayLayer::MakeStatisticsText(
|
||||
paint_context().raster_time, "GPU", "");
|
||||
paint_context().raster_time, "Raster", "");
|
||||
auto overlay_text_data = overlay_text->serialize(SkSerialProcs{});
|
||||
SkPaint text_paint;
|
||||
text_paint.setColor(SK_ColorGRAY);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Loading…
x
Reference in New Issue
Block a user