Lines Matching refs:fProxy
398 SkASSERT(GrSurfaceProxy::LazyState::kFully != fProxy->lazyInstantiationState()); in exactify()
403 SkASSERT(SkBackingFit::kApprox == fProxy->fFit); in exactify()
405 if (fProxy->fTarget) { in exactify()
411 fProxy->fWidth = fProxy->fTarget->width(); in exactify()
412 fProxy->fHeight = fProxy->fTarget->height(); in exactify()
418 fProxy->fFit = SkBackingFit::kExact; in exactify()
426 SkASSERT(GrSurfaceProxy::LazyState::kNot != fProxy->lazyInstantiationState()); in doLazyInstantiation()
429 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation()
432 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation()
436 surface = fProxy->fLazyInstantiateCallback(resourceProvider); in doLazyInstantiation()
438 if (GrSurfaceProxy::LazyInstantiationType::kSingleUse == fProxy->fLazyInstantiationType) { in doLazyInstantiation()
439 fProxy->fLazyInstantiateCallback = nullptr; in doLazyInstantiation()
442 fProxy->fWidth = 0; in doLazyInstantiation()
443 fProxy->fHeight = 0; in doLazyInstantiation()
447 if (fProxy->fWidth <= 0 || fProxy->fHeight <= 0) { in doLazyInstantiation()
451 SkASSERT(fProxy->fWidth <= 0 && fProxy->fHeight <= 0); in doLazyInstantiation()
452 fProxy->fWidth = surface->width(); in doLazyInstantiation()
453 fProxy->fHeight = surface->height(); in doLazyInstantiation()
456 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation()
457 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
464 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()