| Index: include/gpu/GrTypesPriv.h
|
| diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h
|
| index b22f48026c19440c185a0c47f99dacc70cc81b54..1f86197295dd4035533c4071a71736b8e012304a 100644
|
| --- a/include/gpu/GrTypesPriv.h
|
| +++ b/include/gpu/GrTypesPriv.h
|
| @@ -249,6 +249,11 @@ struct GrScissorState {
|
| (false == fEnabled || fRect == other.fRect);
|
| }
|
| bool operator!=(const GrScissorState& other) const { return !(*this == other); }
|
| +
|
| + bool enabled() const { return fEnabled; }
|
| + const SkIRect& rect() const { return fRect; }
|
| +
|
| +private:
|
| bool fEnabled;
|
| SkIRect fRect;
|
| };
|
|
|