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

Unified Diff: include/core/SkShader.h

Issue 227553010: Revert of Initial picture shader implementation (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 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 | « gyp/gmslides.gypi ('k') | src/core/SkPictureShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 076ecf5460df9698021913279f6d13f5e3280179..acff959949ba5114bf2393dd4c0c181b376ab0b5 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -16,7 +16,6 @@
#include "SkPaint.h"
class SkPath;
-class SkPicture;
class GrContext;
class GrEffectRef;
@@ -346,16 +345,6 @@
static SkShader* CreateBitmapShader(const SkBitmap& src,
TileMode tmx, TileMode tmy);
- /** Call this to create a new shader that will draw with the specified picture.
- *
- * @param src The picture to use inside the shader (if not NULL, its ref count
- * is incremented).
- * @param tmx The tiling mode to use when sampling the bitmap in the x-direction.
- * @param tmy The tiling mode to use when sampling the bitmap in the y-direction.
- * @return Returns a new shader object. Note: this function never returns null.
- */
- static SkShader* CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy);
-
SK_TO_STRING_VIRT()
SK_DEFINE_FLATTENABLE_TYPE(SkShader)
« no previous file with comments | « gyp/gmslides.gypi ('k') | src/core/SkPictureShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698