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.cpp96 sk_sp<GrSurfaceProxy> baseProxy, in GrCopyBaseMipMapToTextureProxy() argument
99 SkASSERT(baseProxy); in GrCopyBaseMipMapToTextureProxy()
103 if (baseProxy->isPromiseProxy()) { in GrCopyBaseMipMapToTextureProxy()
106 if (!ctx->priv().caps()->isFormatCopyable(baseProxy->backendFormat())) { in GrCopyBaseMipMapToTextureProxy()
109 auto copy = GrSurfaceProxy::Copy(ctx, std::move(baseProxy), origin, GrMipmapped::kYes, in GrCopyBaseMipMapToTextureProxy()
DSkGr.h185 sk_sp<GrSurfaceProxy> baseProxy,