Skip to content

dlatchx/glcompute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLcompute

Documentation

GLcompute (aka glc) is a Go library for GPGPU using OpenGL ES 3.1 compute shaders as the backend.

  • glc/ contains the actual library
  • demo/ contains a short example to get started with glc

glc/buffer.go is the most tricky part ; it uses unsafe and reflect to interface Go's safe slices with OpenGL's unsafe mmap-based GPU memory access.

The rest is basically wrappers for OpenGL objects/functions written with the help of go-gl, plus some helper functions.

About

A GPGPU library based on OpenGL compute shaders

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages