~afrantzis/mir/reproduce-1444047

« back to all changes in this revision

Viewing changes to src/platforms/mesa/server/buffer_allocator.h

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2015-04-15 16:35:56 UTC
  • mfrom: (2467.3.11 mesa-nested-buffer)
  • Revision ID: tarmac-20150415163556-dtiq4s49w5t3mg93
mesa: provide a way for a nested server to reconstruct a mgm::Buffer from a MirNativeBuffer.

Approved by Alexandros Frantzis, Alan Griffiths, PS Jenkins bot, Robert Carr, Chris Halse Rogers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    virtual std::shared_ptr<Buffer> alloc_buffer(
47
47
        graphics::BufferProperties const& buffer_properties);
48
48
 
 
49
    std::unique_ptr<Buffer> reconstruct_from(MirBufferPackage* package, MirPixelFormat format);
 
50
 
49
51
    std::vector<MirPixelFormat> supported_pixel_formats();
50
52
 
51
53
private: