Go to file
openharmony_ci 5362c4036a
!17434 adapt scaling mode for surface view
Merge pull request !17434 from zhuxiaoyu/adapt_sacling_mode_for_surfaceView
2024-11-26 15:37: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 delete module 5.0.1 release 2024-10-11 11:37:36 +08:00
frameworks !17179 修复tdd用例 2024-11-18 02:40:13 +00:00
graphic_test 修改 2024-10-25 16:31:11 +08:00
interfaces effectrollback 2024-11-20 19:58:20 +08:00
rosen !17434 adapt scaling mode for surface view 2024-11-26 15:37:49 +00:00
utils fd onshutdown 5.0.1 2024-11-07 10:56:48 +08:00
.clang-format rename and refactor 2024-03-04 15:55:16 +08:00
.gitattributes
.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 graphictest 2024-10-25 11:05:25 +08:00
bundle.json !15620 代码优化 2024-10-11 03:06:12 +00:00
CODEOWNERS
default.scss
flutter.gni
graphic_config.gni update graphic_config.gni. 2024-10-14 09:16:29 +00:00
graphic.cfg 增加renderserivce 访问安全内存属组dev_dma_heap 2024-11-14 10:24:05 +08:00
graphic.rc
hisysevent.yaml Repair yellow-blue difference 2024-10-28 15:32:12 +08:00
LICENSE
OAT.xml fix code warning 2024-06-06 10:14:15 +08:00
README_zh.md
README.md

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