Lines Matching full:layer
55 // Layer represents the connection between a hardware composer layer and the
56 // source supplying buffers for the layer's contents.
57 class Layer {
59 Layer() = default;
61 // Sets up the layer to use a display surface as its content source. The Layer
71 Layer(Hwc2::Composer* composer, const DisplayParams& display_params,
76 // Sets up the layer to use a direct buffer as its content source. No special
85 Layer(Hwc2::Composer* composer, const DisplayParams& display_params,
89 Layer(Layer&&);
90 Layer& operator=(Layer&&);
92 ~Layer();
101 // Sets up the hardware composer layer for the next frame. When the layer is
114 // Sets the blending for the layer. |blending| receives HWC_BLENDING_* values.
117 // Sets the z-order of this layer
120 // Gets the current IonBuffer associated with this layer. Ownership of the
122 // remain valid across calls to Layer::Setup(), Layer::Prepare(), or
123 // Layer::Reset(). YOU HAVE BEEN WARNED.
127 HWC::Layer GetLayerHandle() const { return hardware_composer_layer_; }
149 bool operator<(const Layer& other) const {
161 // Applies all of the settings to this layer using the hwc functions
178 // Parameters of the display to use for this layer.
181 // The hardware composer layer and metrics to use during the prepare cycle.
184 // Layer properties used to setup the hardware composer layer during the
191 // State when the layer is connected to a surface. Provides the same interface
192 // as SourceBuffer to simplify internal use by Layer.
247 // State when the layer is connected to a buffer. Provides the same interface
248 // as SourceSurface to simplify internal use by Layer.
269 // The underlying hardware composer layer is supplied buffers either from a
289 Layer(const Layer&) = delete;
290 void operator=(const Layer&) = delete;
334 // Sets the display surfaces to compose the hardware layer stack.
433 // Reconfigures the layer stack if the display surfaces changed since the last
483 // Layer set for handling buffer flow into hardware composer layers. This
485 std::vector<Layer> layers_;
490 // The layer posting thread. This thread wakes up a short time before vsync to