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

Unified Diff: include/core/SkDevice.h

Issue 192853002: Proposed SkCanvas API for preLoading textures to VRAM (Closed) Base URL: http://skia.googlecode.com/svn/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 | « include/core/SkCanvas.h ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
===================================================================
--- include/core/SkDevice.h (revision 13719)
+++ include/core/SkDevice.h (working copy)
@@ -384,6 +384,8 @@
// either is identical to kNative_Premul_Config8888. Otherwise, -1.
static const SkCanvas::Config8888 kPMColorAlias;
+ virtual void internalPrivate_PreLoad(const SkBitmap& bitmap, const SkIRect& rect);
+
protected:
// default impl returns NULL
virtual SkSurface* newSurface(const SkImageInfo&);
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698