Lines Matching refs:GrSurfaceProxy
51 GrSurfaceProxy::GrSurfaceProxy(LazyInstantiateCallback&& callback, LazyInstantiationType lazyType, in GrSurfaceProxy() function in GrSurfaceProxy
83 GrSurfaceProxy::GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit) in GrSurfaceProxy() function in GrSurfaceProxy
102 GrSurfaceProxy::~GrSurfaceProxy() { in ~GrSurfaceProxy()
130 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl(GrResourceProvider* resourceProvider, in createSurfaceImpl()
134 SkASSERT(GrSurfaceProxy::LazyState::kNot == this->lazyInstantiationState()); in createSurfaceImpl()
194 bool GrSurfaceProxy::canSkipResourceAllocator() const { in canSkipResourceAllocator()
204 void GrSurfaceProxy::assign(sk_sp<GrSurface> surface) { in assign()
227 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl()
255 void GrSurfaceProxy::deinstantiate() { in deinstantiate()
261 void GrSurfaceProxy::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
282 void GrSurfaceProxy::setLastOpList(GrOpList* opList) { in setLastOpList()
293 GrRenderTargetOpList* GrSurfaceProxy::getLastRenderTargetOpList() { in getLastRenderTargetOpList()
297 GrTextureOpList* GrSurfaceProxy::getLastTextureOpList() { in getLastTextureOpList()
301 int GrSurfaceProxy::worstCaseWidth() const { in worstCaseWidth()
313 int GrSurfaceProxy::worstCaseHeight() const { in worstCaseHeight()
326 void GrSurfaceProxy::validate(GrContext* context) const { in validate()
335 sk_sp<GrTextureProxy> GrSurfaceProxy::Copy(GrContext* context, in Copy()
336 GrSurfaceProxy* src, in Copy()
369 sk_sp<GrTextureProxy> GrSurfaceProxy::Copy(GrContext* context, GrSurfaceProxy* src, in Copy()
377 sk_sp<GrSurfaceContext> GrSurfaceProxy::TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, in TestCopy()
378 GrSurfaceOrigin origin, GrSurfaceProxy* srcProxy) { in TestCopy()
400 SkASSERT(GrSurfaceProxy::LazyState::kFully != fProxy->lazyInstantiationState()); in exactify()
428 SkASSERT(GrSurfaceProxy::LazyState::kNot != fProxy->lazyInstantiationState()); in doLazyInstantiation()
440 if (GrSurfaceProxy::LazyInstantiationType::kSingleUse == fProxy->fLazyInstantiationType) { in doLazyInstantiation()
485 void GrSurfaceProxy::validateSurface(const GrSurface* surface) { in validateSurface()