Home | History | Annotate | Download | only in image

Lines Matching defs:proxy

115     sk_sp<GrSurfaceProxy> proxy = this->asTextureProxyRef(context);
120 desc.fConfig = proxy->config();
122 GrBackendFormat format = proxy->backendFormat().makeTexture2D();
127 // TODO: Should this inherit our proxy's budgeted status?
129 format, desc, proxy->origin(), GrMipMapped::kNo, SkBackingFit::kExact,
130 proxy->isBudgeted()));
135 if (!sContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) {
236 sk_sp<GrTextureProxy> proxy = this->asTextureProxyRef(direct);
237 SkASSERT(proxy);
239 if (!proxy->isInstantiated()) {
242 if (!proxy->instantiate(resourceProvider)) {
247 GrTexture* texture = proxy->peekTexture();
250 direct->priv().prepareSurfaceForExternalIO(proxy.get());
253 *origin = proxy->origin();
261 GrTextureProxy* proxy = this->peekProxy();
262 if (proxy && proxy->isInstantiated()) {
263 return proxy->peekTexture();
417 * outlive the proxy into which this callback is installed.
420 * is deleted once it can no longer be used to instantiate a proxy.
460 // Our proxy is getting instantiated for the second+ time. We are only allowed to call
510 // We need to hold on to the GrTexture in case our proxy gets reinstantiated. However,