1 Star 0 Fork 108

piggyguy_jdx / graphic_utils

forked from OpenHarmony / graphic_utils 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Utils

Introduction

The Utils module defines the common data structure in the graphics subsystem and provides a lite OS adaptation layer, which includes the lock, thread, and file system.

Figure 1 Dependency between modules of the graphics subsystem

Directory Structure

/foundation/graphic/utils
├── frameworks      # Framework code
│   ├── hals        # Hardware adaptation layer
│   ├── linux       # Linux platform adaptation layer
│   ├── liteos      # LiteOS platform adaptation layer
│   └── windows     # Windows platform adaptation layer
├── interfaces      # APIs
│   ├── innerkits   # APIs between modules
│   │   └── hals    # APIs of the hardware adaptation layer
│   └── kits        # External APIs
└── test            # Unit testing

Compilation and Building

# Generate the libgraphic_utils.so file in the out directory of the product folder through GN compilation.
hb build lite_graphic_utils

Description

Usage

  • Utils is used in UI, surface, and WMS modules. For details, see the related source code.
  • The test folder provides unit testing for each utils API. Refer to it for the usage of utils.

Repositories Involved

Graphic subsystem

graphic_wms

graphic_surface

graphic_ui

Hals

Introduction

The Hals module adapts and encapsulates the functions related to the driver subsystem and platform, including FrameBuffer, graphics (GFX), and single instruction, multiple data (SIMD).

Figure 1 Dependency between modules of the graphics subsystem and that between graphics modules and the driver subsystem

Directory Structure

/foundation/graphic/utils
├── frameworks      # Framework code
│   ├── hals        # Hardware adaptation layer
│   ├── linux       # Linux platform adaptation layer
│   ├── liteos      # LiteOS platform adaptation layer
│   └── windows     # Windows platform adaptation layer
├── interfaces      # APIs
│   ├── innerkits   # APIs between modules
│   │   └── hals    # APIs of the hardware adaptation layer
│   └── kits        # External APIs
└── test            # Unit testing

Compilation and Building

# Generate the libgraphic_hals.so file in the out directory of the product folder through GN compilation.
hb build lite_graphic_utils

Description

Usage

  • Hals is used in UI, surface, and WMS modules. For details, see the related source code.

Repositories Involved

Graphic subsystem

graphic_wms

graphic_surface

graphic_ui

graphic_utils

Repository Comments ( 0 )

Sign in to post a comment

About

Graphic fundamental components | 图形基础组件 expand collapse
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://git.oschina.net/piggyguy/graphic_utils.git
git@git.oschina.net:piggyguy/graphic_utils.git
piggyguy
graphic_utils
graphic_utils
master

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385