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

Unified Diff: tools/PictureRenderer.cpp

Issue 189263012: Add nvprmsaa4 and nvprmsaa16 configs to bench_pictures (Closed) Base URL: https://skia.googlesource.com/skia.git@sample-count-trunk
Patch Set: Created 6 years, 9 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 | « tools/PictureRenderer.h ('k') | tools/PictureRenderingFlags.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/PictureRenderer.cpp
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp
index 6d9ce62df98ba4f5ea1b32603175211ca9dc46ed..35b1b6166d8a2ef7eb3f2dc9c0402acf7885b928 100644
--- a/tools/PictureRenderer.cpp
+++ b/tools/PictureRenderer.cpp
@@ -152,7 +152,8 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) {
case kMesa_DeviceType:
// fall through
#endif
- case kGPU_DeviceType: {
+ case kGPU_DeviceType:
+ case kNVPR_DeviceType: {
SkAutoTUnref<GrSurface> target;
if (fGrContext) {
// create a render target to back the device
« no previous file with comments | « tools/PictureRenderer.h ('k') | tools/PictureRenderingFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698