~raof/mir/wl-implement-bare-minimum-fullscreen

« back to all changes in this revision

Viewing changes to include/mir/compositor/compositor.h

  • Committer: Alan Griffiths
  • Date: 2012-06-20 13:58:25 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: alan@octopull.co.uk-20120620135825-277yx9776tcpf6b7
Create a compositor lib

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
namespace compositor
40
40
{
 
41
class buffer_manager;
41
42
 
42
43
class compositor : public drawer
43
44
{
44
45
public:
45
 
        explicit compositor(surfaces::scenegraph* scenegraph) : scenegraph(scenegraph) {}
 
46
        explicit compositor(
 
47
                        surfaces::scenegraph* scenegraph,
 
48
                        buffer_manager* buffermanager);
 
49
 
46
50
        virtual void render(graphics::display* /*display*/) { /*TODO*/ }
47
51
 
48
52
private:
49
53
        surfaces::scenegraph* scenegraph;
 
54
        buffer_manager* buffermanager;
50
55
};
51
56
 
52
57
}}