~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to src/platform/graphics/mesa/display_buffer.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-02-04 14:49:07 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20140204144907-o3ruhix0ey26lchl
Tags: upstream-0.1.4+14.04.20140204
ImportĀ upstreamĀ versionĀ 0.1.4+14.04.20140204

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                  std::vector<std::shared_ptr<KMSOutput>> const& outputs,
49
49
                  GBMSurfaceUPtr surface_gbm,
50
50
                  geometry::Rectangle const& area,
 
51
                  MirOrientation rot,
51
52
                  EGLContext shared_context);
52
53
    ~DisplayBuffer();
53
54
 
58
59
 
59
60
    bool can_bypass() const override;
60
61
    void post_update(std::shared_ptr<graphics::Buffer> bypass_buf) override;
 
62
    void render_and_post_update(std::list<std::shared_ptr<Renderable>> const& renderlist,
 
63
                                std::function<void(Renderable const&)> const& render_fn);
 
64
    MirOrientation orientation() const override;
61
65
    void schedule_set_crtc();
62
66
 
63
67
private:
75
79
    GBMSurfaceUPtr surface_gbm;
76
80
    helpers::EGLHelper egl;
77
81
    geometry::Rectangle area;
 
82
    uint32_t fb_width, fb_height;
 
83
    MirOrientation rotation;
78
84
    std::atomic<bool> needs_set_crtc;
79
85
};
80
86