mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
修改图形依赖以及添加render_server
Signed-off-by: jiangdayuan <jiangdayuan@huawei.com> Change-Id: I90f37ed0f5e3b330d1dc2bb440ea9f71b93dcf02
This commit is contained in:
parent
fbfd5e987c
commit
d6073fda3b
28
graphic.cfg
28
graphic.cfg
@ -1,32 +1,16 @@
|
||||
{
|
||||
"jobs" : [{
|
||||
"name" : "fs",
|
||||
"cmds" : ["start graphic_dumper_server"]
|
||||
}, {
|
||||
"name" : "weston_start",
|
||||
"name" : "post-fs-data",
|
||||
"cmds" : [
|
||||
"start bootanimation",
|
||||
"start animation_server"
|
||||
"start render_service"
|
||||
]
|
||||
}
|
||||
],
|
||||
"services" : [{
|
||||
"name" : "graphic_dumper_server",
|
||||
"path" : ["/system/bin/graphic_dumper_server"],
|
||||
"disabled" : 1
|
||||
}, {
|
||||
"name" : "vsync_server",
|
||||
"path" : ["/system/bin/vsync_server"],
|
||||
"disabled" : 1
|
||||
}, {
|
||||
"name" : "bootanimation",
|
||||
"path" : ["/system/bin/bootanimation"],
|
||||
"disabled" : 1,
|
||||
"once" : 1
|
||||
}, {
|
||||
"name" : "animation_server",
|
||||
"path" : ["/system/bin/animation_server"],
|
||||
"disabled" : 1
|
||||
"name" : "render_service",
|
||||
"path" : ["/system/bin/render_service"],
|
||||
"uid" : "root",
|
||||
"gid" : ["system", "shell", "uhid", "root"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -135,6 +135,10 @@ class TouchEvent;
|
||||
class KeyEvent;
|
||||
|
||||
using funcWindowInfoChange = std::function<void(WindowInfo &info)>;
|
||||
|
||||
using funcOnKey = std::function<bool(KeyEvent)>;
|
||||
using funcOnTouch = std::function<bool(TouchEvent)>;
|
||||
|
||||
using OnKeyFunc = std::function<bool(KeyEvent)>;
|
||||
using OnTouchFunc = std::function<bool(TouchEvent)>;
|
||||
using WindowPositionChangeFunc = std::function<void(int32_t x, int32_t y)>;
|
||||
|
@ -3,9 +3,6 @@
|
||||
"parts": {
|
||||
"graphic_standard": {
|
||||
"module_list": [
|
||||
"//foundation/graphic/standard/interfaces/kits/js/declaration:window",
|
||||
"//foundation/graphic/standard/interfaces/kits/napi:napi_packages",
|
||||
|
||||
"//third_party/wayland-ivi-extension:ivi-controller",
|
||||
"//third_party/wayland-ivi-extension:ivi-input-controller",
|
||||
"//third_party/wayland-ivi-extension:libscreen-info-module",
|
||||
|
Loading…
Reference in New Issue
Block a user