Versions in this module Expand all Collapse all v1 v1.24.0 Mar 4, 2024 v1.23.12 Dec 2, 2023 Changes in this version + type Backend struct + Handle *C.struct_samure_backend_opengl + func (gl *Backend) AssociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface) uint64 + func (gl *Backend) Destroy(ctx samure.Context) + func (gl *Backend) Init(ctx samure.Context) error + func (gl *Backend) OnLayerSurfaceConfigure(ctx samure.Context, layerSurface samure.LayerSurface, width, height int) + func (gl *Backend) RenderEnd(ctx samure.Context, layerSurface samure.LayerSurface) + func (gl *Backend) RenderStart(ctx samure.Context, layerSurface samure.LayerSurface) + func (gl *Backend) UnassociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface) + func (gl Backend) Context() unsafe.Pointer + func (gl Backend) Display() unsafe.Pointer + func (gl Backend) InitBindings(ctx samure.Context, initFunc func() error) error + func (gl Backend) MakeContextCurrent()