| Index: src/gpu/GrDrawState.h
|
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
|
| index b855c8725bf1381d953b6db693082d2049ed4215..9d653e6f5c94a62e1fc7ee366026da0c646295e5 100644
|
| --- a/src/gpu/GrDrawState.h
|
| +++ b/src/gpu/GrDrawState.h
|
| @@ -715,14 +715,6 @@ public:
|
|
|
| GrDrawState& operator= (const GrDrawState& that);
|
|
|
| - /**
|
| - * Returns a snapshot of the current optimized state. If the current drawState has a valid
|
| - * cached optimiezed state it will simply return a pointer to it otherwise it will create a new
|
| - * GrOptDrawState. In all cases the GrOptDrawState is reffed and ownership is given to the
|
| - * caller.
|
| - */
|
| - GrOptDrawState* createOptState(const GrDrawTargetCaps&) const;
|
| -
|
| private:
|
| /**
|
| * Converts refs on GrGpuResources owned directly or indirectly by this GrDrawState into
|
| @@ -829,9 +821,11 @@ private:
|
| mutable GrOptDrawState* fCachedOptState;
|
| mutable uint32_t fCachedCapsID;
|
|
|
| + friend class GrOptDrawState;
|
| +
|
| typedef SkRefCnt INHERITED;
|
| };
|
|
|
| -//GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags);
|
| +GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags);
|
|
|
| #endif
|
|
|