diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-07 23:45:31 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-07 23:45:31 +0000 |
commit | 8865d09cf81bd38359421024badde36109bbf41d (patch) | |
tree | 443682d0f036f27753e4d2626740bed62221567d /include | |
parent | 98f4e5cea30690259ef808ec063380d3ba8740b0 (diff) |
Revert of Initial picture shader implementation (https://codereview.chromium.org/221923007/)
Reason for revert:
breaking the buildbots. Subsequent CL only addressed CompareGMs but GenerateGMs are also failing.
Original issue's description:
> Initial picture shader implementation
>
> This CL adds an SkPictureShader class to support SkPicture-based
> patterns.
>
> The implementation renders the picture into an SkBitmap tile and then
> delegates to SkBitmapProcShader for the actual operation.
>
> R=reed@google.com,robertphillips@google.com,bsalomon@google.com
>
> Committed: http://code.google.com/p/skia/source/detail?r=14085
R=bsalomon@google.com, reed@google.com, robertphillips@google.com, fmalita@chromium.org
TBR=bsalomon@google.com, fmalita@chromium.org, reed@google.com, robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
Author: bensong@google.com
Review URL: https://codereview.chromium.org/227553010
git-svn-id: http://skia.googlecode.com/svn/trunk@14087 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkShader.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 076ecf5460..acff959949 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 @@ public: 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) |