ArkGraphics 3D

Last updated

ArkGraphics 3D
Developer(s) Huawei
Initial releaseAugust 4, 2023;8 months ago (2023-08-04)
Written in Shading language: NAPI C++/Cangjie,C, HarmonyOS Runtime/API: ArkTS, Cangjie
Operating system HarmonyOS
Platform 64-bit ARM, RISC-V, x86, x64, Lingxi
Type 3D computer graphics and compute API
License Proprietary

ArkGraphics 3D is a low-level, low-overhead hardware-accelerated 3D graphic and compute shader API developed by Huawei as a superset of Ark Engine. It is compared to low-level APIs on other platforms such as Apple Metal, Vulkan and DirectX 12. [1]

Introduced in HarmonyOS NEXT 3.1 API 9 in August 2023 as a conglomerate of APIs under Ark Engine outside of Vulkan native development kit (NDK) for game development, for all types of Huawei flagship devices from Vision TVs, interactive white boards, IdeaHub, MatePad tablets, Huawei Mate/P smartphones, Huawei Watch devices and other computing devices taking advantage of Qualcomm Snapdragon and mostly Kirin chipsets, alongside custom OpenHarmony-based HarmonyOS NEXT core system iteration of the operating system as the core and primary graphics stack, of game applications written low-level. Companies such as Cocos, Unity and Unreal China support the new graphics API for HarmonyOS NEXT development on HarmonyOS. [2] [3] [4] [5] [6] [7]

See also

Related Research Articles

<span class="mw-page-title-main">OpenGL</span> Cross-platform graphics API

OpenGL is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.

Direct3D is a graphics application programming interface (API) for Microsoft Windows. Part of DirectX, Direct3D is used to render three-dimensional graphics in applications where performance is important, such as games. Direct3D uses hardware acceleration if it is available on the graphics card, allowing for hardware acceleration of the entire 3D rendering pipeline or even only partial acceleration. Direct3D exposes the advanced graphics capabilities of 3D graphics hardware, including Z-buffering, W-buffering, stencil buffering, spatial anti-aliasing, alpha blending, color blending, mipmapping, texture blending, clipping, culling, atmospheric effects, perspective-correct texture mapping, programmable HLSL shaders and effects. Integration with other DirectX technologies enables Direct3D to deliver such features as video mapping, hardware 3D rendering in 2D overlay planes, and even sprites, providing the use of 2D and 3D graphics in interactive media ties.

Mesa, also called Mesa3D and The Mesa 3D Graphics Library, is an open source implementation of OpenGL, Vulkan, and other graphics API specifications. Mesa translates these specifications to vendor-specific graphics hardware drivers.

<span class="mw-page-title-main">Mantle (API)</span> Low-overhead rendering API

Mantle was a low-overhead rendering API targeted at 3D video games. AMD originally developed Mantle in cooperation with DICE, starting in 2013. Mantle was designed as an alternative to Direct3D and OpenGL, primarily for use on personal computers, although Mantle supports the GPUs present in the PlayStation 4 and in the Xbox One. In 2015, Mantle's public development was suspended and in 2019 completely discontinued, as DirectX 12 and the Mantle-derived Vulkan rose in popularity.

<span class="mw-page-title-main">Metal (API)</span> iOS, macOS, and tvOS graphics rendering API

Metal is a low-level, low-overhead hardware-accelerated 3D graphic and compute shader API created by Apple, debuting in iOS 8. Metal combines functions similar to OpenGL and OpenCL in one API. It is intended to improve performance by offering low-level access to the GPU hardware for apps on iOS, iPadOS, macOS, and tvOS. It can be compared to low-level APIs on other platforms such as Vulkan and DirectX 12.

Vulkan is a low-level, low-overhead cross-platform API and open standard for 3D graphics and computing. It was intended to address the shortcomings of OpenGL, and allow developers more control over the GPU. It is designed to support a wide variety of GPUs, CPUs and operating systems, it is also designed to work with modern multi-core CPUs.

WebGPU is a JavaScript API provided by a web browser that enables webpage scripts to efficiently utilize a device's graphics processing unit (GPU). This is achieved with the underlying Vulkan, Metal, or Direct3D 12 system APIs. On relevant devices, WebGPU is intended to supersede the older WebGL standard.

HarmonyOS (HMOS) is a distributed operating system developed by Huawei for smartphones, tablets, smart TVs, smart watches, personal computers and other smart devices. It has a multikernel design with dual frameworks: the operating system selects suitable kernels from the abstraction layer in the case of devices that use diverse resources. The operating system was officially launched by Huawei in August 2019.

<span class="mw-page-title-main">Huawei Mobile Services</span> Proprietary software service

Huawei Mobile Services (HMS) is a collection of proprietary services and high level application programming interfaces (APIs) developed by Huawei Technologies Co., Ltd. Its hub known as HMS Core serves as a toolkit for app development on Huawei devices. HMS is typically installed on Huawei devices on top of running dual-framework HarmonyOS operating system, and on its earlier devices running the Android operating system with EMUI including devices already distributed with Google Mobile Services. Alongside, HMS Core Wear Engine for Android phones with lightweight based LiteOS wearable middleware app framework integration connectivity like notifications, status etc.

<span class="mw-page-title-main">DevEco Studio</span> Integrated development environment for the HarmonyOS platform

DevEco Studio is the official integrated development environment (IDE) for Huawei's HarmonyOS operating system, built on JetBrains' IntelliJ IDEA software and Huawei's SmartAssist designed specifically for HarmonyOS development. It is available for download on Microsoft Windows and macOS based operating systems.

The version history of the HarmonyOS distributed operating system began with the public release of the HarmonyOS 1.0 for Honor Vision smart TVs on August 9, 2019. The first expanded commercial version of the Embedded, IoT AI, Edge computing based operating system, HarmonyOS 2.0, was released on June 2, 2021 for phones, tablets, smartwatches, smart speakers, routers, and internet of things. Beforehand, DevEco Studio, the HarmonyOS app development IDE, was released in September 2020 together with the HarmonyOS 2.0 Beta. HarmonyOS is developed by Huawei. New major releases are announced at the Huawei Developers Conference (HDC) in the fourth quarter of each year together with the first public beta version of the operating system's next major version. The next major stable version is then released in the third to fourth quarter of the following year.

<span class="mw-page-title-main">OpenHarmony</span> Family of open-source operating systems based on OpenHarmony

OpenAtom OpenHarmony, or abbreviated as OpenHarmony (OHOS), is a family of open-source operating systems based on HarmonyOS derived from LiteOS, donated the L0-L2 branch source code by Huawei to the OpenAtom Foundation. Similar to HarmonyOS, the open-source distributed operating system is designed with a layered architecture, which consists of four layers from the bottom to the top, i.e., the kernel layer, system service layer, framework layer, and application layer.

HarmonyOS NEXT is a proprietary distributed operating system and an iteration of HarmonyOS, developed by Huawei to support only HarmonyOS native apps. The operating system is primarily aimed at software and hardware developers that deal directly with Huawei. It does not include Android's AOSP core and is incompatible with Android applications.

Huawei Ark Engine is a conglomerate of proprietary application programming interfaces (APIs) similar to Microsoft DirectX for handling tasks related to system and multimedia, especially game programming and video, on HarmonyOS platform such as Graphics engine, ArkGraphics 2D for 2D computer graphics, 2D Drawing high-performance, interactive graphics with ArkUI support and also low-level, low-overhead hardware-accelerated 3D graphic and compute shader ArkGraphics 3D API, multimedia engine for audio and video, memory engine, scheduling engine, storage engine and low power consumption engine.

ArkUI is a declarative based user interface framework for building user interfaces on native HarmonyOS applications developed by Huawei for the ArkTS and Cangjie programming language.

Ark Compiler, also known as ArkCompiler, is a unified compilation and runtime platform that supports joint compilation and running across programming languages and chip platforms, also operating systems of open-source OpenHarmony, Oniro OS, alongside proprietary HarmonyOS with single core system HarmonyOS NEXT included on native APP in Event-driven programming in a unified development environment and formerly built for Android-based EMUI for Huawei smartphones and tablets with HMS-enabled apk apps on AppGallery that improves app performance. It supports a variety of dynamic and static programming languages such as JS, TS, and ArkTS. It is the compilation and runtime base that enables OpenHarmony, Oniro OS alongside HarmonyOS NEXT to run on multiple device forms such as smart devices, mobile phones, PCs, tablets, TVs, automobiles, and wearables. ArkCompiler consists of two parts, compiler toolchain and runtime.

BiSheng Compiler is an open-source compiler toolchain developed by Huawei for general-purpose processor architectures, such as Kunpeng within HiSilicon domain. It introduces and enhances multiple compilation optimization technologies and supports different programming languages, such as ArkTS, Cangjie, C, C++ and Fortran.

ArkTS is a high-level general-purpose, multi-paradigm, compiled programming language developed by Huawei which is a superset of open-source TypeScript, in turn a superset of JavaScript formerly used in July 2022 HarmonyOS 3.0 version, alongside its evolved percussor, extended TypeScript (eTS) built for HarmonyOS development as a shift towards Declarative programming. ArkTS compiles to machine code via it's Ahead-of-time compilation Ark Compiler. ArkTS was first released in September 30, 2021 on OpenHarmony, and the ArkTS toolchain has shipped in DevEco Studio since version 3.1, released in 2022. Since, OpenHarmony 4.0 release on October 26, 2023, ArkTS APIs has been added to the open source community to contribute.

ArkGraphics 2D is an proprietary 2D graphics library written in C++ for HarmonyOS and OpenHarmony-Oniro based operating systems. ArkGraphics 2D API abstracts away platform-specific graphics API which differ from ArkGraphics 3D API. It is compared to other 2D computer graphics API such as Skia Graphics Engine.

References

  1. "High fidelity graphics with ArkGraphics 3D on HarmonyOS NEXT". Substack. LivingInHarmony Blog. Retrieved February 15, 2024.
  2. O'Donnell, Deirdre. "HarmonyOS 4.0 debuts Live Window feature on Huawei devices". Notebook Check. Notebook Check. Retrieved February 12, 2024.
  3. Sarkar, Amy. "You can play games on Huawei smartwatches with HarmonyOS 4". HC Newsroom. HC Newsroom. Retrieved February 12, 2024.
  4. "What is "ArkWeb" for HarmonyOS NEXT?". Substack. LivingInHarmony Blog. Retrieved February 15, 2024.
  5. Sarkar, Amy. "Cocos Creator 3.8 LTS brings open source HarmonyOS 4 platform support". HC Newsroom. HC Newsroom. Retrieved February 15, 2024.
  6. "NetEase's A Chinese Ghost Story became the first Unity China game to adopt Huawei's HarmonyOS". Technode. Technode Feed. Retrieved February 15, 2024.
  7. "openHarmony game ecosystem construction. Cocos, Unreal Engine (UE), Unity". BiliBili. OpenAtom OpenHarmony. Retrieved February 15, 2024.