diff options
author | joshualitt <joshualitt@chromium.org> | 2014-12-15 14:16:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-15 14:16:27 -0800 |
commit | 9b98932adaceb7ad0a617ade16616923f6bffe84 (patch) | |
tree | c9a7a19ca9555e3284d67b01ad1ad448a963ad17 /src/gpu/effects/GrBitmapTextGeoProc.h | |
parent | bc3d0de755c4164563d136fc6b28fc186d275db7 (diff) |
This change will ultimately pull uniform color, and to a much lesser degree uniform coverage, into GPs. There are still some loose ends because drawstate has the ability to override the GP, but fixing these cleanly will have to wait until we have deferred geometry in place and can make attribute / uniform decisions on the fly.
BUG=skia:
Review URL: https://codereview.chromium.org/746423007
Diffstat (limited to 'src/gpu/effects/GrBitmapTextGeoProc.h')
-rw-r--r-- | src/gpu/effects/GrBitmapTextGeoProc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.h b/src/gpu/effects/GrBitmapTextGeoProc.h index 0c848421c0..42345704cf 100644 --- a/src/gpu/effects/GrBitmapTextGeoProc.h +++ b/src/gpu/effects/GrBitmapTextGeoProc.h @@ -40,6 +40,9 @@ public: virtual GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) const SK_OVERRIDE; + void initBatchTracker(GrBatchTracker*, const InitBT&) const SK_OVERRIDE; + bool onCanMakeEqual(const GrBatchTracker&, const GrBatchTracker&) const SK_OVERRIDE; + private: GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrTextureParams& params, bool useColorAttrib, bool opaqueVertexColors); |