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

Unified Diff: skia/ext/platform_device.h

Issue 10915065: Add PlatformPictureSkia and RecordingPlatformDeviceSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix SkProxyCanvas leak Created 8 years, 3 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
Index: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 69efb3f723356896f234cf0ae767a804ffc060ca..90778187e06bc71289ff5868dbef2227c3072c7b 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -124,6 +124,10 @@ class SK_API PlatformDevice {
// Returns true if GDI operations can be used for drawing into the bitmap.
virtual bool SupportsPlatformPaint();
+ // Returns true if GDI operations can be used for drawing into the bitmap
+ // without indirect rendering taking place.
reed1 2012/09/20 13:42:28 I honestly don't know what "without indirect rende
reveman 2012/09/20 17:01:26 I'll improve the language here.
+ virtual bool SupportsDirectPlatformPaint();
+
#if defined(OS_WIN)
// Loads a SkPath into the GDI context. The path can there after be used for
// clipping or as a stroke. Returns false if the path failed to be loaded.

Powered by Google App Engine
This is Rietveld 408576698