Home
last modified time | relevance | path

Searched refs:baseProxy (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/
DSkGr.cpp148 sk_sp<GrTextureProxy> GrCopyBaseMipMapToTextureProxy(GrContext* ctx, GrTextureProxy* baseProxy) { in GrCopyBaseMipMapToTextureProxy() argument
149 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()
DSkGr.h193 GrTextureProxy* baseProxy);
/external/skia/src/gpu/
DSkGr.cpp151 GrTextureProxy* baseProxy) { in GrCopyBaseMipMapToTextureProxy() argument
152 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()
DSkGr.h195 GrTextureProxy* baseProxy);