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

Unified Diff: tools/Resources.h

Issue 1306133003: GMs: change some GMs to use SkImage over SkBitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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/grayscalejpg.cpp ('k') | tools/Resources.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/Resources.h
diff --git a/tools/Resources.h b/tools/Resources.h
index c9785a574c6e443d99312de8bc707718401aa4c3..5e76eb3ae81693449b73f564af5db55651787c8a 100644
--- a/tools/Resources.h
+++ b/tools/Resources.h
@@ -11,6 +11,7 @@
#include "SkString.h"
class SkBitmap;
+class SkImage;
class SkStreamAsset;
class SkTypeface;
@@ -18,6 +19,7 @@ SkString GetResourcePath(const char* resource = "");
void SetResourcePath(const char* );
bool GetResourceAsBitmap(const char* resource, SkBitmap* dst);
+SkImage* GetResourceAsImage(const char* resource);
SkStreamAsset* GetResourceAsStream(const char* resource);
SkTypeface* GetResourceAsTypeface(const char* resource);
« no previous file with comments | « gm/grayscalejpg.cpp ('k') | tools/Resources.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698