Lines Matching defs:texture
38 // position + texture coord
46 // position + color + texture coord
185 // setup our sampler state for our text texture/atlas
212 // the mask texture color. The end result is that we get
332 GrTexture* texture = glyph->fPlot->texture();
333 SkASSERT(texture);
335 if (fCurrTexture != texture || fCurrVertex + 4 > fMaxVertices) {
337 fCurrTexture = texture;
423 // The texture coords are last in both the with and without color vertex layouts.
426 textureCoords->setRectFan(SkFixedToFloat(texture->normalizeFixedX(tx)),
427 SkFixedToFloat(texture->normalizeFixedY(ty)),
428 SkFixedToFloat(texture->normalizeFixedX(tx + tw)),
429 SkFixedToFloat(texture->normalizeFixedY(ty + th)),
516 // TODO: Update this to use the cache rather than directly creating a texture.