Lines Matching refs:GrTextureDomain
24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, in GrTextureDomain() function in GrTextureDomain
52 static SkString clamp_expression(GrTextureDomain::Mode mode, const char* inCoord, in clamp_expression()
57 case GrTextureDomain::kIgnore_Mode: in clamp_expression()
60 case GrTextureDomain::kDecal_Mode: in clamp_expression()
63 case GrTextureDomain::kClamp_Mode: in clamp_expression()
67 case GrTextureDomain::kRepeat_Mode: in clamp_expression()
79 void GrTextureDomain::GLDomain::sampleTexture(GrGLSLShaderBuilder* builder, in sampleTexture()
82 const GrTextureDomain& textureDomain, in sampleTexture()
180 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData()
181 const GrTextureDomain& textureDomain, in setData()
257 GrTextureDomain::Mode mode, in Make()
267 GrTextureDomain::Mode modeX, in Make()
268 GrTextureDomain::Mode modeY, in Make()
281 GrTextureDomain::Mode modeX, in GrTextureDomainEffect()
282 GrTextureDomain::Mode modeY, in GrTextureDomainEffect()
286 GrTextureDomain::IsDecalSampled(sampler, modeX, modeY))) in GrTextureDomainEffect()
290 SkASSERT((modeX != GrTextureDomain::kRepeat_Mode && modeY != GrTextureDomain::kRepeat_Mode) || in GrTextureDomainEffect()
307 b->add32(GrTextureDomain::GLDomain::DomainKey(fTextureDomain)); in onGetGLSLProcessorKey()
315 const GrTextureDomain& domain = tde.fTextureDomain; in onCreateGLSLInstance()
334 const GrTextureDomain& domain = tde.fTextureDomain; in onCreateGLSLInstance()
341 GrTextureDomain::GLDomain fGLDomain; in onCreateGLSLInstance()
366 GrTextureDomain::Mode modeX = in TestCreate()
367 (GrTextureDomain::Mode) d->fRandom->nextULessThan(GrTextureDomain::kModeCount); in TestCreate()
368 GrTextureDomain::Mode modeY = in TestCreate()
369 (GrTextureDomain::Mode) d->fRandom->nextULessThan(GrTextureDomain::kModeCount); in TestCreate()
371 bool bilerp = modeX != GrTextureDomain::kRepeat_Mode && modeY != GrTextureDomain::kRepeat_Mode ? in TestCreate()
397 GrTextureDomain::MakeTexelDomain(subset, GrTextureDomain::kDecal_Mode), in GrDeviceSpaceTextureDecalFragmentProcessor()
398 GrTextureDomain::kDecal_Mode, GrTextureDomain::kDecal_Mode) { in GrDeviceSpaceTextureDecalFragmentProcessor()
466 GrTextureDomain::GLDomain fGLDomain; in onCreateGLSLInstance()