Home
last modified time | relevance | path

Searched refs:GrTextureDomain (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/gpu/effects/
DGrTextureDomain.cpp19 GrTextureDomain::GrTextureDomain(const SkRect& domain, Mode mode, int index) in GrTextureDomain() function in GrTextureDomain
46 void GrTextureDomain::GLDomain::sampleTexture(GrGLSLShaderBuilder* builder, in sampleTexture()
49 const GrTextureDomain& textureDomain, in sampleTexture()
148 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData()
149 const GrTextureDomain& textureDomain, in setData()
187 GrTextureDomain::GLDomain fGLDomain;
193 const GrTextureDomain& domain = textureDomainEffect.textureDomain(); in emitCode()
210 const GrTextureDomain& domain = textureDomainEffect.textureDomain(); in onSetData()
216 const GrTextureDomain& domain = processor.cast<GrTextureDomainEffect>().textureDomain(); in GenKey()
217 b->add32(GrTextureDomain::GLDomain::DomainKey(domain)); in GenKey()
[all …]
DGrTextureDomain.h28 class GrTextureDomain {
46 static const GrTextureDomain& IgnoredDomain() { in IgnoredDomain()
48 static const GrTextureDomain gDomain(gDummyRect, kIgnore_Mode); in IgnoredDomain()
56 GrTextureDomain(const SkRect& domain, Mode, int index = -1);
88 bool operator== (const GrTextureDomain& that) const {
120 const GrTextureDomain& textureDomain,
131 void setData(const GrGLSLProgramDataManager& pdman, const GrTextureDomain& textureDomain,
142 static uint32_t DomainKey(const GrTextureDomain& domain) { in DomainKey()
172 GrTextureDomain::Mode,
189 const GrTextureDomain& textureDomain() const { return fTextureDomain; } in textureDomain()
[all …]
DGrMatrixConvolutionEffect.h28 GrTextureDomain::Mode tileMode, in Create()
40 GrTextureDomain::Mode tileMode,
52 const GrTextureDomain& domain() const { return fDomain; } in domain()
64 GrTextureDomain::Mode tileMode,
85 GrTextureDomain fDomain;
DGrBicubicEffect.cpp30 const GrTextureDomain& domain = effect.cast<GrBicubicEffect>().domain(); in GenKey()
31 b->add32(GrTextureDomain::GLDomain::DomainKey(domain)); in GenKey()
42 GrTextureDomain::GLDomain fDomain;
48 const GrTextureDomain& domain = args.fFp.cast<GrBicubicEffect>().domain(); in emitCode()
141 , fDomain(GrTextureDomain::IgnoredDomain()) { in GrBicubicEffect()
152 , fDomain(domain, GrTextureDomain::kClamp_Mode) { in GrBicubicEffect()
DGrMatrixConvolutionEffect.cpp30 GrTextureDomain::GLDomain fDomain;
37 const GrTextureDomain& domain = mce.domain(); in emitCode()
119 b->add32(GrTextureDomain::GLDomain::DomainKey(m.domain())); in GenKey()
146 GrTextureDomain::Mode tileMode, in GrMatrixConvolutionEffect()
153 fDomain(GrTextureDomain::MakeTexelDomainForMode(texture, bounds, tileMode), tileMode) { in GrMatrixConvolutionEffect()
191 GrTextureDomain::Mode tileMode, in CreateGaussian()
245 GrTextureDomain::Mode tileMode = in TestCreate()
246 static_cast<GrTextureDomain::Mode>(d->fRandom->nextRangeU(0, 2)); in TestCreate()
DGrBicubicEffect.h30 const GrTextureDomain& domain() const { return fDomain; } in domain()
99 GrTextureDomain fDomain;
/external/skia/gm/
Dtexturedomaineffect.cpp41 (kTargetWidth + 2 * kDrawPad) * GrTextureDomain::kModeCount + in onISize()
42 kTestPad * GrTextureDomain::kModeCount; in onISize()
117 for (int m = 0; m < GrTextureDomain::kModeCount; ++m) { in onDraw()
118 GrTextureDomain::Mode mode = (GrTextureDomain::Mode) m; in onDraw()
124 GrTextureDomain::MakeTexelDomain(texture, in onDraw()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp185 GrTextureDomain::MakeTexelDomain(backgroundTex, background.bounds()), in filterImageGPUDeprecated()
186 GrTextureDomain::kDecal_Mode, in filterImageGPUDeprecated()
203 GrTextureDomain::MakeTexelDomain(foregroundTex, foreground.bounds()), in filterImageGPUDeprecated()
204 GrTextureDomain::kDecal_Mode, in filterImageGPUDeprecated()
DSkMatrixConvolutionImageFilter.cpp347 static GrTextureDomain::Mode convert_tilemodes( in convert_tilemodes()
351 return GrTextureDomain::kClamp_Mode; in convert_tilemodes()
353 return GrTextureDomain::kRepeat_Mode; in convert_tilemodes()
355 return GrTextureDomain::kDecal_Mode; in convert_tilemodes()
359 return GrTextureDomain::kIgnore_Mode; in convert_tilemodes()
DSkDisplacementMapEffect.cpp326 GrTextureDomain::GLDomain fGLDomain;
353 const GrTextureDomain& domain() const { return fDomain; } in domain()
380 GrTextureDomain fDomain;
483 , fDomain(GrTextureDomain::MakeTexelDomain(color, SkIRect::MakeSize(colorDimensions)), in GrDisplacementMapEffect()
484 GrTextureDomain::kDecal_Mode) in GrDisplacementMapEffect()
545 const GrTextureDomain& domain = displacementMap.domain(); in emitCode()
DSkGpuBlurUtils.cpp90 srcBounds ? GrTextureDomain::kDecal_Mode : GrTextureDomain::kIgnore_Mode, in convolve_gaussian_2d()
242 GrTextureDomain::kDecal_Mode, in GaussianBlur()
DSkLightingImageFilter.cpp544 const GrTextureDomain& domain() const { return fDomain; } in domain()
559 GrTextureDomain fDomain;
1595 GrTextureDomain::GLDomain fDomain;
1634 GrTextureDomain create_domain(GrTexture* texture, const SkIRect* srcBounds, in create_domain()
1635 GrTextureDomain::Mode mode) { in create_domain()
1637 SkRect texelDomain = GrTextureDomain::MakeTexelDomainForMode(texture, *srcBounds, mode); in create_domain()
1638 return GrTextureDomain(texelDomain, mode); in create_domain()
1640 return GrTextureDomain(SkRect::MakeEmpty(), GrTextureDomain::kIgnore_Mode); in create_domain()
1657 , fDomain(create_domain(texture, srcBounds, GrTextureDomain::kDecal_Mode)) { in GrLightingEffect()
1832 b->add32(GrTextureDomain::GLDomain::DomainKey(lighting.domain())); in GenKey()
/external/skia/src/gpu/
DGrTextureParamsAdjuster.cpp96 GrTextureDomain::kClamp_Mode, in copy_on_gpu()
353 GrTextureDomain::kClamp_Mode, in create_fp_for_domain_and_filter()
DGrClipMaskManager.cpp45 GrTextureDomain::MakeTexelDomain(result, domainTexels), in create_fp_for_mask()
46 GrTextureDomain::kDecal_Mode, in create_fp_for_mask()
DSkGpuDevice.cpp1155 GrTextureDomain::kClamp_Mode, in internalDrawBitmap()
/external/skia/gyp/
Dgpu.gypi287 '<(skia_src_path)/gpu/effects/GrTextureDomain.cpp',
288 '<(skia_src_path)/gpu/effects/GrTextureDomain.h',
/external/skia/
DAndroid.mk481 src/gpu/effects/GrTextureDomain.cpp \