Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrTextureMaker.cpp18 SkScalar scaleAdjust[2]) { in onRefTextureProxyForParams()
33 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
45 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
126 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in createFragmentProcessor() local
128 scaleAdjust)); in createFragmentProcessor()
133 adjustedMatrix.postScale(scaleAdjust[0], scaleAdjust[1]); in createFragmentProcessor()
DGrTextureAdjuster.cpp80 SkScalar scaleAdjust[2]) { in onRefTextureProxyForParams()
96 &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
123 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in createFragmentProcessor() local
125 this->refTextureProxyForParams(filterOrNullForBicubic, scaleAdjust)); in createFragmentProcessor()
132 textureMatrix.postScale(scaleAdjust[0], scaleAdjust[1]); in createFragmentProcessor()
DGrTextureProducer.cpp239 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
251 return this->refTextureProxyForParams(sampler, scaleAdjust); in refTextureProxyForParams()
256 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
258 SkASSERT(!scaleAdjust || (scaleAdjust[0] == 1 && scaleAdjust[1] == 1)); in refTextureProxyForParams()
263 SkASSERT(scaleAdjust || expectNoScale); in refTextureProxyForParams()
269 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, scaleAdjust); in refTextureProxyForParams()
DGrTextureProducer.h87 SkScalar scaleAdjust[2]);
90 const GrSamplerState::Filter* filterOrNullForBicubic, SkScalar scaleAdjust[2]);
189 SkScalar scaleAdjust[2]) = 0;
DGrGpu.cpp49 SkScalar scaleAdjust[2]) { in IsACopyNeededForRepeatWrapMode()
52 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
55 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
56 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
57 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
DGrTextureMaker.h46 SkScalar scaleAdjust[2]) override;
DGrTextureAdjuster.h47 SkScalar scaleAdjust[2]) override;
DSkGr.h191 SkScalar scaleAdjust[2]);
DSkGr.cpp140 SkScalar scaleAdjust[2]) { in GrRefCachedBitmapTextureProxy()
141 return GrBitmapTextureMaker(ctx, bitmap).refTextureProxyForParams(params, scaleAdjust); in GrRefCachedBitmapTextureProxy()
DGrGpu.h487 SkScalar scaleAdjust[2]);
/third_party/flutter/skia/src/image/
DSkImage_Raster.cpp81 SkScalar scaleAdjust[2]) const override;
171 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
182 return adjuster.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
185 return GrRefCachedBitmapTextureProxy(context, fBitmap, params, scaleAdjust); in asTextureProxyRef()
DSkImage_Lazy.h47 SkScalar scaleAdjust[2]) const override;
DSkImage_GpuBase.h41 SkScalar scaleAdjust[2]) const final;
DSkImage_Base.h61 SkScalar scaleAdjust[2]) const = 0;
DSkImage_GpuBase.cpp164 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
173 return adjuster.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
DSkImage_Lazy.cpp242 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
248 return textureMaker.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
/third_party/flutter/skia/src/shaders/
DSkImageShader.cpp224 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in asFragmentProcessor() local
226 scaleAdjust)); in asFragmentProcessor()
234 lmInverse.postScale(scaleAdjust[0], scaleAdjust[1]); in asFragmentProcessor()
/third_party/flutter/skia/src/gpu/text/
DGrTextBlob.cpp152 SkScalar scaleAdjust = newMaxScale / oldMaxScale; in mustRegenerate() local
153 if (scaleAdjust < fMaxMinScale || scaleAdjust > fMinMaxScale) { in mustRegenerate()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1311 SkScalar scaleAdjust = newMaxScale / oldMaxScale; in canReuse() local
1313 if (scaleAdjust < maxMinScale || scaleAdjust > minMaxScale) { in canReuse()