Definition at line 35 of file skparagraph_benchmarks.cc.
◆ SetUp()
void SkParagraphFixture::SetUp |
( |
const ::benchmark::State & |
state | ) |
|
|
inline |
Definition at line 37 of file skparagraph_benchmarks.cc.
37 {
39
40 bitmap_ = std::make_unique<SkBitmap>();
41 bitmap_->allocN32Pixels(1000, 1000);
44 }
constexpr SkColor SK_ColorWHITE
std::unique_ptr< SkCanvas > canvas_
sk_sp< sktxt::TestFontCollection > font_collection_
std::unique_ptr< SkBitmap > bitmap_
const std::string & GetFontDir()
◆ bitmap_
std::unique_ptr<SkBitmap> SkParagraphFixture::bitmap_ |
|
protected |
◆ canvas_
std::unique_ptr<SkCanvas> SkParagraphFixture::canvas_ |
|
protected |
◆ font_collection_
The documentation for this class was generated from the following file: