3 Star 0 Fork 139

Temporary_use_for_openharmony / graphic_utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README_zh.md 4.03 KB
一键复制 编辑 原始数据 按行查看 历史
benb365 提交于 2021-03-16 11:00 . Add self to related repo.

图形HALS组件

简介

HALS组件中实现了对驱动子系统和平台相关功能的适配封装,包括了FrameBuffer/GFX/SIMD等。

图 1 图形子系统组件间以及与驱动子系统的依赖关系

目录

/foundation/graphic/utils
├── frameworks      # 框架代码
│   ├── hals        # 硬件适配层
│   ├── linux       # linux平台适配层
│   ├── liteos      # liteos平台适配层
│   └── windows     # windows平台适配层
├── interfaces      # 接口
│   ├── innerkits   # 模块间接口
│   │   └── hals    # 硬件适配层接口
│   └── kits        # 对外接口
└── test            # 单元测试

编译构建

# 通过gn编译,在out目录下对应产品的文件夹中生成libgraphic_hals.so
hb build lite_graphic_utils

说明

使用说明

  • 图形UI/SURFACE/WMS组件均使用了HALS组件,可参考相关源码;

相关仓

图形子系统

graphic_wms

graphic_surface

graphic_ui

图形UTILS组件

简介

UTILS组件中定义了图形子系统中的公共数据结构,并提供了一层轻薄的操作系统适配层(如锁、线程、文件系统)。

图 1 图形子系统组件间依赖关系

目录

/foundation/graphic/utils
├── frameworks      # 框架代码
│   ├── hals        # 硬件适配层
│   ├── linux       # linux平台适配层
│   ├── liteos      # liteos平台适配层
│   └── windows     # windows平台适配层
├── interfaces      # 接口
│   ├── innerkits   # 模块间接口
│   │   └── hals    # 硬件适配层接口
│   └── kits        # 对外接口
└── test            # 单元测试

编译构建

# 通过gn编译,在out目录下对应产品的文件夹中生成libgraphic_utils.so
hb build lite_graphic_utils

说明

使用说明

  • 图形UI/SURFACE/WMS组件均使用了UTILS组件,可参考相关源码;
  • test提供了UTILS组件各接口的单元测试,也可参考使用。

相关仓

图形子系统

graphic_wms

graphic_surface

graphic_ui

graphic_utils

1
https://gitee.com/temporary_use_for_openharmony/graphic_utils.git
git@gitee.com:temporary_use_for_openharmony/graphic_utils.git
temporary_use_for_openharmony
graphic_utils
graphic_utils
master

搜索帮助