Lines Matching refs:texture
89 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) {
90 glBindTexture(GL_TEXTURE_2D, texture->id);
91 texture->setWrapST(wrapS, wrapT);
117 Texture* texture = mTextureCache->get(mBitmap);
118 if (!texture) return;
119 mTexture = texture;
121 const float width = texture->width;
122 const float height = texture->height;
145 Texture* texture = mTexture;
147 if (!texture) return;
148 const AutoTexture autoCleanup(texture);
150 const float width = texture->width;
151 const float height = texture->height;
157 bindTexture(texture, mWrapS, mWrapT);
158 texture->setFilter(GL_LINEAR);
232 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
235 bindTexture(texture, gTileModes[mTileX], gTileModes[mTileY]);
352 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
355 bindTexture(texture, gTileModes[mTileX], gTileModes[mTileY]);