Lines Matching refs:texture
42 , texture(caches) {
47 texture.resize(width, height, GL_RGBA);
48 texture.blend = true;
49 texture.setWrap(GL_CLAMP_TO_EDGE);
50 // not setting filter on texture, since it's set when drawing, based on transform
54 const float texX = 1.0f / static_cast<float>(texture.width());
55 const float texY = 1.0f / static_cast<float>(texture.height());
76 const float texX = 1.0f / float(texture.width());
77 const float texY = 1.0f / float(texture.height());
106 ATRACE_FORMAT("Destroy %ux%u HW Layer", texture.width(), texture.height());
107 texture.deleteTexture();
165 if (layer->texture.width() == OffscreenBuffer::computeIdealDimension(width)
166 && layer->texture.height() == OffscreenBuffer::computeIdealDimension(height)) {