• Home
  • Raw
  • Download

Lines Matching refs:textureDomain

82                                               const GrTextureDomain& textureDomain,  in sampleTexture()  argument
87 SkASSERT(!fHasMode || (textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY)); in sampleTexture()
88 SkDEBUGCODE(fModeX = textureDomain.modeX();) in sampleTexture()
89 SkDEBUGCODE(fModeY = textureDomain.modeY();) in sampleTexture()
92 if ((textureDomain.modeX() != kIgnore_Mode || textureDomain.modeY() != kIgnore_Mode) && in sampleTexture()
97 if (textureDomain.fIndex >= 0) { in sampleTexture()
98 uniName.appendS32(textureDomain.fIndex); in sampleTexture()
105 bool decalX = textureDomain.modeX() == kDecal_Mode; in sampleTexture()
106 bool decalY = textureDomain.modeY() == kDecal_Mode; in sampleTexture()
110 if (textureDomain.fIndex >= 0) { in sampleTexture()
111 uniName.appendS32(textureDomain.fIndex); in sampleTexture()
125 if (textureDomain.modeX() != textureDomain.modeY()) { in sampleTexture()
128 SkString tcX = clamp_expression(textureDomain.modeX(), "origCoord", "x", in sampleTexture()
130 SkString tcY = clamp_expression(textureDomain.modeY(), "origCoord", "y", in sampleTexture()
136 SkString tc = clamp_expression(textureDomain.modeX(), "origCoord", "xy", in sampleTexture()
181 const GrTextureDomain& textureDomain, in setData() argument
185 SkASSERT(fHasMode && textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY); in setData()
186 if (kIgnore_Mode != textureDomain.modeX() || kIgnore_Mode != textureDomain.modeY()) { in setData()
187 bool sendDecalData = textureDomain.modeX() == kDecal_Mode || in setData()
188 textureDomain.modeY() == kDecal_Mode; in setData()
216 SkScalarToFloat(textureDomain.domain().fLeft * wInv), in setData()
217 SkScalarToFloat(textureDomain.domain().fTop * hInv), in setData()
218 SkScalarToFloat(textureDomain.domain().fRight * wInv), in setData()
219 SkScalarToFloat(textureDomain.domain().fBottom * hInv) in setData()