Lines Matching refs:layer
50 * A layer has dimensions and is backed by an OpenGL texture or FBO.
52 struct Layer {
53 Layer(const uint32_t layerWidth, const uint32_t layerHeight);
54 ~Layer();
67 * Sets this layer's region to a rectangle. Computes the appropriate
77 const float height = layer.getHeight();
82 regionRect.translate(layer.left, layer.top);
103 * Resize the layer and its texture if needed.
105 * @param width The new width of the layer
106 * @param height The new height of the layer
108 * @return True if the layer was resized or nothing happened, false if
234 * must call this method to tell this layer that it lost
253 * Bounds of the layer.
255 Rect layer;
257 * Texture coordinates of the layer.
266 * Dirty region indicating what parts of the layer
277 * If the layer can be rendered as a mesh, this is non-null.
296 * Name of the FBO used to render the layer. If the name is 0
297 * this layer is not backed by an FBO, but a simple texture.
307 * Indicates whether this layer has been used already.
312 * The texture backing this layer.
317 * If set to true (by default), the layer can be reused.
322 * When set to true, this layer must be treated as a texture
323 * layer.
328 * When set to true, this layer is dirty and should be cleared
339 * Color filter used to draw this layer. Optional.
344 * Opacity of the layer.
348 * Blending mode of the layer.
363 * Used to defer display lists when the layer is updated with a
368 }; // struct Layer