Go to file
openharmony_ci f4ebdfcc2e
!13421 RSCommonToolsFuzzTest问题修复
Merge pull request !13421 from ZLJUN/person20240627
2024-08-02 09:54:49 +00:00
.gitee add codeowner 2024-06-14 11:24:34 +08:00
adapter Description:format gni file 2024-06-27 15:31:09 +08:00
etc 给屏幕挖孔增加回调 2024-07-08 10:36:02 +08:00
figures update graphic architecture in README_zh.md 2022-02-28 14:30:36 +08:00
frameworks 测试用例修改crash Signed-off-by: m00472246 <majingtao1@huawei.com> 2024-07-30 21:02:03 +08:00
graphic_test q 2024-08-01 14:14:34 +08:00
interfaces !13327 UIEffect NAPI代码质量加固,蓝黄差异消除 2024-08-01 13:30:19 +00:00
rosen !13421 RSCommonToolsFuzzTest问题修复 2024-08-02 09:54:49 +00:00
utils 适配arkui-x 2024-08-01 15:10:49 +08:00
.clang-format rename and refactor 2024-03-04 15:55:16 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 02:21:18 +08:00
.gitignore Added android and ios adapters to gitignore 2024-05-31 13:24:10 +03:00
ace_platforms.gni Fixed arkui-x build due to missed adapters 2024-05-30 15:13:54 +03:00
BUILD.gn x 2024-08-01 12:09:27 +08:00
bundle.json !12453 buffer_handle路径更改 2024-07-15 04:01:44 +00:00
CODEOWNERS 渲染服务code码访问权限校验与管控(part11) 2023-08-30 16:46:20 +08:00
default.scss add window type 2021-12-21 21:12:04 +08:00
flutter.gni Description:change dir graphic/graphic to graphic/graphic_2d 2022-05-19 14:59:57 +08:00
graphic_config.gni !13100 覆盖率统计屏蔽录制skp代码 2024-07-26 09:19:09 +00:00
graphic.cfg add system parmas for renderservice with bootevent. 2024-06-19 11:09:46 +08:00
graphic.rc 回退 'Pull Request !3058 : del unused code' 2022-11-24 06:23:33 +00:00
hisysevent.yaml 图形动效丢帧新增与最大丢帧发生时刻相关的字段 2024-07-23 14:29:40 +08:00
LICENSE update OpenHarmony 2.0 Canary 2021-06-02 02:21:18 +08:00
OAT.xml fix code warning 2024-06-06 10:14:15 +08:00
README_zh.md fix name 2023-07-11 21:55:33 +08:00
README.md quduoyu 2023-05-17 19:00:42 +08:00

graphic_graphic_2d

Introduction

Graphic subsystem provides graphical interface capabilities.

Its main structure is shown in the following figure:

Graphic subsystem architecture diagram

The layered description of the OpenHarmony graphics stack is as follows:

• Interface layer: Provides native API capabilities for graphics, including: WebGL, Native Drawing drawing capabilities, OpenGL instruction-level drawing capabilities support, etc.

• Framework layer: divided into five modules: Render Service, Drawing, Animation, Effect, Display and Memory Management.

Module Capability Description
Render Servicel Provides the rendering capabilities of the UI framework. Its core responsibility is to convert ArkUI's control description into drawing tree information, and perform optimal path rendering according to the corresponding rendering strategy. At the same time, it is responsible for the core underlying mechanism of UI sharing in multi-window smoothness and spatial state.
Drawing Provides a standardized interface within the graphics subsystem, and mainly completes basic functions such as 2D rendering, 3D rendering and rendering engine management.
Animation Provides related capabilities of the animation engine.
Effect Mainly completes the ability to process image effects, rendering effects and other effects, including: multi-effect series and parallel processing, adding rendering effects, control interaction effects and other related capabilities during layout.
Display and Memory Management This module is the main module for the decoupling of the graphics stack and hardware. It mainly defines the display and memory management capabilities of OpenHarmony. The defined southbound HDI interface requires different OEMs to complete the adaptation of the OpenHarmony graphics stack. match.

• Engine layer: includes two modules, 2D graphics library and 3D graphics engine. The 2D graphics library provides the underlying API for 2D graphics rendering, and supports the underlying capabilities of graphics rendering and text rendering. 3D graphics engine capabilities are still under construction.

content

foundataion/graphic/graphic_2d
├── figures                      # Markdown referenced image catalog
├── frameworks                   # framework code directory
│   ├── animation_server         # animationServer code
│   ├── bootanimation            # Boot animation directory
│   ├── fence                    # fence code
│   ├── vsync                    # Vsync code
├── rosen                        # framework code directory
│   ├── build                    # build instructions
│   ├── doc                      # doc
│   ├── include                  # external header file code
│   ├── lib                      # lib
│   ├── modules                  # graphic Each module code of the subsystem
│   ├── samples                  # sample code
│   ├── test                     # develop test code
│   ├── tools                    # tool code
├── interfaces                   # graphical interface storage directory
│   ├── innerkits                # internal native interface storage directory
│   └── kits                     # js/napi external interface storage directory
└── utils                        # widget storage directory

Repositories Involved