Skip to content

Commit 9459670

Browse files
authored
Rename GPU to raster thread in PerformanceOverlay (#17148)
Rename GPU to raster thread in PerformanceOverlay and update goldens.
1 parent bb35963 commit 9459670

5 files changed

Lines changed: 2 additions & 2 deletions

‎flow/layers/performance_overlay_layer.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void PerformanceOverlayLayer::Paint(PaintContext& context) const {
8989
VisualizeStopWatch(
9090
*context.leaf_nodes_canvas, context.raster_time, x, y, width,
9191
height - padding, options_ & kVisualizeRasterizerStatistics,
92-
options_ & kDisplayRasterizerStatistics, "GPU", font_path_);
92+
options_ & kDisplayRasterizerStatistics, "Raster", font_path_);
9393

9494
VisualizeStopWatch(*context.leaf_nodes_canvas, context.ui_time, x, y + height,
9595
width, height - padding,

‎flow/layers/performance_overlay_layer_unittests.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ TEST_F(PerformanceOverlayLayerTest, SimpleRasterizerStatistics) {
163163

164164
layer->Paint(paint_context());
165165
auto overlay_text = PerformanceOverlayLayer::MakeStatisticsText(
166-
paint_context().raster_time, "GPU", "");
166+
paint_context().raster_time, "Raster", "");
167167
auto overlay_text_data = overlay_text->serialize(SkSerialProcs{});
168168
SkPaint text_paint;
169169
text_paint.setColor(SK_ColorGRAY);
-68 Bytes
Loading
-12 Bytes
Loading
-66 Bytes
Loading

0 commit comments

Comments
 (0)