gioui.org: gioui.org/app/internal/egl Index | Files

package egl

import "gioui.org/app/internal/egl"

Index

Package Files

egl.go egl_unix.go

type Context Uses

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

func NewContext Uses

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

func (*Context) CreateSurface Uses

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

func (*Context) EnableVSync Uses

func (c *Context) EnableVSync(enable bool)

func (*Context) Functions Uses

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

func (*Context) MakeCurrent Uses

func (c *Context) MakeCurrent() error

func (*Context) Present Uses

func (c *Context) Present() error

func (*Context) Release Uses

func (c *Context) Release()

func (*Context) ReleaseCurrent Uses

func (c *Context) ReleaseCurrent()

func (*Context) ReleaseSurface Uses

func (c *Context) ReleaseSurface()

func (*Context) VisualID Uses

func (c *Context) VisualID() int

type NativeDisplayType Uses

type NativeDisplayType = C.EGLNativeDisplayType
var (
    EGL_DEFAULT_DISPLAY NativeDisplayType
)

type NativeWindowType Uses

type NativeWindowType = C.EGLNativeWindowType

Package egl imports 6 packages (graph) and is imported by 2 packages. Updated 2019-12-14. Refresh now. Tools for package owners.