diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-02 13:04:56 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-02 13:04:56 +0000 |
commit | 77af6805e5faea1e2a5c0220098aec9082f3a6e5 (patch) | |
tree | da604c305177b007bb8a669ab753290143431ca8 /include/gpu/GrDrawEffect.h | |
parent | 693a837082404d212fd9b2c3d2ab65dd269211c9 (diff) |
Make GPU coord transforms automatic
Adds a GrCoordTransform class and updates the framework to handle
coord transforms similar to how it handles textures with
GrTextureAccess. Renames GrGLEffectMatrix to GrGLCoordTransform and
slightly repurposes it to be used by the framework instead of effects.
R=bsalomon@google.com, robertphillips@google.com
Review URL: https://codereview.chromium.org/24853002
git-svn-id: http://skia.googlecode.com/svn/trunk@11569 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrDrawEffect.h')
-rw-r--r-- | include/gpu/GrDrawEffect.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/gpu/GrDrawEffect.h b/include/gpu/GrDrawEffect.h index 8dae646536..9a7a75d55f 100644 --- a/include/gpu/GrDrawEffect.h +++ b/include/gpu/GrDrawEffect.h @@ -14,8 +14,7 @@ * The typical use case is that sometime after an effect was installed a decision was made to draw * in device coordinates (i.e. use an identity view-matrix). In such a case the GrDrawEffect's * coord-change-matrix would be the inverse of the view matrix that was set when the effect was - * installed. GrGLEffectMatrix is a handy class that implements a local coordinate matrix that - * automatically accounts for the coord-change matrix. + * installed. */ class GrDrawEffect { public: |