~peat-new/mir/hack-eglswapbuffer-call-fbpost

« back to all changes in this revision

Viewing changes to src/platforms/android/server/fb_device.h

  • Committer: Ratchanan Srirattanamet
  • Date: 2016-08-15 04:11:26 UTC
  • Revision ID: peathot@hotmail.com-20160815041126-cqo0km0r8vo1g4ev
android: [HACK] run FB's post from native_window's queue buffer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
{
29
29
namespace graphics
30
30
{
 
31
class Buffer;
 
32
 
31
33
namespace android
32
34
{
33
35
 
53
55
    void commit(std::list<DisplayContents> const& contents) override;
54
56
    std::chrono::milliseconds recommended_sleep() const override;
55
57
    bool can_swap_buffers() const override;
 
58
    void frame_available(std::shared_ptr<mir::graphics::Buffer> buffer) override;
56
59
 
57
60
private:
58
61
    std::shared_ptr<framebuffer_device_t> const fb_device;