Home
last modified time | relevance | path

Searched refs:GrContext_Base (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/
DGrContext_Base.cpp16 GrContext_Base::GrContext_Base(sk_sp<GrContextThreadSafeProxy> proxy) in GrContext_Base() function in GrContext_Base
20 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 …]
DGrBaseContextPriv.h18 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. variable
53 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()
DGrDrawOpTest.h16 class GrContext_Base; variable
42 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base*);
DGrDrawOpTest.cpp19 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base* context) { in GrGetRandomStencil()
DGrSurfaceProxy.h19 class GrContext_Base; variable
344 void validate(GrContext_Base*) const;
DGrContextThreadSafeProxyPriv.h26 bool matches(GrContext_Base* candidate) const { in matches()
DGrSurfaceProxy.cpp253 void GrSurfaceProxy::validate(GrContext_Base* context) const { in validate()
DBUILD.bazel46 "GrContext_Base.cpp",
/third_party/skia/include/private/
DGrContext_Base.h23 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()
DGrImageContext.h19 class GrImageContext : public GrContext_Base {
52 using INHERITED = GrContext_Base;
DBUILD.bazel64 "GrContext_Base.h",
/third_party/skia/include/gpu/
DGrRecordingContext.h271 static inline GrDirectContext* GrAsDirectContext(GrContext_Base* base) { in GrAsDirectContext()
/third_party/skia/gn/
Dgpu.gni28 "$_include/private/GrContext_Base.h",
69 "$_src/gpu/GrContext_Base.cpp",