aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/gopkg.in/qml.v1/gl
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-16 21:28:33 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-16 21:28:33 +0800
commit702218008ee2b6d708d6b2821cdef80736bb3224 (patch)
treed55ff7ce88187082378e7d8e4c2f3aad14d23b4e /Godeps/_workspace/src/gopkg.in/qml.v1/gl
parent202362d9258335c695eb75f55f4be74a50a1af33 (diff)
downloadgo-tangerine-702218008ee2b6d708d6b2821cdef80736bb3224.tar.gz
go-tangerine-702218008ee2b6d708d6b2821cdef80736bb3224.tar.zst
go-tangerine-702218008ee2b6d708d6b2821cdef80736bb3224.zip
Add versioned dependencies from godep
Diffstat (limited to 'Godeps/_workspace/src/gopkg.in/qml.v1/gl')
-rw-r--r--Godeps/_workspace/src/gopkg.in/qml.v1/gl/glbase/glbase.go33
1 files changed, 33 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/gopkg.in/qml.v1/gl/glbase/glbase.go b/Godeps/_workspace/src/gopkg.in/qml.v1/gl/glbase/glbase.go
new file mode 100644
index 000000000..c483b15a2
--- /dev/null
+++ b/Godeps/_workspace/src/gopkg.in/qml.v1/gl/glbase/glbase.go
@@ -0,0 +1,33 @@
+package glbase
+
+// A Context represents an OpenGL context that may be rendered on by the
+// version-specific APIs under this package.
+type Context struct {
+ // This is just a marker at the moment, as the GL.API functions will
+ // initialize their GL context from the current context in the
+ // renderer thread. The design supports proper expansion and fixes for
+ // upstream changes that break that model, though.
+ private struct{}
+}
+
+// Contexter is implemented by values that have an assigned OpenGL context.
+type Contexter interface {
+ GLContext() *Context
+}
+
+type (
+ Bitfield uint32
+ Enum uint32
+ Sync uintptr
+ Clampf float32
+ Clampd float64
+
+ Uniform int32
+ Attrib int32
+ Texture uint32
+ Program uint32
+ Shader uint32
+ Buffer uint32
+ Framebuffer uint32
+ Renderbuffer uint32
+)