drawing_gpu_context.h
Overview
The drawing_gpu_context.h file declares the functions related to the GPU context in the drawing module.
File to include: <native_drawing/drawing_gpu_context.h>
Library: libnative_drawing.so
Since: 12
Related module: Drawing
Summary
Structs
| Name | Description |
|---|---|
| struct OH_Drawing_GpuContextOptions | Describes the options about the GPU context. |
Types
| Name | Description |
|---|---|
| typedef struct OH_Drawing_GpuContextOptions OH_Drawing_GpuContextOptions | Defines a struct for the options about the GPU context. |
Functions
| Name | Description |
|---|---|
| OH_Drawing_GpuContext * OH_Drawing_GpuContextCreateFromGL (OH_Drawing_GpuContextOptions) | Creates an OH_Drawing_GpuContext object that uses OpenGL as the backend interface. |
| void OH_Drawing_GpuContextDestroy (OH_Drawing_GpuContext *) | Destroys an OH_Drawing_GpuContext object and reclaims the memory occupied by the object. |