Lines Matching refs:fProxy
400 SkASSERT(GrSurfaceProxy::LazyState::kFully != fProxy->lazyInstantiationState()); in exactify()
405 SkASSERT(SkBackingFit::kApprox == fProxy->fFit); in exactify()
407 if (fProxy->fTarget) { in exactify()
413 fProxy->fWidth = fProxy->fTarget->width(); in exactify()
414 fProxy->fHeight = fProxy->fTarget->height(); in exactify()
420 fProxy->fFit = SkBackingFit::kExact; in exactify()
428 SkASSERT(GrSurfaceProxy::LazyState::kNot != fProxy->lazyInstantiationState()); in doLazyInstantiation()
431 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation()
434 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation()
438 surface = fProxy->fLazyInstantiateCallback(resourceProvider); in doLazyInstantiation()
440 if (GrSurfaceProxy::LazyInstantiationType::kSingleUse == fProxy->fLazyInstantiationType) { in doLazyInstantiation()
441 fProxy->fLazyInstantiateCallback(nullptr); in doLazyInstantiation()
442 fProxy->fLazyInstantiateCallback = nullptr; in doLazyInstantiation()
445 fProxy->fWidth = 0; in doLazyInstantiation()
446 fProxy->fHeight = 0; in doLazyInstantiation()
450 if (fProxy->fWidth <= 0 || fProxy->fHeight <= 0) { in doLazyInstantiation()
454 SkASSERT(fProxy->fWidth <= 0 && fProxy->fHeight <= 0); in doLazyInstantiation()
455 fProxy->fWidth = surface->width(); in doLazyInstantiation()
456 fProxy->fHeight = surface->height(); in doLazyInstantiation()
459 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation()
460 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
467 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()