#include <performance_overlay_layer.h>
Static Public Member Functions | |
| static SkFont | MakeStatisticsFont (std::string_view font_path) |
| static sk_sp< SkTextBlob > | MakeStatisticsText (const Stopwatch &stopwatch, const SkFont &font, std::string_view label_prefix) |
Additional Inherited Members | |
Static Public Attributes inherited from flutter::Layer | |
| static constexpr int | kSaveLayerRenderFlags |
| static constexpr int | kRasterCacheRenderFlags |
Definition at line 23 of file performance_overlay_layer.h.
|
explicit |
Definition at line 107 of file performance_overlay_layer.cc.
|
inlineoverridevirtual |
Reimplemented from flutter::Layer.
Definition at line 37 of file performance_overlay_layer.h.
|
overridevirtual |
Reimplemented from flutter::Layer.
Definition at line 115 of file performance_overlay_layer.cc.
References flutter::Layer::as_performance_overlay_layer(), context, FML_DCHECK, and flutter::Layer::paint_bounds().
|
inlineoverridevirtual |
Reimplemented from flutter::Layer.
Definition at line 31 of file performance_overlay_layer.h.
References flutter::Layer::as_performance_overlay_layer().
|
static |
Definition at line 71 of file performance_overlay_layer.cc.
References txt::GetDefaultFontManager().
Referenced by Paint(), and flutter::testing::TEST_F().
|
static |
Definition at line 88 of file performance_overlay_layer.cc.
References flutter::Stopwatch::AverageDelta(), FML_DCHECK, flutter::Stopwatch::MaxDelta(), text, and fml::TimeDelta::ToMillisecondsF().
Referenced by flutter::testing::TEST_F().
|
overridevirtual |
Implements flutter::Layer.
Definition at line 127 of file performance_overlay_layer.cc.
References context, impeller::TRect< T >::GetHeight(), impeller::TRect< T >::GetWidth(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), height, flutter::kDisplayEngineStatistics, flutter::kDisplayRasterizerStatistics, flutter::kVisualizeEngineStatistics, flutter::kVisualizeRasterizerStatistics, MakeStatisticsFont(), padding, flutter::Layer::paint_bounds(), width, x, and y.
|
inlineoverridevirtual |