Lines Matching refs:layer

150     void pushLayerUpdate(Layer* layer);
151 void cancelLayerUpdate(Layer* layer);
160 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if
169 void drawLayer(Layer* layer);
373 * Call this method after updating a layer during a drawing pass.
380 * appropriate layer(s).
386 * attaches it to the specified layer.
388 void attachStencilBufferToLayer(Layer* layer);
405 * Compose the layer defined in the current snapshot with the layer
408 * The current snapshot *must* be a layer (flag kFlagIsLayer set.)
410 * @param curent The current snapshot containing the layer to compose
411 * @param previous The previous snapshot to compose the current layer with
421 * Returns the region of the current layer.
428 * Indicates whether rendering is currently targeted at a layer.
435 * Renders the specified layer as a textured quad.
437 * @param layer The layer to render
438 * @param rect The bounds of the layer
440 void drawTextureLayer(Layer* layer, const Rect& rect);
443 * Gets the alpha from a layer, accounting for snapshot alpha
445 * @param layer The layer from which the alpha is extracted
447 inline float getLayerAlpha(const Layer* layer) const;
489 * Given the local bounds of the layer, calculates ...
494 * Given the local bounds + clip of the layer, updates current snapshot's empty/invisible
500 * Creates a new layer stored in the specified snapshot.
502 * @param snapshot The snapshot associated with the new layer
503 * @param left The left coordinate of the layer
504 * @param top The top coordinate of the layer
505 * @param right The right coordinate of the layer
506 * @param bottom The bottom coordinate of the layer
507 * @param alpha The translucency of the layer
508 * @param mode The blending mode of the layer
509 * @param flags The layer save flags
510 * @param mask A mask to use when drawing the layer back, may be empty
512 * @return True if the layer was successfully created, false otherwise
518 * Creates a new layer stored in the specified snapshot as an FBO.
520 * @param layer The layer to store as an FBO
521 * @param snapshot The snapshot associated with the new layer
522 * @param bounds The bounds of the layer
524 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip);
527 * Compose the specified layer as a region.
529 * @param layer The layer to compose
530 * @param rect The layer's bounds
532 void composeLayerRegion(Layer* layer, const Rect& rect);
535 * Restores the content in layer to the screen, swapping the blend mode,
538 * This allows e.g. a layer that would have been drawn on top of existing content (with SrcOver)
543 void composeLayerRectSwapped(Layer* layer, const Rect& rect);
546 * Draws the content in layer to the screen.
548 void composeLayerRect(Layer* layer, const Rect& rect);
557 * Mark the layer as dirty at the specified coordinates. The coordinates
564 * Mark the layer as dirty at the specified coordinates.
593 * @param dirty True if calling this method should dirty the current layer
639 * Draws shadow layer on text (with optional positions).
683 bool updateLayer(Layer* layer, bool inFrame);