GrBackendApi

class GrBackendApi

Possible 3D APIs that may be used by Ganesh.

Members:

kOpenGL

kVulkan

kMetal

kDirect3D

kDawn

kMock :

Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU overhead.

kOpenGL_GrBackend :

Added here to support the legacy GrBackend enum value and clients who referenced it using kOpenGL_GrBackend.

Methods

__init__

__init__(self: skia.GrBackendApi, value: int) -> None

Attributes

kDawn

kDirect3D

kMetal

kMock

kOpenGL

kOpenGL_GrBackend

kVulkan

name

value

Methods

GrBackendApi.__init__(self: skia.GrBackendApi, value: int) None

__init__(self: skia.GrBackendApi, value: int) -> None

Attributes

GrBackendApi.kDawn = <GrBackendApi.kDawn: 4>
GrBackendApi.kDirect3D = <GrBackendApi.kDirect3D: 3>
GrBackendApi.kMetal = <GrBackendApi.kMetal: 2>
GrBackendApi.kMock = <GrBackendApi.kMock: 5>
GrBackendApi.kOpenGL = <GrBackendApi.kOpenGL: 0>
GrBackendApi.kOpenGL_GrBackend = <GrBackendApi.kOpenGL: 0>
GrBackendApi.kVulkan = <GrBackendApi.kVulkan: 1>
GrBackendApi.name
GrBackendApi.value