Searched refs:GrContext_Base (Results 1 – 13 of 13) sorted by relevance
16 GrContext_Base::GrContext_Base(sk_sp<GrContextThreadSafeProxy> proxy) in GrContext_Base() function in GrContext_Base20 GrContext_Base::~GrContext_Base() { } in ~GrContext_Base()22 bool GrContext_Base::init() { in init()28 uint32_t GrContext_Base::contextID() const { return fThreadSafeProxy->priv().contextID(); } in contextID()29 GrBackendApi GrContext_Base::backend() const { return fThreadSafeProxy->priv().backend(); } in backend()31 const GrContextOptions& GrContext_Base::options() const { in options()35 const GrCaps* GrContext_Base::caps() const { return fThreadSafeProxy->priv().caps(); } in caps()36 sk_sp<const GrCaps> GrContext_Base::refCaps() const { return fThreadSafeProxy->priv().refCaps(); } in refCaps()38 GrBackendFormat GrContext_Base::defaultBackendFormat(SkColorType skColorType, in defaultBackendFormat()43 GrBackendFormat GrContext_Base::compressedBackendFormat(SkImage::CompressionType c) const { in compressedBackendFormat()[all …]
18 GrContext_Base* context() { return fContext; } in context()19 const GrContext_Base* context() const { return fContext; } in context()23 bool matches(GrContext_Base* candidate) const { return this->context()->matches(candidate); } in matches()39 explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {} in GrBaseContextPriv()41 GrContext_Base* fContext;50 friend class GrContext_Base; // to construct/copy this type. variable53 inline GrBaseContextPriv GrContext_Base::priv() { return GrBaseContextPriv(this); } in priv()55 inline const GrBaseContextPriv GrContext_Base::priv () const { // NOLINT(readability-const-return-… in priv()56 return GrBaseContextPriv(const_cast<GrContext_Base*>(this)); in priv()
16 class GrContext_Base; variable42 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base*);
19 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base* context) { in GrGetRandomStencil()
19 class GrContext_Base; variable344 void validate(GrContext_Base*) const;
26 bool matches(GrContext_Base* candidate) const { in matches()
253 void GrSurfaceProxy::validate(GrContext_Base* context) const { in validate()
46 "GrContext_Base.cpp",
23 class SK_API GrContext_Base : public SkRefCnt {25 ~GrContext_Base() override;61 GrContext_Base(sk_sp<GrContextThreadSafeProxy>);74 bool matches(GrContext_Base* candidate) const { in matches()
19 class GrImageContext : public GrContext_Base {52 using INHERITED = GrContext_Base;
64 "GrContext_Base.h",
271 static inline GrDirectContext* GrAsDirectContext(GrContext_Base* base) { in GrAsDirectContext()
28 "$_include/private/GrContext_Base.h",69 "$_src/gpu/GrContext_Base.cpp",