19 #ifndef MIR_GRAPHICS_ANDROID_HWC_LAYERS_H_
20 #define MIR_GRAPHICS_ANDROID_HWC_LAYERS_H_
25 #include <hardware/hwcomposer.h>
28 #include <initializer_list>
54 std::shared_ptr<hwc_display_contents_1_t> list,
61 std::shared_ptr<hwc_display_contents_1_t> list,
size_t layer_index);
78 hwc_layer_1_t* hwc_layer;
79 std::shared_ptr<hwc_display_contents_1_t> hwc_list;
80 hwc_rect_t visible_rect;
All things Mir.
Definition: aging_buffer.h:24
struct MirBufferPackage NativeBuffer
Definition: native_buffer.h:35
Definition: hwc_layers.h:45
LayerType
Definition: hwc_layers.h:42
Definition: hwc_layers.h:50
HWCLayer(std::shared_ptr< hwc_display_contents_1_t > list, size_t layer_index)
Definition: hwc_layers.cpp:56
bool needs_gl_render() const
Definition: hwc_layers.cpp:86
Definition: hwc_layers.h:46
bool setup_layer(LayerType type, geometry::Rectangle const &position, bool alpha_enabled, Buffer const &buffer)
Definition: hwc_layers.cpp:102
Definition: hwc_layers.h:47
Definition: hwc_layers.h:44
HWCLayer & operator=(HWCLayer &&layer)
Definition: hwc_layers.cpp:41
void set_acquirefence_from(Buffer const &buffer)
Definition: hwc_layers.cpp:162
Definition: rectangle.h:33
Definition: android_input_receiver.h:32
void update_from_releasefence(Buffer const &buffer)
Definition: hwc_layers.cpp:91