19 #ifndef MIR_GRAPHICS_ANDROID_HWC_FB_DEVICE_H_
20 #define MIR_GRAPHICS_ANDROID_HWC_FB_DEVICE_H_
23 #include "hardware/gralloc.h"
24 #include "hardware/fb.h"
28 #include <condition_variable>
41 HwcFbDevice(std::shared_ptr<HwcWrapper>
const& hwc_wrapper,
42 std::shared_ptr<framebuffer_device_t>
const& fb_device);
52 void content_cleared()
override;
53 std::shared_ptr<HwcWrapper>
const hwc_wrapper;
54 std::shared_ptr<framebuffer_device_t>
const fb_device;
55 static int const num_displays{1};
58 std::mutex vsync_wait_mutex;
59 std::condition_variable vsync_trigger;
61 void notify_vsync(
DisplayName, std::chrono::nanoseconds);
All things Mir.
Definition: buffer_stream.h:37
Definition: display_device.h:40
Definition: hwc_fallback_gl_renderer.h:38
bool compatible_renderlist(RenderableList const &renderlist) override
Definition: swapping_gl_context.h:31
DisplayName
Definition: display_name.h:31
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:80
void commit(DisplayName, LayerList &, SwappingGLContext const &context, RenderableListCompositor const &list_compositor) override
Definition: hwc_layerlist.h:49
HwcFbDevice(std::shared_ptr< HwcWrapper > const &hwc_wrapper, std::shared_ptr< framebuffer_device_t > const &fb_device)
Definition: hwc_fb_device.cpp:38
Definition: android_input_receiver.h:32
Definition: hwc_fb_device.h:38