openharmony 鸿蒙 changelogs-arkgraphics2d

2026-08-25 浏览 (1)

ArkGraphics2D Changelog

c1.ArkGraphics2D.1 OH_Drawing_GpuContextCreateFromGL Deprecated

Access Level

Public API

Reason for Change

The specialized API OH_Drawing_GpuContextCreateFromGL, which is tightly coupled with the GPU backend, has been deprecated. Instead, use the new interface OH_DrawingGpuContextCreate, which abstracts away the GPU backend.

Impact of the Change

The OH_Drawing_GpuContextCreateFromGL API is no longer maintained.

You are advised to use OH_Drawing_GpuContextCreate instead.

Start API Level

12

Change Since

OpenHarmony SDK 5.1.0.59

Deprecated APIs/Components

The OH_Drawing_GpuContextCreateFromGL API and the OH_Drawing_GpuContextOptions struct are deprecated. You are advised to use OH_Drawing_GpuContextCreate instead.

Adaptation Guide

Replace OH_Drawing_GpuContextCreateFromGL with OH_Drawing_GpuContextCreate in your code.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 i18n-ui-design

openharmony 鸿蒙 i18n-sorting-local

openharmony 鸿蒙 i18n-numbers-weights-measures

openharmony 鸿蒙 i18n-l10n

openharmony 鸿蒙 i18n-preferred-language

openharmony 鸿蒙 Readme-EN

openharmony 鸿蒙 i18n-language-region-display

openharmony 鸿蒙 pseudo-i18n-testing-translation

openharmony 鸿蒙 i18n-calendar

openharmony 鸿蒙 i18n-dst-transition

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/odx0palb