 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Index ¶
- type Context
- 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
- type NativeWindowType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
	// contains filtered or unexported fields
}
    func NewContext ¶
func NewContext(disp NativeDisplayType) (*Context, error)
func (*Context) CreateSurface ¶
func (c *Context) CreateSurface(win NativeWindowType, width, height int) error
func (*Context) EnableVSync ¶
func (*Context) MakeCurrent ¶
func (*Context) ReleaseCurrent ¶
func (c *Context) ReleaseCurrent()
func (*Context) ReleaseSurface ¶
func (c *Context) ReleaseSurface()
type NativeDisplayType ¶
type NativeDisplayType = C.EGLNativeDisplayType
var (
	EGL_DEFAULT_DISPLAY NativeDisplayType
)
    type NativeWindowType ¶
type NativeWindowType = C.EGLNativeWindowType
 Click to show internal directories. 
   Click to hide internal directories.