#include <RecordingBench.h>
Definition at line 14 of file RecordingBench.h.
◆ INHERITED
◆ PictureCentricBench()
PictureCentricBench::PictureCentricBench |
( |
const char * |
name, |
|
|
const SkPicture * |
pic |
|
) |
| |
Definition at line 14 of file RecordingBench.cpp.
15
18));
20}
sk_sp< const SkPicture > fSrc
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
virtual SkRect cullRect() const =0
virtual void playback(SkCanvas *canvas, AbortCallback *callback=nullptr) const =0
DEF_SWITCHES_START aot vmservice shared library name
◆ isSuitableFor()
bool PictureCentricBench::isSuitableFor |
( |
Backend |
backend | ) |
|
|
overrideprotectedvirtual |
◆ onGetName()
const char * PictureCentricBench::onGetName |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ onGetSize()
SkISize PictureCentricBench::onGetSize |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 30 of file RecordingBench.cpp.
30 {
33}
#define SkScalarCeilToInt(x)
static constexpr SkISize Make(int32_t w, int32_t h)
constexpr float height() const
constexpr float width() const
◆ fName
◆ fSrc
The documentation for this class was generated from the following files: