Add functions for inspecting SkShader.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 13 May 2014 18:14:45 +0000 (18:14 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 13 May 2014 18:14:45 +0000 (18:14 +0000)
commit795905562d1bd8bbedcf47f6a00efb220ec8bbe0
treeb61a96bb56d59ad0072665071bc0edb13136ed85
parent513246162767bca05d2ceb8f2cf9b28e6f67f6fa
Add functions for inspecting SkShader.

Add a function to inspect an SkShader to determine if it is an
SkComposeShader.

Add a virtual function for determining if an SkShader is a custom
shader, which returns a custom set of information. The
implementation is in Android, and this function is only defined
if SK_BUILD_FOR_ANDROID_FRAMEWORK.

BUG=b/10650594
R=reed@google.com, scroggo@google.com

Author: djsollen@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14716 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkComposeShader.h
include/core/SkShader.h
src/core/SkComposeShader.cpp