Home | History | Annotate | Download | only in hwui

Lines Matching refs:texture

21 #include "Texture.h"
30 * A layer has dimensions and is backed by an OpenGL texture or FBO.
38 uint32_t getWidth() const override { return texture.mWidth; }
40 uint32_t getHeight() const override { return texture.mHeight; }
43 texture.updateLayout(width, height, texture.internalFormat(), texture.format(),
44 texture.target());
47 void setBlend(bool blend) override { texture.blend = blend; }
49 bool isBlend() const override { return texture.blend; }
51 inline GLuint getTextureId() const { return texture.id(); }
53 inline Texture& getTexture() { return texture; }
55 inline GLenum getRenderTarget() const { return texture.target(); }
57 inline bool isRenderable() const { return texture.target() != GL_NONE; }
73 * The texture backing this layer.
75 Texture texture;