Commit Graph

661 Commits

Author SHA1 Message Date
lee
f0268e5035 render_thread bugfix
Signed-off-by: lee <liwei576@huawei.com>
2022-01-28 16:41:51 +08:00
openharmony_ci
c660e3f121
!325 lib2d_graphic csec
Merge pull request !325 from zhangjie/master
2022-01-28 08:07:47 +00:00
zengqingyu
1cbca9acd1 fix wgr gpu macros, add trace
Signed-off-by: zengqingyu <zengqingyu3@huawei.com>
Change-Id: Ibfd3bf9a7f5bc835d9ac93d8bd91b274ef2168e3
2022-01-28 15:03:45 +08:00
Zhang Peng
7f9c362f3b
remove RSTransitionType, and other refactor
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: Ia504f68f56d5d50aadfde4f6ccd29fe41babb285
2022-01-28 12:10:03 +08:00
zhangjie345@huawei.com
9df1a35604 lib2d_graphic csec
Signed-off-by: zhangjie345@huawei.com <zhangjie345@huawei.com>
Change-Id: Ie27386e0b017f60f58433ee6f55d2b2d56a9e5b6
2022-01-28 11:49:44 +08:00
Zhang Peng
84a39946e7
fix transition animation
Squashed commit of the following:

commit 22ffc9c56e765eb39e77c90b4e78e1e08ff79bba
Author: Zhang Peng <zhangpeng280@huawei.com>
Date:   Thu Jan 27 18:19:47 2022 +0800

    refactor transition

    Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
    Change-Id: I04c965d60709a7852040344e702c21e88c362d1f

commit a4650c36fdbade4f04253f0a942088e47f8a14dc
Author: wf <wangfei10@huawei.com>
Date:   Wed Jan 26 16:27:09 2022 +0800

    Signed-off-by: wf <wangfei10@huawei.com>
    Change-Id: Iacd4d2d602da0688a1d1e1c6deb3b738ac5baf6a

    Change-Id: I1e3710c0e84e92657f60b318205ac9db6b9fa3d1

commit f804c413266cebf78cc343b3948072444b63bd34
Author: Zhang Peng <zhangpeng280@huawei.com>
Date:   Tue Jan 25 17:41:54 2022 +0800

    refactor RSRenderTransition

    Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
    Change-Id: I9efbb868a477a37a123b08e43367542d9b4bb9ea

commit 1772c0eafbf1781d22da056075a770429c6a551f
Author: Zhang Peng <zhangpeng280@huawei.com>
Date:   Tue Jan 25 15:04:41 2022 +0800

    fix csec, minor refactor

    Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
    Change-Id: Id7e346e96ea7e98f6e8d5418b1161f234bcccf6f

Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: I21f407628d30e4395c09f89fc227c54fb4231ef0
2022-01-28 09:16:50 +08:00
openharmony_ci
effb9dc766
!330 update damageRegion in surfaceCapture
Merge pull request !330 from liyu155/master
2022-01-27 12:59:43 +00:00
liyu155
3f1a8272a4 update damageRegion in surfaceCapture
Signed-off-by: liyu155 <liyu155@huawei.com>
Change-Id: I9483965e183b25d9e6c3f229bca18d86e81b7765
2022-01-27 19:50:57 +08:00
openharmony_ci
8573d2134c
!289 RSScreenManager增加色域管理相关接口
Merge pull request !289 from wyykak/colorspace
2022-01-27 03:00:52 +00:00
openharmony_ci
b4998398f2
!315 在parent SurfaceNode上挖孔(即将child surfaceNode的绘制区域变为透明)以显示child SurfaceNode的绘制内容
Merge pull request !315 from AliceGao/master
2022-01-27 02:58:15 +00:00
w00607952
41e468b39d Fix enums and delete duplicate includes
Signed-off-by: w00607952 <wangyiyuan4@huawei.com>
Change-Id: I06977cbbf4459c6311f4808e7d483bb400b44e75
2022-01-27 10:03:06 +08:00
openharmony_ci
103e01be35
!316 Release buffer immediately if the surface node is not on the tree.
Merge pull request !316 from xxfeng_hw/master
2022-01-26 11:38:49 +00:00
AliceGao
0cd43b32f7 Modify code about Ipc communication
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: Id6a9fcf33f2596df1bf204ce9ad5ed32f761d38b
2022-01-26 18:50:24 +08:00
AliceGao
0000564c64 rename IsMessageNeedSendToBothSide to NeedForcedSendToRemote and SetBlendType directly in RSSurfaceRenderNode
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: I6fbc1935a7d87add1ae0480c4bd447dac7ce9895
2022-01-26 17:06:04 +08:00
xxfeng_hw
9c57b9522a Release buffer immediately if the surface node is checked not on the tree.
Signed-off-by: xxfeng_hw <yuxiaofeng8@huawei.com>
Change-Id: Ib2a436f592f296ed66951ddb2041f69ff72abb92
2022-01-26 16:45:19 +08:00
openharmony_ci
b5d3c39ce7
!307 增加dumpnode维测接口
Merge pull request !307 from lee/master
2022-01-26 08:42:38 +00:00
w00607952
63268d351b Rewrite color space interfaces according to new design.
Signed-off-by: w00607952 <wangyiyuan4@huawei.com>
Change-Id: Id332254d76e86be723850db313164563f14fee05
2022-01-26 16:33:46 +08:00
AliceGao
e800d51547 Modify static check error and format error
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: Ibd9e3e2e1634c47ccecf35b81f0c49780bd001c9
2022-01-26 14:50:06 +08:00
AliceGao
6d3db2a24a Merge branch 'master' of gitee.com:openharmony/graphic_standard into master
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
2022-01-26 13:07:02 +08:00
AliceGao
b40f0f4ee4 clip on parent surface (which means set drawing region of child surface
transparent) to make child surface visiable

Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: I1a3ee9a323d3d98524dc3309d83e14099f367291
2022-01-26 11:56:18 +08:00
openharmony_ci
aa79575406
!312 更新damageRegion以及SrcRect逻辑
Merge pull request !312 from lastking/master
2022-01-26 03:44:48 +00:00
openharmony_ci
2fc83b3875
!311 修复3516白屏
Merge pull request !311 from jiangdayuan/dev
2022-01-26 02:31:08 +00:00
thelastking
2e2af588db update damageRegion and srcRect
Signed-off-by: thelastking <chenlulu16@huawei.com>
Change-Id: If2ffa7aecab25f89980676a7d602867d45614887
2022-01-26 10:01:13 +08:00
jiangdayuan
66ee1ac33c 修复3516白屏
Signed-off-by: jiangdayuan <jiangdayuan@huawei.com>
Change-Id: I193d3c62b029640e2bb4b6aae1c8074edeed1033
2022-01-26 09:07:07 +08:00
openharmony_ci
e3c8b651f5
!306 add get name in surfaceRenderNode
Merge pull request !306 from liyu155/master
2022-01-25 08:55:51 +00:00
lee
68983d372b 增加dumpnode维测接口
Signed-off-by: lee <liwei576@huawei.com>
Change-Id: I8e30746bc9d3633323912aa5a433e7037b4494b5
Signed-off-by: lee <liwei576@huawei.com>
2022-01-25 16:09:10 +08:00
liyu155
71c579080c add get name in surfaceRenderNode
Signed-off-by: liyu155 <liyu155@huawei.com>
Change-Id: I8d654aba90bcf37688df84b464bac591e889550c
2022-01-25 15:57:31 +08:00
openharmony_ci
48685aacf7
!291 移除demo中未使用的依赖项,不再自动编译demo
Merge pull request !291 from AliceGao/master
2022-01-25 06:58:38 +00:00
linyiyu
6bfc004c36 IssueNo:#I4S1FV
Description:solve watchos product bug
Sig:OTHERS
Feature or Bgfix:Bgfix
Binary Source: No

Signed-off-by: linyiyu <linyiyu1219@126.com>
2022-01-25 14:37:18 +08:00
openharmony_ci
55d844a198
!299 lib2d_graphic 部件化修改
Merge pull request !299 from zhangjie/master
2022-01-25 03:23:37 +00:00
linyiyu
135d62625b IssueNo:#I4S1FV
Description:solve watchos product bug
Sig:OTHERS
Feature or Bgfix:Bgfix
Binary Source: No

Signed-off-by: linyiyu <linyiyu1219@126.com>
2022-01-25 11:19:59 +08:00
openharmony_ci
683a611394
!283 增加 RenderService 动画支持,增加跨进程动画回调
Merge pull request !283 from ZhangPeng/rebase
2022-01-24 16:06:59 +00:00
zhangjie345@huawei.com
a907f1091e lib2d_graphic 部件化修改
Signed-off-by: zhangjie345@huawei.com <zhangjie345@huawei.com>
Change-Id: Ic58d6513965de52cc1da8ab5600b83e8e61fbf9a
2022-01-24 20:39:31 +08:00
openharmony_ci
cb4c088ed8
!290 bundle.json修改
Merge pull request !290 from hudi/master
2022-01-24 08:15:08 +00:00
openharmony_ci
ca8af902a0
!284 开机动画重构
Merge pull request !284 from zengqingyu/master
2022-01-24 08:14:35 +00:00
AliceGao
a2c273d973 remove unused dependency in test
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: I0db3f4bcbc4b74e9b0648efafe8d7c9d564758f4
2022-01-24 14:26:27 +08:00
hudi33
08a97ef0a0 modify bundle.json
Signed-off-by: hudi33 <chenbing33@huawei.com>
Change-Id: Iacdb9945f7d24dd716d61133480ec59092bbf8be
2022-01-24 14:13:01 +08:00
Zhang Peng
5bec5a8051
unregister application on connection end
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: Ia2320845d9ebb2d8297045635b79c0c0f16e2d55
2022-01-24 12:15:27 +08:00
openharmony_ci
e16f24c1ae
!285 使用单独的变量记录全局z-order的值
Merge pull request !285 from AliceGao/master
2022-01-24 03:31:41 +00:00
openharmony_ci
fdca646ed1
!285 使用单独的变量记录全局z-order的值
Merge pull request !285 from AliceGao/master
2022-01-24 03:31:41 +00:00
zengqingyu
6df181a022 refactor boot animation
Change-Id: Idd66418b0e47d5fa0ac8f1d7cc46ea9cd5fe69f1
Signed-off-by: zengqingyu <zengqingyu3@huawei.com>
2022-01-24 10:34:27 +08:00
w00607952
a8e5d2b530 fix CleanCode problems
Signed-off-by: w00607952 <wangyiyuan4@huawei.com>
Change-Id: Ic510ac42dea7c2e862a1aee5a93e30272539bd4b
2022-01-24 09:45:59 +08:00
Zhang Peng
01573f726a
remove RSNode Get interface
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: Idc3f5f0188c33c1b97473eb60f5ba175404a6ba9
2022-01-24 09:07:39 +08:00
Zhang Peng
acdf39a057
add RS animation, add IPC animation finish callback
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: I695732fe3a6cd8822321ebd9e4ed5d16020007b2
2022-01-24 09:07:39 +08:00
Zhang Peng
def9b15ef8
fix csec, minor refactor
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: Ib514cf39ecf0c4de6d1cf595d99406d88f028fd7
2022-01-24 09:07:39 +08:00
Zhang Peng
28b051c9a2
code refactor in preparation for animation in RS:
1. refactor animation finish callback generate & transaction & execute logic
2. add reference to context in render nodes
3. move disappearingChildren related logic from RSAnimationManager to RSBaseNode, refactor RS&RT visiter
4. move animate interface from RSRenderNode to RSBaseRenderNode
5. remove target pointer from RSAnimationManager
6. RSNodeMap stores shared_ptr instead of weak_ptr
7. change RSNodeMap from singleton instance to class member of RSContext
8. others

Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: I7ed17e076a4dd8a3fee56c7fa4675504ed45418c
2022-01-24 09:07:36 +08:00
AliceGao
941b1d4061 Modify Global Z-Order (Using individal variable instead of modifying z-order)
Signed-off-by: AliceGao <gaobinbin3@huawei.com>
Change-Id: I1c07abff06bee96702ce595cecb8b1db9b6c9035
2022-01-22 18:23:39 +08:00
openharmony_ci
3cfacb1b08
!282 在UT中去除与density属性值的相关测试
Merge pull request !282 from duy/master
2022-01-22 09:26:24 +00:00
openharmony_ci
8634b13036
!257 更新drawbuffer
Merge pull request !257 from lastking/master
2022-01-22 09:21:08 +00:00
openharmony_ci
7dfeb4f8c9
!281 删除无用的窗口代码
Merge pull request !281 from maojiangping/master
2022-01-22 08:39:29 +00:00