Lines Matching refs:textureDomain
103 const GrTextureDomain& textureDomain, in sampleTexture() argument
109 SkASSERT((Mode)-1 == fMode || textureDomain.mode() == fMode); in sampleTexture()
110 SkDEBUGCODE(fMode = textureDomain.mode();) in sampleTexture()
112 if (textureDomain.mode() != kIgnore_Mode && !fDomainUni.isValid()) { in sampleTexture()
115 if (textureDomain.fIndex >= 0) { in sampleTexture()
116 uniName.appendS32(textureDomain.fIndex); in sampleTexture()
124 switch (textureDomain.mode()) { in sampleTexture()
200 const GrTextureDomain& textureDomain, in setData() argument
202 SkASSERT(textureDomain.mode() == fMode); in setData()
203 if (kIgnore_Mode != textureDomain.mode()) { in setData()
208 SkScalarToFloat(textureDomain.domain().fLeft * wInv), in setData()
209 SkScalarToFloat(textureDomain.domain().fTop * hInv), in setData()
210 SkScalarToFloat(textureDomain.domain().fRight * wInv), in setData()
211 SkScalarToFloat(textureDomain.domain().fBottom * hInv) in setData()