Lines Matching full:layer
56 class Layer;
205 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer);
206 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer);
211 std::unordered_map<Layer*, Composition>* outTypes);
230 std::unordered_map<Layer*, LayerRequest>* outLayerRequests);
236 std::unordered_map<Layer*,
273 // This may fail (and return a null pointer) if no layer with this ID exists
275 Layer* getLayerById(hwc2_layer_t id) const;
290 std::unordered_map<hwc2_layer_t, std::unique_ptr<Layer>> mLayers;
294 // Convenience C++ class to access hwc2_device_t Layer functions directly.
295 class Layer
298 Layer(android::Hwc2::Composer& composer,
301 ~Layer();
305 // Register a listener to be notified when the layer is destroyed. When the
306 // listener function is called, the Layer will be in the process of being
308 void setLayerDestroyedListener(std::function<void(Layer*)> listener);
340 // this HWC2::Layer, so these references are guaranteed to be valid for
349 std::function<void(Layer*)> mLayerDestroyedListener;