| 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> | 8 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 |
| !30230 merge feat/font-variation-axis-histogram into master feat(text): add histogram enumeration for font variation axis usage Created-by: liufei225 Commit-by: liufei Merged-by: openharmony_ci Description: **Description:** 在文本引擎中添加字体变化轴(Font Variation Axis)使用情况的直方图枚举统计,用于了解各字体变化轴(wght, wdth, ital, slnt, opsz)在实际场景中的使用频率,为字体功能优化和裁剪提供数据支撑。 主要变更: - text_histogram.h: 新增 TEXT_HISTOGRAM_ENUMERATION 宏 - convert.cpp: 定义 FontVariationAxis 枚举,在 SplitTextStyleConvert 中上报统计 - BUILD.gn: 配置 histogram 依赖和 HISTOGRAM_MANAGEMENT_ENABLE 编译宏 **Issue number:** #23836 **Test & Result:** 编译通过,功能验证:在调用 SplitTextStyleConvert 设置 fontVariations 时,直方图统计正确上报对应的字体变化轴类型。 **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>自检结果:不涉及,仅新增静态只读map和枚举统计</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>自检结果:不涉及,fontVariations的axis值仅用于map查找和枚举映射</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:不涉及,使用std::string</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用例,且完成自检 - [x] 否 See merge request: openharmony/graphic_graphic_2d!30230 | 5 months ago |
| !30290 merge sub into master [codex] Add SDF subtraction shapes Created-by: zhoutianer Commit-by: Tianer Zhou Merged-by: openharmony_ci Description: ## What changed\n- Added RS/client/render shape exposure for SDFSubOpShape and SDFSmoothSubOpShape.\n- Added property tags, type strings, factories, and visual effect generation coverage.\n- Added graphic e2e scenes for normal and edge cases under ng_shape_test.\n\n## Why\nSDF shape composition needs explicit hard and smooth subtraction operations so one SDF can clip another.\n\n## Impact\nAdds new SDF operation shape types without changing existing shape behavior.\n\n## Validation\n- git diff --cached --check\n\nLinked issue: #23996\nIssue URL: https://gitcode.com/openharmony/graphic_graphic_2d/issues/23996 See merge request: openharmony/graphic_graphic_2d!30290 | 5 months ago |
| 普通录像支持log视频 Signed-off-by: mengzhe <mengzhe5@huawei.com> | 5 months ago |
| 修复layer bug Signed-off-by: peiyuanshuai <1463484785@qq.com> | 5 months ago |
| 普通录像支持log视频 Signed-off-by: mengzhe <mengzhe5@huawei.com> | 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 | 8 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 |
| 移除 rs_proxy feature gate,默认启用 ENABLE_RS_PROXY 移除 graphic_2d_feature_enable_rs_proxy 特性开关,使 ENABLE_RS_PROXY 宏无条件生效。 Signed-off-by: sunriseLL <liwen176@huawei.com> Co-Authored-By: Agent | 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 |
| !30339 merge 0528 into master 移除 rs_proxy feature gate,默认启用 ENABLE_RS_PROXY Created-by: sunriseLL Commit-by: sunriseLL Merged-by: openharmony_ci Description: **Description:** 移除 graphic_2d_feature_enable_rs_proxy 特性开关,使 ENABLE_RS_PROXY 宏无条件生效。rs_proxy 功能已稳定,不再需要通过 feature gate 控制。 修改内容: - bundle.json:移除 graphic_2d_feature_enable_rs_proxy feature 声明 - graphic_config.gni:移除 graphic_2d_feature_enable_rs_proxy = true 配置项 - rosen/modules/render_service_base/proxy/BUILD.gn:移除条件编译判断,直接添加 ENABLE_RS_PROXY 宏定义 **Issue number:** #23928 **Test & Result:** - 编译验证通过,ENABLE_RS_PROXY 宏已默认启用 - 不涉及运行时逻辑变更,仅修改编译配置 - 预期:所有依赖 ENABLE_RS_PROXY 的代码路径在所有构建配置中均生效 **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] 否 See merge request: openharmony/graphic_graphic_2d!30339 | 5 months ago |
| 蓝黄差异同步 Signed-off-by: white-dragon-tiger <bailonghu1@huawei.com> | 9 months ago |