Home
last modified time | relevance | path

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

12

/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/skia/src/gpu/
DGrBitmapTextureMaker.cpp34 sk_sp<GrTextureProxy> GrBitmapTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
45 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
51 if (willBeMipped) { in refOriginalTextureProxy()
61 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
73 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(this->context(), source, copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureAdjuster.cpp40 bool willBeMipped) { in refTextureProxyCopy() argument
49 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy()
57 copyParams, willBeMipped); in refTextureProxyCopy()
79 bool willBeMipped, in onRefTextureProxyForParams() argument
105 sk_sp<GrTextureProxy> result = this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrImageTextureMaker.cpp25 sk_sp<GrTextureProxy> GrImageTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
28 willBeMipped, onlyIfFast); in refOriginalTextureProxy()
57 sk_sp<GrTextureProxy> GrYUVAImageTextureMaker::refOriginalTextureProxy(bool willBeMipped, in refOriginalTextureProxy() argument
63 if (willBeMipped) { in refOriginalTextureProxy()
DGrTextureProducer.cpp270 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxyForParams() local
273 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, scaleAdjust); in refTextureProxyForParams()
277 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxyForParams()
294 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxy() local
297 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, nullptr); in refTextureProxy()
301 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxy()
DGrTextureMaker.h40 virtual sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
45 bool willBeMipped,
DGrTextureAdjuster.h48 bool willBeMipped,
51 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
DGrImageTextureMaker.h28 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
54 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
DGrBitmapTextureMaker.h23 sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
/external/skia/src/image/
DSkImage_Lazy.cpp372 bool willBeMipped, in lockTextureProxy() argument
404 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy()
417 if ((proxy = generator->generateTexture(ctx, fInfo, fOrigin, willBeMipped))) { in lockTextureProxy()
421 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy()
431 if (!proxy && !willBeMipped && !ctx->priv().options().fDisableGpuYUVConversion) { in lockTextureProxy()
464 if (willBeMipped) { in lockTextureProxy()
470 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in lockTextureProxy()
485 SkASSERT(willBeMipped); in lockTextureProxy()
DSkImage_Lazy.h71 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/skia/gm/
Dimage_pict.cpp165 bool willBeMipped) override { in onGenerateTexture() argument
184 GrMipMapped mipMapped = willBeMipped ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()
/external/skqp/gm/
Dimage_pict.cpp165 bool willBeMipped) override { in onGenerateTexture() argument
184 GrMipMapped mipMapped = willBeMipped ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()

12