egl

package module
v0.0.0-...-7529ea2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2019 License: MIT Imports: 0 Imported by: 1

README

Golang wrapper for libEGL.dll

Dlls can be found in Chromium Embedded Framework

You need

d3dcompiler_47.dll
libEGL.dll
libGLESv2.dll

Documentation

Index

Constants

View Source
const (
	FALSE = 0
	TRUE  = 1
)
View Source
const (
	DONT_CARE = -1

	NO_SURFACE = Surface(0)
	NO_CONTEXT = Context(0)
	NO_DISPLAY = Display(0)

	OPENGL_ES2_BIT = 0x04 // EGL_RENDERABLE_TYPE mask
	WINDOW_BIT     = 0x04 // EGL_SURFACE_TYPE mask

	// BindAPI/QueryAPI targets
	OPENGL_ES_API = 0x30A0

	RENDERABLE_TYPE = 0x3040
	SURFACE_TYPE    = 0x3033
	BUFFER_SIZE     = 0x3020
	ALPHA_SIZE      = 0x3021
	BLUE_SIZE       = 0x3022
	GREEN_SIZE      = 0x3023
	RED_SIZE        = 0x3024
	DEPTH_SIZE      = 0x3025
	STENCIL_SIZE    = 0x3026
	SAMPLE_BUFFERS  = 0x3032
	CONFIG_CAVEAT   = 0x3027
	NONE            = 0x3038

	CONTEXT_CLIENT_VERSION = 0x3098
)
View Source
const (
	SUCCESS             = 0x3000
	NOT_INITIALIZED     = 0x3001
	BAD_ACCESS          = 0x3002
	BAD_ALLOC           = 0x3003
	BAD_ATTRIBUTE       = 0x3004
	BAD_CONFIG          = 0x3005
	BAD_CONTEXT         = 0x3006
	BAD_CURRENT_SURFACE = 0x3007
	BAD_DISPLAY         = 0x3008
	BAD_MATCH           = 0x3009
	BAD_NATIVE_PIXMAP   = 0x300A
	BAD_NATIVE_WINDOW   = 0x300B
	BAD_PARAMETER       = 0x300C
	BAD_SURFACE         = 0x300D
	CONTEXT_LOST        = 0x300E
)
View Source
const (
	PLATFORM_ANGLE_ANGLE                   = 0x3202
	PLATFORM_ANGLE_TYPE_ANGLE              = 0x3203
	PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE = 0x3204
	PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE = 0x3205
	PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE      = 0x3206

	PLATFORM_ANGLE_TYPE_D3D9_ANGLE            = 0x3207
	PLATFORM_ANGLE_TYPE_D3D11_ANGLE           = 0x3208
	PLATFORM_ANGLE_DEVICE_TYPE_ANGLE          = 0x3209
	PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE = 0x320A
	PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE     = 0x320B

	PLATFORM_ANGLE_TYPE_OPENGL_ANGLE   = 0x320D
	PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE = 0x320E
)

ANGLE specific options found in eglext.h

Variables

This section is empty.

Functions

func ErrString

func ErrString(errno uintptr) string

Types

type Config

type Config uintptr

type Context

type Context uintptr

type Display

type Display uintptr

type Surface

type Surface uintptr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL