Lines Matching defs:texture
127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) {
128 if (texture) {
129 mSize -= texture->objectSize();
132 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize);
135 texture->deleteTexture();
136 delete texture;
151 ShadowTexture* texture = mCache.get(entry);
153 if (!texture) {
165 texture = new ShadowTexture(caches);
166 texture->left = shadow.penX;
167 texture->top = shadow.penY;
168 texture->generation = 0;
169 texture->blend = true;
183 texture->upload(GL_ALPHA, shadow.width, shadow.height,
185 texture->setFilter(GL_LINEAR);
186 texture->setWrap(GL_CLAMP_TO_EDGE);
190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize);
195 mSize += texture->objectSize();
196 mCache.put(entry, texture);
198 texture->cleanup = true;
205 return texture;