| ColorPicker: Add QuickSkip support and HWC intersection handling Implement ColorPicker functionality for QuickSkip scenarios where surface nodes are skipped during preparation but still require color picking. Changes: - Add ColorPicker drawable preparation in skipped subtrees via PrepareColorPickerDrawableInSkippedSubTree() - Add HWC node disable logic when surfaces intersect ColorPicker regions via UpdateHwcNodeEnableByColorPicker() and ProcessSurfaceForColorPicker() - Add ChildHasVisibleColorPicker() check for render nodes - Add surface marking for intersection checking during Prepare phase - Add OnDraw lifecycle trace in RSColorPickerDrawable for debugging - Remove duplicate test code (~540 lines) in RSColorPickerManagerTest - Remove verbose debug traces, keep only essential error logs This ensures ColorPicker works correctly when parent surfaces are quick-skipped for performance optimization. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Change-Id: Icb16eb159e8c9631972f5f13da1010fd563f2f10 Signed-off-by: Tianer Zhou <zhoutianer@huawei.com> | 9 months ago |
| codeOwner临时更换 Signed-off-by: white-dragon-tiger <bailonghu1@huawei.com> revert merge request: codeOwner临时更换 32314cafefab0d75f64b9f20d93769ca0b5dd2b5 This revert merge request !29811 | 5 months ago |
| linux arm64编译sdk-graphic_graphic_2d Signed-off-by: liangxinyan123 <liangxinyan2@huawei.com> | 1 year ago |
| add full fuzz test for SetDarkMode Signed-off-by: Tianer Zhou <ezhoureal@gmail.com> Co-Authored-By: Agent Change-Id: I0a73c892217dc81a5086c3dfbcf2e2f45fe431ed | 6 months ago |
| delete ddgr cloud push Signed-off-by: zzzzzmeng <zhaomeng90@huawei.com> | 10 months ago |
| delete module frame rectify Signed-off-by: baizengqiang <baizengqiang1@huawei.com> | 2 years ago |
| !30169 merge 0520_HRP into master [HRP] Trace3D GPUMetrics RS Integration Created-by: bianzheng Commit-by: fattakhoveldar;bianzheng Merged-by: openharmony_ci Description: **Description:** Trace3D GPUMetrics RS Integration **Issue number:** https://gitcode.com/openharmony/graphic_graphic_2d/issues/23790 **Test & Result:** Pass **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:Pass</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:Pass</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:Pass</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:Pass</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:Pass</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:Pass</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:Pass</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:Pass</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:Pass</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [x] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d!30169 | 5 months ago |
| !30194 merge RS渲染分辨率补充测试用例 into master RS渲染分辨率补充测试用例 Created-by: MinorYJ Commit-by: MinorYJ Merged-by: openharmony_ci Description: **Description:** RS渲染分辨率补充测试用例 **Issue number:** https://gitcode.com/openharmony/graphic_graphic_2d/issues/23807 **Test & Result:** pass **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:pass</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:pass</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:pass</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:pass</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:pass</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:pass</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:pass</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:pass</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:pass</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:pass</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:pass</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:pass</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:pass</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [x] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d!30194 | 5 months ago |
| !30137 merge 0519 into master Fix the issue of fontTypefaces interface for ani Created-by: zhang-yubao Commit-by: FTL1ght Merged-by: openharmony_ci Description: **Description:** https://gitcode.com/openharmony/graphic_graphic_2d/issues/23767 **Issue number:** **Test & Result:** **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d!30137 | 5 months ago |
| update: 更新文件 uifirst_param_test.cpp Signed-off-by: duanmingxu1 <duanmingxu@huawei.com> | 5 months ago |
| 移除graphic_utils cfi 配置 Signed-off-by: zzvscx <zhangsongwei2@huawei.com> Change-Id: I6598163d83c171d6cbc0bd92654245db8373bcbf | 5 months ago |
| WIP: fix compile errors Signed-off-by: Zhang Peng <zhangpeng280@huawei.com> Change-Id: Ia7890859e556fec25b0b1278532a919d1fc21004 | 1 year ago |
| update OpenHarmony 2.0 Canary | 5 years ago |
| fix warning Signed-off-by: Tianer Zhou <zhoutianer@huawei.com> Change-Id: I382b27bc35d2392d1672120575dd07cd92a301fa | 9 months ago |
| rename Signed-off-by: Tianer Zhou <ezhoureal@gmail.com> Change-Id: I59b92881585881908c446c0e9534eb5b76df3c2d | 8 months ago |
| 看板问题-编译告警整改 Signed-off-by: y30082097 <yuanzhi12@h-partners.com> | 6 months ago |
| update OpenHarmony 2.0 Canary | 5 years ago |
| add fuzz test seed and update test case Signed-off-by: developer <liuyongkang4@huawei.com> | 1 year ago |
| quduoyu Signed-off-by: cwx1252618 <chaifu1@huawei.com> Change-Id: I967db2417529b55e12e397a7a929208d8433e397 | 3 years ago |
| fix name Signed-off-by: zhangbirong <zhangbirong@huawei.com> Change-Id: I6f98c8a595b52a49e2ffffecadec917d12f82674 | 3 years ago |
| Fixed arkui-x build due to missed adapters Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com> Change-Id: Ic83d408ec93ce2a393686c1294fd1ab2e51227a2 | 2 years ago |
| !30169 merge 0520_HRP into master [HRP] Trace3D GPUMetrics RS Integration Created-by: bianzheng Commit-by: fattakhoveldar;bianzheng Merged-by: openharmony_ci Description: **Description:** Trace3D GPUMetrics RS Integration **Issue number:** https://gitcode.com/openharmony/graphic_graphic_2d/issues/23790 **Test & Result:** Pass **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:Pass</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:Pass</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:Pass</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:Pass</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:Pass</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:Pass</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:Pass</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:Pass</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:Pass</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:Pass</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [x] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d!30169 | 5 months ago |
| add window type Change-Id: I1ed9d4e2408990f4d8f969c55996c84d0689932d Signed-off-by: lizheng <lizheng2@huawei.com> | 4 years ago |
| Description:change dir graphic/graphic to graphic/graphic_2d IssueNo:https://gitee.com/openharmony/graphic_standard/issues/I57W1P Feature or Bugfix: Bugfix Binary Source:NA Signed-off-by: sufeng <sufeng6@huawei.com> | 4 years ago |
| delete ddgr cloud push Signed-off-by: zzzzzmeng <zhaomeng90@huawei.com> | 10 months ago |
| 回退 'Pull Request !3058 : del unused code' | 3 years ago |
| !29694 merge func_arg_specialization into master Enable function argument specialization Created-by: lilyli_3599 Commit-by: Lily Li Merged-by: openharmony_ci Description: **Description:** Enable function argument specialization for librender_service and librender_service_base **Issue number:** Enable function argument specialization [#23411](https://gitcode.com/openharmony/graphic_graphic_2d/issues/23411) **Test & Result:** **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:N/A</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:N/A</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:N/A</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:N/A</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:N/A</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:N/A</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:N/A</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:N/A</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:N/A</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:N/A</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:N/A</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:N/A</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:N/A</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [x] 否 See merge request: openharmony/graphic_graphic_2d!29694 | 5 months ago |
| 蓝黄差异同步 Signed-off-by: white-dragon-tiger <bailonghu1@huawei.com> | 9 months ago |