Home
last modified time | relevance | path

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

12

/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;
/external/skia/src/gpu/
DGrTextureMaker.cpp18 SkScalar scaleAdjust[2]) { in onRefTextureProxyForParams()
33 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
45 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
124 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in createFragmentProcessor() local
126 scaleAdjust)); in createFragmentProcessor()
131 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.cpp243 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
255 return this->refTextureProxyForParams(sampler, scaleAdjust); in refTextureProxyForParams()
260 SkScalar scaleAdjust[2]) { in refTextureProxyForParams()
262 SkASSERT(!scaleAdjust || (scaleAdjust[0] == 1 && scaleAdjust[1] == 1)); in refTextureProxyForParams()
267 SkASSERT(scaleAdjust || expectNoScale); in refTextureProxyForParams()
273 auto result = this->onRefTextureProxyForParams(sampler, willBeMipped, scaleAdjust); in refTextureProxyForParams()
DGrTextureProducer.h86 SkScalar scaleAdjust[2]);
89 const GrSamplerState::Filter* filterOrNullForBicubic, SkScalar scaleAdjust[2]);
183 SkScalar scaleAdjust[2]) = 0;
DGrGpu.cpp51 SkScalar scaleAdjust[2]) { in IsACopyNeededForRepeatWrapMode()
54 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
57 SkASSERT(scaleAdjust); in IsACopyNeededForRepeatWrapMode()
58 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
59 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
DGrTextureMaker.h46 SkScalar scaleAdjust[2]) override;
DGrTextureAdjuster.h49 SkScalar scaleAdjust[2]) override;
/external/skia/src/image/
DSkImage_Raster.cpp85 SkScalar scaleAdjust[2]) const override;
176 SkScalar scaleAdjust[2]) const { in asTextureProxyRef()
186 return adjuster.refTextureProxyForParams(params, scaleAdjust); in asTextureProxyRef()
189 return GrRefCachedBitmapTextureProxy(context, fBitmap, params, scaleAdjust); in asTextureProxyRef()
DSkImage_Lazy.h51 SkScalar scaleAdjust[2]) const override;
DSkImage_Gpu.cpp486 SkScalar scaleAdjust[2] = { 1.0f, 1.0f }; in MakeCrossContextFromEncoded() local
487 sk_sp<GrTextureProxy> proxy(maker.refTextureProxyForParams(samplerState, scaleAdjust)); in MakeCrossContextFromEncoded()
490 SkASSERT(scaleAdjust[0] == 1.0f && scaleAdjust[1] == 1.0f); in MakeCrossContextFromEncoded()
/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;
/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/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()
/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.cpp154 SkScalar scaleAdjust = newMaxScale / oldMaxScale; in mustRegenerate() local
155 if (scaleAdjust < fMaxMinScale || scaleAdjust > fMinMaxScale) { in mustRegenerate()

12