diff options
author | joshualitt <joshualitt@chromium.org> | 2014-12-03 06:24:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-03 06:24:10 -0800 |
commit | 2dd1ae016d7f297b433c3ea3a771ef8e01657c1f (patch) | |
tree | 96aa03d4b4b1802490cb5b769627b75f3de4a470 /src/gpu/GrDefaultGeoProcFactory.h | |
parent | 960fb50a1a7ac76fd51e22983812f26bfffa6d1e (diff) |
First step to moving vertex attributes to the geometryProcessor
BUG=skia:
Review URL: https://codereview.chromium.org/761563002
Diffstat (limited to 'src/gpu/GrDefaultGeoProcFactory.h')
-rw-r--r-- | src/gpu/GrDefaultGeoProcFactory.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h index 99d85b64d6..a39c76da19 100644 --- a/src/gpu/GrDefaultGeoProcFactory.h +++ b/src/gpu/GrDefaultGeoProcFactory.h @@ -17,8 +17,6 @@ class GrDrawState; * view matrix and wire through color, coverage, UV coords if requested. Right now this is only * used in the creation of optimized draw states because adding default GPs to the drawstate can * interfere with batching due to updating the drawstate. - * TODO When we track geometry state separately from the draw state, we should be able use a default - * GP with every draw call */ class GrDefaultGeoProcFactory { public: @@ -82,9 +80,7 @@ public: * * You must unref the return from Create. */ - static void SetAttribs(GrDrawState*, uint32_t GPTypeFlags = 0); - static const GrGeometryProcessor* CreateAndSetAttribs(GrDrawState*, uint32_t GPTypeFlags = 0); - static const GrGeometryProcessor* Create(bool hasAttributeCoverage); + static const GrGeometryProcessor* Create(uint32_t gpTypeFlags = 0); }; #endif |