Versions in this module Expand all Collapse all v0 v0.0.0 May 10, 2021 Changes in this version + type Context struct — linux/amd64, windows/amd64 + func NewContext(disp NativeDisplayType) (*Context, error) + func (c *Context) API() gpu.API + func (c *Context) CreateSurface(win NativeWindowType, width, height int) error + func (c *Context) EnableVSync(enable bool) + func (c *Context) MakeCurrent() error + func (c *Context) Present() error + func (c *Context) Release() + func (c *Context) ReleaseCurrent() + func (c *Context) ReleaseSurface() + func (c *Context) VisualID() int + type NativeDisplayType = C.EGLNativeDisplayType — linux/amd64 + var EGL_DEFAULT_DISPLAY NativeDisplayType + type NativeDisplayType uintptr — windows/amd64 + type NativeWindowType = C.EGLNativeWindowType — linux/amd64 + type NativeWindowType uintptr — windows/amd64