Home
last modified time | relevance | path

Searched refs:scaleAdjust (Results 1 – 19 of 19) sorted by relevance

/external/skqp/src/gpu/
DGrTextureMaker.cpp18 SkScalar scaleAdjust[2]) { in onRefTextureProxyForParams()
33 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
45 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
131 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in createFragmentProcessor() local
132 sk_sp<GrTextureProxy> proxy(this->refTextureProxyForParams(samplerState, scaleAdjust)); in createFragmentProcessor()
137 adjustedMatrix.postScale(scaleAdjust[0], scaleAdjust[1]); in createFragmentProcessor()
DGrTextureAdjuster.cpp78 SkScalar scaleAdjust[2]) { in onRefTextureProxyForParams()
94 &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
126 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in createFragmentProcessor() local
128 this->refTextureProxyForParams(samplerState, scaleAdjust)); in createFragmentProcessor()
135 textureMatrix.postScale(scaleAdjust[0], scaleAdjust[1]); in createFragmentProcessor()
DGrTextureProducer.h86 SkScalar scaleAdjust[2]);
89 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
91 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter), scaleAdjust); in refTextureProxyForParams()
183 SkScalar scaleAdjust[2]) = 0;
DGrTextureProducer.cpp227 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
229 SkASSERT(!scaleAdjust || (scaleAdjust[0] == 1 && scaleAdjust[1] == 1)); in refTextureProxyForParams()
234 SkASSERT(scaleAdjust || expectNoScale); in refTextureProxyForParams()
240 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, scaleAdjust); in refTextureProxyForParams()
DGrGpu.cpp52 SkScalar scaleAdjust[2]) { in IsACopyNeededForRepeatWrapMode()
55 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
58 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
59 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
60 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
DGrTextureMaker.h47 SkScalar scaleAdjust[2]) override;
DGrTextureAdjuster.h47 SkScalar scaleAdjust[2]) override;
DSkGr.h180 SkScalar scaleAdjust[2]);
DSkGr.cpp186 SkScalar scaleAdjust[2]) { in GrRefCachedBitmapTextureProxy()
187 return GrBitmapTextureMaker(ctx, bitmap).refTextureProxyForParams(params, scaleAdjust); in GrRefCachedBitmapTextureProxy()
DGrGpu.h404 SkScalar scaleAdjust[2]);
/external/skqp/src/image/
DSkImage_Raster.cpp85 SkScalar scaleAdjust[2]) const override;
174 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
184 return adjuster.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
187 return GrRefCachedBitmapTextureProxy(context, fBitmap, params, scaleAdjust); in asTextureProxyRef()
DSkImage_Lazy.h51 SkScalar scaleAdjust[2]) const override;
DSkImage_Base.h59 SkScalar scaleAdjust[2]) const = 0;
DSkImage_GpuBase.h41 SkScalar scaleAdjust[2]) const final;
DSkImage_Lazy.cpp242 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
248 return textureMaker.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
DSkImage_GpuBase.cpp213 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
221 return adjuster.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
/external/skqp/src/shaders/
DSkImageShader.cpp219 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in asFragmentProcessor() local
221 scaleAdjust)); in asFragmentProcessor()
229 lmInverse.postScale(scaleAdjust[0], scaleAdjust[1]); in asFragmentProcessor()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp154 SkScalar scaleAdjust = newMaxScale / oldMaxScale; in mustRegenerate() local
155 if (scaleAdjust < fMaxMinScale || scaleAdjust > fMinMaxScale) { in mustRegenerate()
/external/skia/src/gpu/text/
DGrTextBlob.cpp1291 SkScalar scaleAdjust = newMaxScale / oldMaxScale; in canReuse() local
1293 if (scaleAdjust < maxMinScale || scaleAdjust > minMaxScale) { in canReuse()