Home
last modified time | relevance | path

Searched refs:willBeMipped (Results 1 – 13 of 13) sorted by relevance

/external/skqp/src/gpu/
DGrBitmapTextureMaker.cpp33 sk_sp<GrTextureProxy> GrBitmapTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
44 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
50 if (willBeMipped) { in refOriginalTextureProxy()
60 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
72 SkASSERT(willBeMipped); in refOriginalTextureProxy()
DGrTextureMaker.cpp17 bool willBeMipped, in onRefTextureProxyForParams() argument
26 sk_sp<GrTextureProxy> original(this->refOriginalTextureProxy(willBeMipped, in onRefTextureProxyForParams()
46 return this->refOriginalTextureProxy(willBeMipped, AllowedTexGenType::kAny); in onRefTextureProxyForParams()
58 if (cachedProxy && (!willBeMipped || GrMipMapped::kYes == cachedProxy->mipMapped())) { in onRefTextureProxyForParams()
77 sk_sp<GrTextureProxy> result = CopyOnGpu(fContext, source, copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureAdjuster.cpp39 bool willBeMipped) { in refTextureProxyCopy() argument
48 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy()
55 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); in refTextureProxyCopy()
77 bool willBeMipped, in onRefTextureProxyForParams() argument
103 sk_sp<GrTextureProxy> result = this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrImageTextureMaker.cpp24 sk_sp<GrTextureProxy> GrImageTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
27 willBeMipped, onlyIfFast); in refOriginalTextureProxy()
55 sk_sp<GrTextureProxy> GrYUVAImageTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
61 if (willBeMipped) { in refOriginalTextureProxy()
DGrTextureProducer.cpp237 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxyForParams() local
240 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, scaleAdjust); in refTextureProxyForParams()
244 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxyForParams()
261 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxy() local
264 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, nullptr); in refTextureProxy()
268 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxy()
DGrTextureMaker.h39 virtual sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
46 bool willBeMipped,
DGrTextureAdjuster.h46 bool willBeMipped,
49 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
DGrImageTextureMaker.h27 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
53 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
DGrBitmapTextureMaker.h22 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
DGrTextureProducer.h182 bool willBeMipped,
/external/skqp/src/image/
DSkImage_Lazy.cpp369 bool willBeMipped, in lockTextureProxy() argument
401 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy()
414 if ((proxy = generator->generateTexture(ctx, fInfo, fOrigin, willBeMipped))) { in lockTextureProxy()
418 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy()
428 if (!proxy && !willBeMipped && !ctx->contextPriv().disableGpuYUVConversion()) { in lockTextureProxy()
461 if (willBeMipped) { in lockTextureProxy()
467 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in lockTextureProxy()
482 SkASSERT(willBeMipped); in lockTextureProxy()
DSkImage_Lazy.h70 bool willBeMipped,
/external/skqp/gm/
Dimage_pict.cpp165 bool willBeMipped) override { in onGenerateTexture() argument
184 GrMipMapped mipMapped = willBeMipped ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()