| Index: src/gpu/GrOptDrawState.h
|
| diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h
|
| index 1e7b5e5ad1a336390ece85e67278569942369b8f..5e51ddc9e8bf4d669d6b10d2eebc7740f25e1388 100644
|
| --- a/src/gpu/GrOptDrawState.h
|
| +++ b/src/gpu/GrOptDrawState.h
|
| @@ -85,6 +85,9 @@ public:
|
| return this->numFragmentStages() + (this->hasGeometryProcessor() ? 1 : 0) + 1;
|
| }
|
|
|
| + // 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; }
|
|
|