19 #ifndef MIR_GRAPHICS_ANDROID_HWC_LAYERLIST_H_
20 #define MIR_GRAPHICS_ANDROID_HWC_LAYERLIST_H_
26 #include <hardware/hwcomposer.h>
29 #include <initializer_list>
54 std::shared_ptr<LayerAdapter>
const& layer_adapter,
59 std::list<HwcLayerEntry>::iterator
begin();
60 std::list<HwcLayerEntry>::iterator
end();
63 void setup_fb(std::shared_ptr<Buffer>
const& fb_target);
77 std::shared_ptr<LayerAdapter>
const layer_adapter;
78 std::list<HwcLayerEntry> layers;
79 std::shared_ptr<hwc_display_contents_1_t> hwc_representation;
87 size_t additional_layers_for(Mode mode);
All things Mir.
Definition: atomic_callback.h:25
void swap_occurred()
Definition: hwc_layerlist.cpp:211
void update_list(RenderableList const &renderlist, geometry::Displacement list_offset)
Definition: hwc_layerlist.cpp:87
void setup_fb(std::shared_ptr< Buffer > const &fb_target)
Definition: hwc_layerlist.cpp:190
LayerList(std::shared_ptr< LayerAdapter > const &layer_adapter, RenderableList const &renderlist, geometry::Displacement list_offset)
Definition: hwc_layerlist.cpp:160
Definition: hwc_layers.h:82
NativeFence retirement_fence()
Definition: hwc_layerlist.cpp:154
hwc_display_contents_1_t * native_list()
Definition: hwc_layerlist.cpp:149
HWCLayer layer
Definition: hwc_layerlist.h:46
std::list< HwcLayerEntry >::iterator end()
Definition: hwc_layerlist.cpp:144
int NativeFence
Definition: fence.h:30
Definition: hwc_layerlist.h:43
bool needs_swapbuffers()
Definition: hwc_layerlist.cpp:169
Definition: displacement.h:32
Definition: hwc_layerlist.h:50
std::list< HwcLayerEntry >::iterator begin()
Definition: hwc_layerlist.cpp:139
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
HwcLayerEntry(HWCLayer &&layer, bool needs_commit)
Definition: hwc_layerlist.cpp:54
RenderableList rejected_renderables()
Definition: hwc_layerlist.cpp:177
Definition: android_input_receiver.h:36
bool needs_commit
Definition: hwc_layerlist.h:47