A 2D graphics processing project based on the Vivante G2D graphics acceleration library.
g2d-viv6 is a graphics processing library that utilizes the Vivante G2D hardware acceleration engine, primarily designed for 2D graphics operations in embedded Linux systems, such as image scaling, rotation, format conversion, and composition.
- ✅ Hardware-accelerated 2D graphics operations
- ✅ Image scaling and rotation
- ✅ Multiple image format support
- ✅ Alpha blending and image composition
- ✅ High-performance bit block transfer (BitBlt)
- ✅ Color space conversion
-
Install Yocto SDK under /opt For example, installed 6.18-whinlatter to /opt/fsl-imx-internal-xwayland/6.18-whinlatter
-
Source the environment setup script
source /opt/fsl-imx-internal-xwayland/6.18-whinlatter/environment-setup-armv8a-poky-linux
- Clone
git clone <repository-url>
- Build the project
cd g2d-viv6
export ARCH=arm64-yocto
export ROOTFS=$SDKTARGETSYSROOT
export ROOTFS_USR=$ROOTFS/usr
make -C source clean
make -C source
Please refer to the LICENSE file in the project root directory.
Issues and Pull Requests are welcome!