~mir-team/mir/in-process-egl+input-conglomeration

« back to all changes in this revision

Viewing changes to src/server/graphics/android/display_support_provider.h

Merged trunk and fixed issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
namespace mir
27
27
{
 
28
namespace compositor
 
29
{
 
30
class Buffer;
 
31
}
28
32
namespace graphics
29
33
{
30
34
namespace android
31
35
{
32
36
 
33
 
class AndroidBuffer;
34
37
class DisplaySupportProvider
35
38
{
36
39
public:
41
44
    virtual unsigned int number_of_framebuffers_available() const = 0;
42
45
    //this function schedules the next frontbuffer to be "buffer" parameter. depending on implementation, it may
43
46
    //post immediately, or be deferred.
44
 
    virtual void set_next_frontbuffer(std::shared_ptr<AndroidBuffer> const& buffer) = 0;
 
47
    virtual void set_next_frontbuffer(std::shared_ptr<compositor::Buffer> const& buffer) = 0;
45
48
 
46
49
protected:
47
50
    DisplaySupportProvider() = default;