~afrantzis/mir/glib-main-loop-spike-wip

« back to all changes in this revision

Viewing changes to src/client/client_buffer.h

client:
add a way for the client platform to pull an update message from mcl::Buffer when its returning a buffer to the server. 
.

Approved by Alberto Aguirre, Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    virtual void mark_as_submitted() = 0;
64
64
    virtual std::shared_ptr<graphics::NativeBuffer> native_buffer_handle() const = 0;
65
65
    virtual void update_from(MirBufferPackage const& update_package) = 0;
 
66
    virtual void fill_update_msg(MirBufferPackage& message) = 0;
66
67
 
67
68
protected:
68
69
    ClientBuffer() = default;