Definition at line 34 of file skparagraph_benchmarks.cc.
◆ SetUp()
void SkParagraphFixture::SetUp |
( |
const ::benchmark::State & |
state | ) |
|
|
inline |
Definition at line 36 of file skparagraph_benchmarks.cc.
36 {
38
39 bitmap_ = std::make_unique<SkBitmap>();
40 bitmap_->allocN32Pixels(1000, 1000);
43 }
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: