Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary...
authorrileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Jul 2012 17:18:31 +0000 (17:18 +0000)
committerrileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Jul 2012 17:18:31 +0000 (17:18 +0000)
commit91f319c5dc4493384f0a52aaeef3dcc311ef6ed0
treecfef701c30dbdbf1981a66a631654d0fe1baa704
parent0567f222b92d17923c687bed5f54b31652150891
Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary twoPointRadialParams parameter from asABitmap.

In SkGpuDevice we still fall back on using asABitmap for effects that don't have asNewCustomStage implemented, but it still simplifies things a fair amount.
Review URL: https://codereview.appspot.com/6430060

git-svn-id: http://skia.googlecode.com/svn/trunk@4755 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkColorShader.h
include/core/SkShader.h
src/core/SkBitmapProcShader.cpp
src/core/SkBitmapProcShader.h
src/core/SkShader.cpp
src/device/xps/SkXPSDevice.cpp
src/effects/SkGradientShader.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/effects/GrGradientEffects.cpp
src/gpu/effects/GrGradientEffects.h
src/pdf/SkPDFShader.cpp