~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    //TODO: could probably just take the HalComponentFactory to reduce the
46
46
    //      number of dependencies
47
47
    DisplayBuffer(
 
48
        DisplayName,
48
49
        std::unique_ptr<LayerList> layer_list,
49
50
        std::shared_ptr<FramebufferBundle> const& fb_bundle,
50
51
        std::shared_ptr<DisplayDevice> const& display_device,
58
59
    void make_current() override;
59
60
    void release_current() override;
60
61
    void gl_swap_buffers() override;
61
 
    void flip() override;
62
62
    bool post_renderables_if_optimizable(RenderableList const& renderlist) override;
63
63
 
64
64
    MirOrientation orientation() const override;
65
65
    bool uses_alpha() const override;
66
66
    void configure(MirPowerMode power_mode, MirOrientation orientation) override;
 
67
    DisplayContents contents() override;
 
68
    MirPowerMode power_mode() const override;
67
69
private:
 
70
    DisplayName display_name;
68
71
    std::unique_ptr<LayerList> layer_list;
69
72
    std::shared_ptr<FramebufferBundle> const fb_bundle;
70
73
    std::shared_ptr<DisplayDevice> const display_device;
73
76
    HWCFallbackGLRenderer overlay_program;
74
77
    bool overlay_enabled;
75
78
    MirOrientation orientation_;
 
79
    MirPowerMode power_mode_;
76
80
};
77
81
 
78
82
}