Searched refs:baseProxy (Results 1 – 4 of 4) sorted by relevance
148 sk_sp<GrTextureProxy> GrCopyBaseMipMapToTextureProxy(GrContext* ctx, GrTextureProxy* baseProxy) { in GrCopyBaseMipMapToTextureProxy() argument149 SkASSERT(baseProxy); in GrCopyBaseMipMapToTextureProxy()151 if (!ctx->contextPriv().caps()->isConfigCopyable(baseProxy->config())) { in GrCopyBaseMipMapToTextureProxy()158 desc.fWidth = baseProxy->width(); in GrCopyBaseMipMapToTextureProxy()159 desc.fHeight = baseProxy->height(); in GrCopyBaseMipMapToTextureProxy()160 desc.fConfig = baseProxy->config(); in GrCopyBaseMipMapToTextureProxy()163 GrBackendFormat format = baseProxy->backendFormat().makeTexture2D(); in GrCopyBaseMipMapToTextureProxy()169 proxyProvider->createMipMapProxy(format, desc, baseProxy->origin(), SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy()178 SkAssertResult(sContext->copy(baseProxy)); in GrCopyBaseMipMapToTextureProxy()
193 GrTextureProxy* baseProxy);
151 GrTextureProxy* baseProxy) { in GrCopyBaseMipMapToTextureProxy() argument152 SkASSERT(baseProxy); in GrCopyBaseMipMapToTextureProxy()154 if (!ctx->priv().caps()->isConfigCopyable(baseProxy->config())) { in GrCopyBaseMipMapToTextureProxy()161 desc.fWidth = baseProxy->width(); in GrCopyBaseMipMapToTextureProxy()162 desc.fHeight = baseProxy->height(); in GrCopyBaseMipMapToTextureProxy()163 desc.fConfig = baseProxy->config(); in GrCopyBaseMipMapToTextureProxy()166 GrBackendFormat format = baseProxy->backendFormat().makeTexture2D(); in GrCopyBaseMipMapToTextureProxy()172 proxyProvider->createMipMapProxy(format, desc, baseProxy->origin(), SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy()180 SkAssertResult(sContext->copy(baseProxy)); in GrCopyBaseMipMapToTextureProxy()
195 GrTextureProxy* baseProxy);