gpu/gl: remove OpenGL functions parameter from NewBackend

As a consequence, most API is gone from gpu/gl, and embedding Gio in
foreign frameworks don't need to provide an OpenGL implementation.

The next change simplifies the GLFW embedding example accordingly.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-12-04 17:56:25 +01:00
parent b8e33bb420
commit ffe5ab51a2
16 changed files with 503 additions and 489 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
syscall "golang.org/x/sys/windows"
"gioui.org/app/internal/glimpl"
"gioui.org/internal/glimpl"
gunsafe "gioui.org/internal/unsafe"
)