Mir
depth_layer.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2019 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 2 or 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: William Wold <william.wold@canonical.com>
17  */
18 
19 #ifndef MIR_DEPTH_LAYER_H_
20 #define MIR_DEPTH_LAYER_H_
21 
22 #include "mir_toolkit/common.h"
23 
24 namespace mir
25 {
26 
34 auto mir_depth_layer_get_index(MirDepthLayer depth_layer) -> unsigned int;
35 
36 } // namespace mir
37 
38 #endif // MIR_DEPTH_LAYER_H_
Definition: splash_session.h:24
auto mir_depth_layer_get_index(MirDepthLayer depth_layer) -> unsigned int
Returns the height of a MirDepthLayer.
MirDepthLayer
Depth layer controls Z ordering of surfaces.
Definition: common.h:494

Copyright © 2012-2022 Canonical Ltd.
Generated on Thu Jan 27 21:45:55 UTC 2022
This documentation is licensed under the GPL version 2 or 3.