Add asAGradient shader extraction API.
authorvandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 24 Feb 2011 00:21:06 +0000 (00:21 +0000)
committervandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 24 Feb 2011 00:21:06 +0000 (00:21 +0000)
commitd3ae77965e94e0efda496f5461cbec4533cb5b16
tree65846e05c8dcba5d1cec2bc64e02ac233c62ffde
parent7d7ca79c3e6e6be7b7849b0d9a7fe26effb89c38
Add asAGradient shader extraction API.

Store initial gradient parameters.
Add compile asserts in GPU code for BitmapType ordering.

Review URL: http://codereview.appspot.com/4178063

git-svn-id: http://skia.googlecode.com/svn/trunk@845 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkColorShader.h
include/core/SkShader.h
src/core/SkShader.cpp
src/effects/SkGradientShader.cpp
src/gpu/SkGpuDevice.cpp