Home | History | Annotate | Download | only in hwui

Lines Matching full:layer

61     // TODO: remove, with each layer on its own save stack
77 // only schedule repaint if node still on layer - possible it may have been
80 OffscreenBuffer* layer = layerNode->getLayer();
81 if (CC_LIKELY(layer)) {
82 ATRACE_FORMAT("Optimize HW Layer DisplayList %s %ux%u", layerNode->getName(),
86 // TODO: ensure layer damage can't be larger than layer
87 layerDamage.doIntersect(0, 0, layer->viewportWidth, layer->viewportHeight);
92 layer->inverseTransformInWindow.mapPoint3d(lightCenter);
238 clipFlags &= ~CLIP_TO_BOUNDS; // bounds clipping done by layer
278 // not rejected, so defer render as either Layer, or direct (possibly wrapped in saveLayer)
280 // HW layer
284 // Node's layer already deferred, schedule it to render into parent layer
288 // draw DisplayList contents within temporary, since persisted layer could not be used.
770 GlLayer* layer = static_cast<GlLayer*>(op.layerHandle->backingLayer());
771 if (CC_UNLIKELY(!layer || !layer->isRenderable())) return;
775 if (!layer->getTransform().isIdentity()) {
778 combinedMatrix.multiply(layer->getTransform());
800 // create a new layer repaint, and push its index on the stack
808 // restore canvas, and pop finished layer off of the stack
831 // map the light center into layer-relative space
834 // Clip bounds of temporary layer to parent's clip rect, so:
846 // if bounds are reduced, will clip the layer's area by reducing required bounds...
882 // map the light center into layer-relative space
885 // Clip bounds of temporary layer to parent's clip rect, so:
900 // record the draw operation into the previous layer's list of draw commands
908 // Layer will be drawn into parent layer (which is now current, since we popped mLayerStack)
911 // Layer won't be drawn - delete its drawing batches to prevent it from doing any work
929 // Unclipped layer rejected - push a null op, so next EndUnclippedLayerOp is ignored
932 // Allocate a holding position for the layer object (copyTo will produce, copyFrom will
937 * First, defer an operation to copy out the content from the rendertarget into a layer.
951 * And stash an operation to copy that layer back under the rendertarget until
962 LOG_ALWAYS_FATAL_IF(currentLayer().activeUnclippedSaveLayers.empty(), "no layer to end!");