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

Unified Diff: experimental/PdfViewer/pdf_viewer_main.cpp

Issue 18093005: pdfviewer: some code cleanup in renderer (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 | « experimental/PdfViewer/SkPdfRenderer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/pdf_viewer_main.cpp
===================================================================
--- experimental/PdfViewer/pdf_viewer_main.cpp (revision 9999)
+++ experimental/PdfViewer/pdf_viewer_main.cpp (working copy)
@@ -24,6 +24,9 @@
"\tlast - last page\n"
"\tnumber - a specific page number\n"
);
+DEFINE_double(DPI, 72, "DPI to be used for rendering (scale).");
+// TODO(edisonn): add config for device target(gpu, raster, pdf), + ability not to render at all
+// TODO(edisonn): add ability to do the op N times, bench (either load N times, render n times or load + render n times)
/**
« no previous file with comments | « experimental/PdfViewer/SkPdfRenderer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698