diff options
| author | reed <reed@chromium.org> | 2015-01-25 10:33:58 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-01-25 10:33:58 -0800 |
| commit | 96a857ef5a40b3d0751ec9ebaaa96d9f20b82b21 (patch) | |
| tree | 06ce8d7d5fd00f4e4d0d5d36f1804dd3e6e2ab7e /samplecode/SampleApp.cpp | |
| parent | dadbb357c87922c0631e66fc9b24313273af11c5 (diff) | |
initial preroll api
BUG=skia:
Review URL: https://codereview.chromium.org/855473002
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 105976d2f4..aa2130e8f0 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -1340,6 +1340,10 @@ void SampleWindow::afterChildren(SkCanvas* orig) { SkAutoTUnref<const SkPicture> picture(fRecorder.endRecording()); if (true) { + picture->preroll(NULL, NULL, NULL, NULL); + } + + if (true) { this->installDrawFilter(orig); if (true) { |
