Definition at line 29 of file graphite_replay.cpp.
◆ GraphiteReplayGM()
skiagm::GraphiteReplayGM::GraphiteReplayGM |
( |
| ) |
|
|
default |
◆ getISize()
SkISize skiagm::GraphiteReplayGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::GraphiteReplayGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onAnimate()
bool skiagm::GraphiteReplayGM::onAnimate |
( |
double |
nanos | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 43 of file graphite_replay.cpp.
43 {
44 fStartX = kTileWidth * (1.0f + sinf(nanos * 1
e-9)) * 0.5f;
45 return true;
46 }
◆ onDraw()
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 48 of file graphite_replay.cpp.
48 {
49#if defined(SK_GRAPHITE)
51 if (recorder) {
52 this->drawGraphite(canvas, recorder);
54 }
55#endif
56 return this->drawNonGraphite(canvas, errorMsg);
57 }
virtual skgpu::graphite::Recorder * recorder() const
◆ onOnceBeforeDraw()
void skiagm::GraphiteReplayGM::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: