Back to godoc.org
gioui.org/app/internal/egl

package egl

v0.0.0 (278e9bc)
Latest Go to latest
Published: Jun 3, 2020 | Licenses: MIT, Unlicense | Module: gioui.org

Index

type Context

type Context struct {
	// contains filtered or unexported fields
}

func NewContext

func NewContext(disp NativeDisplayType) (*Context, error)

func (*Context) Backend

func (c *Context) Backend() (backend.Device, error)

func (*Context) CreateSurface

func (c *Context) CreateSurface(win NativeWindowType, width, height int) error

func (*Context) EnableVSync

func (c *Context) EnableVSync(enable bool)

func (*Context) Functions

func (c *Context) Functions() *glimpl.Functions

func (*Context) MakeCurrent

func (c *Context) MakeCurrent() error

func (*Context) Present

func (c *Context) Present() error

func (*Context) Release

func (c *Context) Release()

func (*Context) ReleaseCurrent

func (c *Context) ReleaseCurrent()

func (*Context) ReleaseSurface

func (c *Context) ReleaseSurface()

func (*Context) VisualID

func (c *Context) VisualID() int

type NativeDisplayType

type NativeDisplayType = C.EGLNativeDisplayType
var (
	EGL_DEFAULT_DISPLAY NativeDisplayType
)

type NativeWindowType

type NativeWindowType = C.EGLNativeWindowType
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier