GrGLBackendState

class GrGLBackendState

A GrContext’s cache of backend context state can be partially invalidated.

These enums are specific to the GL backend and we’d add a new set for an alternative backend.

Members:

kRenderTarget_GrGLBackendState

kTextureBinding_GrGLBackendState

kView_GrGLBackendState

kBlend_GrGLBackendState

kMSAAEnable_GrGLBackendState

kVertex_GrGLBackendState

kStencil_GrGLBackendState

kPixelStore_GrGLBackendState

kProgram_GrGLBackendState

kFixedFunction_GrGLBackendState

kMisc_GrGLBackendState

kALL_GrGLBackendState

Methods

__init__

Attributes

kALL_GrGLBackendState

kBlend_GrGLBackendState

kFixedFunction_GrGLBackendState

kMSAAEnable_GrGLBackendState

kMisc_GrGLBackendState

kPixelStore_GrGLBackendState

kProgram_GrGLBackendState

kRenderTarget_GrGLBackendState

kStencil_GrGLBackendState

kTextureBinding_GrGLBackendState

kVertex_GrGLBackendState

kView_GrGLBackendState

name

value

Methods

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

Attributes

GrGLBackendState.kALL_GrGLBackendState = <GrGLBackendState.kALL_GrGLBackendState: 65535>
GrGLBackendState.kBlend_GrGLBackendState = <GrGLBackendState.kBlend_GrGLBackendState: 8>
GrGLBackendState.kFixedFunction_GrGLBackendState = <GrGLBackendState.kFixedFunction_GrGLBackendState: 512>
GrGLBackendState.kMSAAEnable_GrGLBackendState = <GrGLBackendState.kMSAAEnable_GrGLBackendState: 16>
GrGLBackendState.kMisc_GrGLBackendState = <GrGLBackendState.kMisc_GrGLBackendState: 1024>
GrGLBackendState.kPixelStore_GrGLBackendState = <GrGLBackendState.kPixelStore_GrGLBackendState: 128>
GrGLBackendState.kProgram_GrGLBackendState = <GrGLBackendState.kProgram_GrGLBackendState: 256>
GrGLBackendState.kRenderTarget_GrGLBackendState = <GrGLBackendState.kRenderTarget_GrGLBackendState: 1>
GrGLBackendState.kStencil_GrGLBackendState = <GrGLBackendState.kStencil_GrGLBackendState: 64>
GrGLBackendState.kTextureBinding_GrGLBackendState = <GrGLBackendState.kTextureBinding_GrGLBackendState: 2>
GrGLBackendState.kVertex_GrGLBackendState = <GrGLBackendState.kVertex_GrGLBackendState: 32>
GrGLBackendState.kView_GrGLBackendState = <GrGLBackendState.kView_GrGLBackendState: 4>
GrGLBackendState.name
GrGLBackendState.value