~ubuntu-branches/ubuntu/wily/mir/wily-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
  • Date: 2014-01-08 02:04:38 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: package-import@ubuntu.com-20140108020438-e1npu0pm7qdv5wc4
Tags: upstream-0.1.3+14.04.20140108
ImportĀ upstreamĀ versionĀ 0.1.3+14.04.20140108

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