Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: gm/mixedxfermodes.cpp

Issue 21669004: Support multiple PDF rendering backends in the GM (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Eliminate warnings/errors on empty PDF rasterizer list Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/gmmain.cpp ('k') | gm/tests/outputs/add-config-pdf/output-expected/json-summary.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/mixedxfermodes.cpp
diff --git a/gm/mixedxfermodes.cpp b/gm/mixedxfermodes.cpp
index f057672da2b9dd6697f720cbf1fdd897c20a467f..645143a45304443e4519e133cb1d61fab5f454c9 100644
--- a/gm/mixedxfermodes.cpp
+++ b/gm/mixedxfermodes.cpp
@@ -125,6 +125,11 @@ protected:
}
}
+ virtual uint32_t onGetFlags() const {
+ // Skip PDF rasterization since rendering this PDF takes forever.
+ return kSkipPDFRasterization_Flag;
+ }
+
private:
enum {
kNumShapes = 100,
« no previous file with comments | « gm/gmmain.cpp ('k') | gm/tests/outputs/add-config-pdf/output-expected/json-summary.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698