Lines Matching defs:texture
93 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) {
94 mCaches->bindTexture(texture->id);
95 texture->setWrapST(wrapS, wrapT);
121 Texture* texture = mCaches->textureCache.get(mBitmap);
122 if (!texture) return;
123 mTexture = texture;
125 const float width = texture->width;
126 const float height = texture->height;
149 Texture* texture = mTexture;
151 if (!texture) return;
152 const AutoTexture autoCleanup(texture);
154 const float width = texture->width;
155 const float height = texture->height;
161 bindTexture(texture, mWrapS, mWrapT);
162 texture->setFilter(GL_LINEAR);
236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount);
239 bindTexture(texture, gTileModes[mTileX], gTileModes[mTileY]);
356 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount);
359 bindTexture(texture, gTileModes[mTileX], gTileModes[mTileY]);