Initial picture shader implementation
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Apr 2014 15:19:34 +0000 (15:19 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Apr 2014 15:19:34 +0000 (15:19 +0000)
commitc5d9bb0f677069f62ec76373b9730e70e7352455
tree675c12cf12966ea1b37d06d9c5e0416b1ca7be79
parent03a99b8f96b56d3349fa7b6832638e3b9830d169
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=bsalomon@google.com, reed@google.com, robertphillips@google.com

Committed: http://code.google.com/p/skia/source/detail?r=14085

Author: fmalita@chromium.org

Review URL: https://codereview.chromium.org/221923007

git-svn-id: http://skia.googlecode.com/svn/trunk@14092 2bbb7eff-a529-9590-31e7-b0007b416f81
expectations/gm/ignored-tests.txt
gm/pictureshader.cpp [new file with mode: 0644]
gyp/core.gypi
gyp/gmslides.gypi
include/core/SkShader.h
src/core/SkPictureShader.cpp [new file with mode: 0644]
src/core/SkPictureShader.h [new file with mode: 0644]
src/core/SkShader.cpp
src/ports/SkGlobalInitialization_chromium.cpp
src/ports/SkGlobalInitialization_default.cpp