~ubuntu-branches/ubuntu/trusty/mir/trusty-proposed

« back to all changes in this revision

Viewing changes to include/platform/mir/graphics/buffer_properties.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Daniel van Vugt, Ubuntu daily release
  • Date: 2014-01-08 02:04:38 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20140108020438-ikbu7qqm9v2l026y
Tags: 0.1.3+14.04.20140108-0ubuntu1
[ Daniel van Vugt ]
* Preparing for release 0.1.3

[ Ubuntu daily release ]
* Automatic snapshot from revision 1170

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define MIR_GRAPHICS_BUFFER_PROPERTIES_H_
21
21
 
22
22
#include "mir/geometry/size.h"
23
 
#include "mir/geometry/pixel_format.h"
 
23
#include "mir_toolkit/common.h"
24
24
 
25
25
namespace mir
26
26
{
49
49
{
50
50
    BufferProperties() :
51
51
        size(),
52
 
        format(geometry::PixelFormat::invalid),
 
52
        format(mir_pixel_format_invalid),
53
53
        usage(BufferUsage::undefined)
54
54
    {
55
55
    }
56
56
 
57
57
    BufferProperties(const geometry::Size& size,
58
 
                     const geometry::PixelFormat& format,
 
58
                     const MirPixelFormat& format,
59
59
                     BufferUsage usage) :
60
60
        size{size},
61
61
        format{format},
64
64
    }
65
65
 
66
66
    geometry::Size size;
67
 
    geometry::PixelFormat format;
 
67
    MirPixelFormat format;
68
68
    BufferUsage usage;
69
69
};
70
70