internal/gl: rename internal/glimpl

Now that the OpenGL driver package is named "opengl", we can finally get
rid of the ugly "glimpl" name.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-03-06 10:31:35 +01:00
parent a722768da9
commit 7bc0603d7e
17 changed files with 221 additions and 221 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"unsafe"
"gioui.org/internal/glimpl"
"gioui.org/internal/gl"
)
// See gpu/api.go for documentation for the API types
@@ -19,7 +19,7 @@ type OpenGL struct {
// Context contains the WebGL context for WebAssembly platforms. It is
// empty for all other platforms; an OpenGL context is assumed current when
// calling NewDevice.
Context glimpl.Context
Context gl.Context
}
type Direct3D11 struct {
@@ -114,7 +114,7 @@ type InputDesc struct {
Offset int
}
// InputLayout is the backend specific representation of the mapping
// InputLayout is the driver specific representation of the mapping
// between Buffers and shader attributes.
type InputLayout interface {
Release()