Home | History | Annotate | Download | only in hwui

Lines Matching refs:Layer

170     void pushLayerUpdate(Layer* layer);
171 void cancelLayerUpdate(Layer* layer);
180 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if
189 void drawLayer(Layer* layer, float x, float y);
443 * Call this method after updating a layer during a drawing pass.
450 * appropriate layer(s).
456 * attaches it to the specified layer.
458 void attachStencilBufferToLayer(Layer* layer);
475 * Compose the layer defined in the current snapshot with the layer
478 * The current snapshot *must* be a layer (flag kFlagIsLayer set.)
480 * @param curent The current snapshot containing the layer to compose
481 * @param previous The previous snapshot to compose the current layer with
491 * Returns the region of the current layer.
498 * Indicates whether rendering is currently targeted at a layer.
505 * Renders the specified layer as a textured quad.
507 * @param layer The layer to render
508 * @param rect The bounds of the layer
510 void drawTextureLayer(Layer* layer, const Rect& rect);
523 * Gets the alpha from a layer, accounting for snapshot alpha
525 * @param layer The layer from which the alpha is extracted
527 inline float getLayerAlpha(const Layer* layer) const;
558 * This method will use the current layer space clip rect.
590 * Given the local bounds of the layer, calculates ...
595 * Given the local bounds + clip of the layer, updates current snapshot's empty/invisible
601 * Creates a new layer stored in the specified snapshot.
603 * @param snapshot The snapshot associated with the new layer
604 * @param left The left coordinate of the layer
605 * @param top The top coordinate of the layer
606 * @param right The right coordinate of the layer
607 * @param bottom The bottom coordinate of the layer
608 * @param alpha The translucency of the layer
609 * @param mode The blending mode of the layer
610 * @param flags The layer save flags
611 * @param mask A mask to use when drawing the layer back, may be empty
613 * @return True if the layer was successfully created, false otherwise
619 * Creates a new layer stored in the specified snapshot as an FBO.
621 * @param layer The layer to store as an FBO
622 * @param snapshot The snapshot associated with the new layer
623 * @param bounds The bounds of the layer
625 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip);
628 * Compose the specified layer as a region.
630 * @param layer The layer to compose
631 * @param rect The layer's bounds
633 void composeLayerRegion(Layer* layer, const Rect& rect);
636 * Restores the content in layer to the screen, swapping the blend mode,
639 * This allows e.g. a layer that would have been drawn on top of existing content (with SrcOver)
644 void composeLayerRectSwapped(Layer* layer, const Rect& rect);
647 * Draws the content in layer to the screen.
649 void composeLayerRect(Layer* layer, const Rect& rect);
658 * Mark the layer as dirty at the specified coordinates. The coordinates
665 * Mark the layer as dirty at the specified coordinates.
694 * @param dirty True if calling this method should dirty the current layer
752 * Draws shadow layer on text (with optional positions).
797 bool updateLayer(Layer* layer, bool inFrame);
858 Vector< sp<Layer> > mLayerUpdates;
893 friend class Layer;