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);
64 bool needs_swapbuffers();
67 hwc_display_contents_1_t* native_list();
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
pixel_iterator end(MirGraphicsRegion const ®ion)
Definition: multi_stream.cpp:156
Definition: hwc_layers.h:82
pixel_iterator begin(MirGraphicsRegion const ®ion)
Definition: multi_stream.cpp:151
HWCLayer layer
Definition: hwc_layerlist.h:46
int NativeFence
Definition: fence.h:30
Definition: hwc_layerlist.h:43
Definition: displacement.h:32
Definition: hwc_layerlist.h:50
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
HwcLayerEntry(HWCLayer &&layer, bool needs_commit)
Definition: hwc_layerlist.cpp:54
Definition: android_input_receiver.h:36
bool needs_commit
Definition: hwc_layerlist.h:47