| Index: src/gpu/GrOptDrawState.h
|
| diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h
|
| index 45501b49dd1c4fc4efe8ea9933d07875780cd3e4..778e03f58d11c1766f6e5a006cad3a77c28785ee 100644
|
| --- a/src/gpu/GrOptDrawState.h
|
| +++ b/src/gpu/GrOptDrawState.h
|
| @@ -82,6 +82,9 @@ public:
|
| return this->numFragmentStages() + (this->hasGeometryProcessor() ? 1 : 0);
|
| }
|
|
|
| + // TODO hack
|
| + bool newStyle() const { return hasGeometryProcessor() && getGeometryProcessor()->fNewStyle; }
|
| +
|
| bool hasGeometryProcessor() const { return SkToBool(fGeometryProcessor.get()); }
|
| const GrGeometryProcessor* getGeometryProcessor() const { return fGeometryProcessor.get(); }
|
| const GrBatchTracker& getBatchTracker() const { return fBatchTracker; }
|
|
|