-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKconfig
89 lines (73 loc) · 2.21 KB
/
Kconfig
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Copyright (C) 2023 Xiaomi Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
config SYSTEM_WINDOW_SERVICE
tristate "Enable WMS(window manager service)"
default n
depends on ANDROID_BINDER
depends on SYSTEM_SERVER
depends on FS_SHMFS
depends on GRAPHICS_LVGL
depends on LV_ENABLE_GLOBAL_CUSTOM
depends on LV_USE_NUTTX
depends on LV_USE_NUTTX_LIBUV
depends on UIKIT
depends on KVDB
if SYSTEM_WINDOW_SERVICE
config SYSTEM_WINDOW_SERVICE_STACKSIZE
int "WMS stack size"
default SYSTEM_SERVER_APP_STACKSIZE
config SYSTEM_WINDOW_SERVICE_PRIORITY
int "WMS priority"
default 100
config SYSTEM_WINDOW_SERVICE_TEST
tristate "Enable WMS test"
default n
depends on LIB_GOOGLETEST
config ENABLE_BUFFER_QUEUE_BY_NAME
bool "Enable buffer queue by name"
default y
config ENABLE_WINDOW_LIMIT_MAX
int "Support max application window"
default 10
config ENABLE_TRANSITION_ANIMATION
bool "Enable window transition animation"
default n
depends on LVX_USE_ANIMENGINE_ADAPTER
config ENABLE_WINDOW_TRIPLE_BUFFER
bool "Enable window triple buffer"
default n
config SYSTEM_WINDOW_USE_VSYNC_EVENT
bool "Enable window vsync event"
default n
config SYSTEM_WINDOW_FBDEV_DEVICEPATH
string "Wms framebuffer device path"
default "/dev/fb0"
config SYSTEM_WINDOW_TOUCHPAD_DEVICEPATH
string "Wms touchpad device path"
default "/dev/input0"
choice
prompt "App window render mode based on WMS"
default APP_WINDOW_RENDER_MODE_PARTIAL
config APP_WINDOW_RENDER_MODE_PARTIAL
bool "Partial window render mode"
config APP_WINDOW_RENDER_MODE_FULL
bool "Full window render mode"
endchoice
config APP_WINDOW_RENDER_MODE
int
default 1 if APP_WINDOW_RENDER_MODE_PARTIAL
default 2 if APP_WINDOW_RENDER_MODE_FULL
endif