Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: ui/gfx/overlay_transform.h

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing license header Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/ozone/common/gpu/ozone_gpu_message_params.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_OVERLAY_TRANSFORM_H_ 5 #ifndef UI_GFX_OVERLAY_TRANSFORM_H_
6 #define UI_GFX_OVERLAY_TRANSFORM_H_ 6 #define UI_GFX_OVERLAY_TRANSFORM_H_
7 7
8 namespace gfx { 8 namespace gfx {
9 9
10 // Describes transformation to be applied to the buffer before presenting 10 // Describes transformation to be applied to the buffer before presenting
11 // to screen. Rotations are expressed anticlockwise. 11 // to screen. Rotations are expressed anticlockwise.
12 enum OverlayTransform { 12 enum OverlayTransform {
13 OVERLAY_TRANSFORM_INVALID, 13 OVERLAY_TRANSFORM_INVALID,
14 OVERLAY_TRANSFORM_NONE, 14 OVERLAY_TRANSFORM_NONE,
15 OVERLAY_TRANSFORM_FLIP_HORIZONTAL, 15 OVERLAY_TRANSFORM_FLIP_HORIZONTAL,
16 OVERLAY_TRANSFORM_FLIP_VERTICAL, 16 OVERLAY_TRANSFORM_FLIP_VERTICAL,
17 OVERLAY_TRANSFORM_ROTATE_90, 17 OVERLAY_TRANSFORM_ROTATE_90,
18 OVERLAY_TRANSFORM_ROTATE_180, 18 OVERLAY_TRANSFORM_ROTATE_180,
19 OVERLAY_TRANSFORM_ROTATE_270, 19 OVERLAY_TRANSFORM_ROTATE_270,
20 OVERLAY_TRANSFORM_LAST = OVERLAY_TRANSFORM_ROTATE_270
20 }; 21 };
21 22
22 } // namespace gfx 23 } // namespace gfx
23 24
24 #endif // UI_GFX_OVERLAY_TRANSFORM_H_ 25 #endif // UI_GFX_OVERLAY_TRANSFORM_H_
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/common/gpu/ozone_gpu_message_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698