Merge "Build and package Layer Management service binaries." into tizen
[profile/ivi/layer-management.git] / LayerManagerBase / include / OptimizationType.h
1 /***************************************************************************
2 *
3 * Copyright 2010,2011 BMW Car IT GmbH
4 * Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
5 *
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *        http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ****************************************************************************/
20
21 #ifndef _OPTIMIZATIONTYPE_H
22 #define _OPTIMIZATIONTYPE_H
23
24 #include "ilm_types.h"
25
26 /**
27  * Enumeration of renderer optimizations.
28  */
29 enum OptimizationType
30 {
31     OPT_MULTITEXTURE = ILM_OPT_MULTITEXTURE,
32     OPT_SKIP_CLEAR = ILM_OPT_SKIP_CLEAR
33 };
34
35 const int OPT_COUNT = 2;
36
37 enum OptimizationModeType
38 {
39     OPT_MODE_FORCE_OFF = ILM_OPT_MODE_FORCE_OFF,
40     OPT_MODE_FORCE_ON = ILM_OPT_MODE_FORCE_ON,
41     OPT_MODE_HEURISTIC = ILM_OPT_MODE_HEURISTIC,
42     OPT_MODE_TOGGLE = ILM_OPT_MODE_TOGGLE
43 };
44
45 const int OPT_MODE_COUNT = 4;
46
47 #endif /* _OPTIMIZATIONTYPE_H */