diff options
author | 2013-09-30 18:41:38 +0000 | |
---|---|---|
committer | 2013-09-30 18:41:38 +0000 | |
commit | 76eaf749cfb903916488bfaf90c40470033ed216 (patch) | |
tree | 3bc192d66c6c7148134b64db27cbce6c7c57f277 /gyp | |
parent | 1e10a9a207e6e6ccfbc7e9cdc93c472ae7c96712 (diff) |
Add a GrCustomCoordsTextureEffect class
Extracts a GrCustomCoordsTextureEffect class from
GrSimpleTextureEffect. This way there are no effects that can
conditionally require a vertex shader. They either always need one or
never do. Also removes kCustom_CoordsType from the CoordsType enum in
GrEffect (that enum is really only meant for coords provided by the
framework), and updates GrSimpleTextureEffect::TestCreate to make the
effect with position as well, instead of just local coords.
R=bsalomon@google.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/24018007
git-svn-id: http://skia.googlecode.com/svn/trunk@11531 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/gpu.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi index 83462f6138..45362860b1 100644 --- a/gyp/gpu.gypi +++ b/gyp/gpu.gypi @@ -133,6 +133,8 @@ '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h', '<(skia_src_path)/gpu/effects/GrBicubicEffect.cpp', '<(skia_src_path)/gpu/effects/GrBicubicEffect.h', + '<(skia_src_path)/gpu/effects/GrCustomCoordsTextureEffect.cpp', + '<(skia_src_path)/gpu/effects/GrCustomCoordsTextureEffect.h', '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.cpp', '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.h', '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp', |