~robertcarr/mir/client-focus-notifications

« back to all changes in this revision

Viewing changes to src/server/graphics/gbm/gbm_buffer_allocator.h

  • Committer: Robert Carr
  • Date: 2013-08-01 22:01:20 UTC
  • mfrom: (706.2.208 trunk)
  • Revision ID: robert.carr@canonical.com-20130801220120-6m230b3g6x0xflzd
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_PLATFORM_GBM_GBM_BUFFER_ALLOCATOR_H_
20
20
#define MIR_PLATFORM_GBM_GBM_BUFFER_ALLOCATOR_H_
21
21
 
22
 
#include "mir/compositor/graphic_buffer_allocator.h"
 
22
#include "mir/graphics/graphic_buffer_allocator.h"
23
23
#include "mir/graphics/buffer_id.h"
24
24
 
25
25
#include <memory>
35
35
{
36
36
class GBMPlatform;
37
37
 
38
 
class GBMBufferAllocator: public compositor::GraphicBufferAllocator
 
38
class GBMBufferAllocator: public graphics::GraphicBufferAllocator
39
39
{
40
40
public:
41
41
    GBMBufferAllocator(const std::shared_ptr<GBMPlatform>& platform,
42
42
                       const std::shared_ptr<BufferInitializer>& buffer_initializer);
43
43
 
44
44
    virtual std::shared_ptr<Buffer> alloc_buffer(
45
 
        compositor::BufferProperties const& buffer_properties);
 
45
        graphics::BufferProperties const& buffer_properties);
46
46
 
47
47
    std::vector<geometry::PixelFormat> supported_pixel_formats();
48
48