diff options
author | egdaniel <egdaniel@google.com> | 2014-06-12 10:24:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-12 10:24:21 -0700 |
commit | e61c411c1258a323a010558c08de3d9f8d170dca (patch) | |
tree | 295c5f7a9ec0001daf7b87e2573e9f74ffbe3d3b /include/gpu | |
parent | b205d09b296e01f1c4debdf7f60d2f3e4cd2ea43 (diff) |
Use vertex attributes for dash effect in gpu
This will allow us to batch dashed lines together when drawing. Also, this removes the need for
a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform
everytime we do a simple transform to the dashed line we are drawing.
BUG=skia:
R=bsalomon@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/326103002
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index c909907bfc..acf146f575 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -15,6 +15,7 @@ #include "GrRenderTarget.h" #include "GrTexture.h" #include "SkMatrix.h" +#include "SkPathEffect.h" #include "SkTypes.h" class GrAARectRenderer; |