| 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> | 7 个月前 |
| 增加 rs_effect_utils 文件 codeowner Signed-off-by: jieyunwyb1 <wangyubiao1@huawei.com> 🤖 AI[0%] 🔧 Human Fixed[0%] 🧑 Human[100%] 👌 AI Adopted[0%] Change-Id: I9cfc57a8fac9e164cb2a48cb1f7f2fff10cf7c17 | 1 个月前 |
| linux arm64编译sdk-graphic_graphic_2d Signed-off-by: liangxinyan123 <liangxinyan2@huawei.com> | 1 年前 |
| !31952 merge docs-rs-process-entry into master docs(knowledge): 补充 RS 进程启动、SA 注册和生命周期管理知识文档 Created-by: huaixu-y Commit-by: huaixu Merged-by: openharmony_ci Description: ## 变更说明 补充 docs/knowledge/rs-process-entry.md(RS 进程入口知识文档),范围限定为 RenderService 进程启动、SA 注册和生命周期管理,内容均经代码逐一核对: - 新增 graphic.cfg init 服务配置说明(uid/gid/caps/secon、critical 重启策略、on-restart 联动 reset foundation/allocator_host/composer_host) - 细化启动流程(bootevent.renderservice.ready 先置 false、SAMgr 注册成功后置 true;Watchdog、tcache、组件初始化顺序) - 新增 SA 注册小节:SA ID RENDER_SERVICE = 10(外部仓 samgr system_ability_definition.h)、descriptor ohos.rosen.RenderService、bootevent.samgr.ready 等待逻辑;说明 RSRenderService 不继承 SystemAbility 基类,生命周期即进程生命周期 - 新增生命周期与异常恢复表(init critical 重启、Watchdog、DeathRecipient、子进程死亡熔断 180s/2 次) - 新增行为限制表(等 samgr 就绪 5s、Watchdog 5000ms、死亡熔断窗口) - 修正 rs_render_pipeline.h 路径(实际位于 core/ 目录) ## 关联 issue #25483 ## 验证 - 文档内所有仓内路径锚点已核对存在 - 全部行 ≤120 字符,git diff --check 通过 - 纯文档改动,按 docs/review-gates/README.md 判定稳定性检视不适用 - SA ID 数值定义在外部 samgr 仓;critical 重启联动等设备行为已在文档中标注为验证缺口 See merge request: openharmony/graphic_graphic_2d!31952 | 1 个月前 |
| delete ddgr cloud push Signed-off-by: zzzzzmeng <zhaomeng90@huawei.com> | 9 个月前 |
| delete module frame rectify Signed-off-by: baizengqiang <baizengqiang1@huawei.com> | 2 年前 |
| master代码同步 Co-Authored-By: Agent Signed-off-by: MinorYJ <yejiang1@h-partners.com> 🤖 AI[0%] 🔧 Human Fixed[0%] 🧑 Human[100%] 👌 AI Adopted[0%] Change-Id: Ic3274ce264618374e8d29bbd5ac93f092ddcf5f5 | 1 个月前 |
| !31798 merge native into master 修复native用例+代码同步 Created-by: li_bing_bing_ccc Commit-by: li_bing_bing_ccc Merged-by: openharmony_ci Description: **Description:** **Issue number:https://gitcode.com/openharmony/graphic_graphic_2d/issues/25353** **Test & Result:L0 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新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d!31798 | 2 个月前 |
| !31885 merge mdtransfer into master modify transfer Created-by: dreamyhhh Commit-by: dreamyhhh Merged-by: openharmony_ci Description: **Description:** 修改transfer **Issue number:** https://gitcode.com/openharmony/graphic_graphic_2d/issues/25435 **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>自检结果: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新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [x] 否 See merge request: openharmony/graphic_graphic_2d!31885 | 1 个月前 |
| fix application crash Signed-off-by: lybbq <liuyang1044@huawei.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: I3549e642a636a7e13848289679e2d8d7222284e2 | 1 个月前 |
| Merge branch 'master' of git@gitcode.com:alexci/graphic_graphic_2d.git into 'master' # Conflicts: # conflict rosen/modules/render_service/screen_manager/rs_screen_manager.cpp | 2 个月前 |
| WIP: fix compile errors Signed-off-by: Zhang Peng <zhangpeng280@huawei.com> Change-Id: Ia7890859e556fec25b0b1278532a919d1fc21004 | 1 年前 |
| update OpenHarmony 2.0 Canary | 5 年前 |
| fix(render_service): add null and error code checks for stability - Add null checks for stagingRenderParams_ in RSRenderNode methods to prevent nullptr dereference crashes - Add ErrCode return value check in RSRenderPipelineClient::CreateDisplayNode and CreateNode, log error and return false on failure - Remove deprecated GetPrepareParallelRenderingEnabled API and related stubs/tests across ohos/darwin/windows platforms Co-Authored-By: Agent Signed-off-by: sunriseLL <liwen176@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: opencode (glm-5.2) <ai@local> Change-Id: I75633ffd6f492ae80a5c440b30ee86b0b28d4255 | 2 个月前 |
| docs(review-gates): 稳定性检视改为询问制并豁免非业务代码 稳定性检视由自动触发改为询问制:业务代码改动时 Agent 先询问用户 是否执行,确认后按 stability.md 检视;未确认或拒绝不执行。 仅涉及测试、文档、注释等非业务代码时直接判定不适用,无需询问。 同步更新 AGENTS.md、review-gates/README.md 判定表和 stability.md 触发范围与输出状态,保持三处一致。 Signed-off-by: yaozhupeng <yaozhupeng@huawei.com> Co-Authored-By: Agent Signed-off-by: yaozhupeng <yaozhupeng@huawei.com> AI[100%] Human Fixed[0%] Human[0%] AI Adopted[100%] Co-authored-by: opencode (glm-5.2) <ai@local> | 1 个月前 |
| 编译规范告警整改 Signed-off-by: liuyangyang <liuyangyang58@huawei.com> | 3 个月前 |
| update OpenHarmony 2.0 Canary | 5 年前 |
| add fuzz test seed and update test case Signed-off-by: developer <liuyongkang4@huawei.com> | 1 年前 |
| quduoyu Signed-off-by: cwx1252618 <chaifu1@huawei.com> Change-Id: I967db2417529b55e12e397a7a929208d8433e397 | 3 年前 |
| fix name Signed-off-by: zhangbirong <zhangbirong@huawei.com> Change-Id: I6f98c8a595b52a49e2ffffecadec917d12f82674 | 3 年前 |
| Fixed arkui-x build due to missed adapters Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com> Change-Id: Ic83d408ec93ce2a393686c1294fd1ab2e51227a2 | 2 年前 |
| !31286 merge master into master 修复P7885 vulkan对于ycbcr格式处理红蓝反色问题 Created-by: yangyanjun312 Commit-by: yangyanjun312 Merged-by: openharmony_ci Description: **Description:** **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!31286 | 2 个月前 |
| add window type Change-Id: I1ed9d4e2408990f4d8f969c55996c84d0689932d Signed-off-by: lizheng <lizheng2@huawei.com> | 4 年前 |
| 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 年前 |
| delete ddgr cloud push Signed-off-by: zzzzzmeng <zhaomeng90@huawei.com> | 9 个月前 |
| 回退 'Pull Request !3058 : del unused code' | 3 年前 |
| update: 更新文件 graphic_config.gni Signed-off-by: mishiyu <mishiyu@hisilicon.com> | 1 个月前 |
| 蓝黄差异同步 Signed-off-by: white-dragon-tiger <bailonghu1@huawei.com> | 7 个月前 |