summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/overlay_transform.h
blob: 252fc734d56d0db6e55ea9a3d3b013da2ae6c04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_GFX_OVERLAY_TRANSFORM_H_
#define UI_GFX_OVERLAY_TRANSFORM_H_

namespace gfx {

// Describes transformation to be applied to the buffer before presenting
// to screen.  Rotations are expressed anticlockwise.
enum OverlayTransform {
  OVERLAY_TRANSFORM_INVALID,
  OVERLAY_TRANSFORM_NONE,
  OVERLAY_TRANSFORM_FLIP_HORIZONTAL,
  OVERLAY_TRANSFORM_FLIP_VERTICAL,
  OVERLAY_TRANSFORM_ROTATE_90,
  OVERLAY_TRANSFORM_ROTATE_180,
  OVERLAY_TRANSFORM_ROTATE_270,
  OVERLAY_TRANSFORM_LAST = OVERLAY_TRANSFORM_ROTATE_270
};

}  // namespace gfx

#endif  // UI_GFX_OVERLAY_TRANSFORM_H_