Home | History | Annotate | Download | only in gpu

Lines Matching refs:GrContext_Base

11 #include "GrContext_Base.h"
13 /** Class that exposes methods on GrContext_Base that are only intended for use internal to Skia.
14 This class is purely a privileged window into GrContext_Base. It should never have
18 // from GrContext_Base
22 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {}
30 GrContext_Base* fContext;
32 friend class GrContext_Base; // to construct/copy this type.
35 inline GrBaseContextPriv GrContext_Base::priv() { return GrBaseContextPriv(this); }
37 inline const GrBaseContextPriv GrContext_Base::priv () const {
38 return GrBaseContextPriv(const_cast<GrContext_Base*>(this));