Commit Graph

34 Commits

Author SHA1 Message Date
faiface 30d301f4a0 improve code readability 2016-12-05 12:22:20 +01:00
faiface e2b361a8cd make Do reentrant 2016-12-04 20:28:50 +01:00
faiface 1fcf42263a reorder VertexArray struct 2016-12-03 00:45:34 +01:00
faiface defb4b3778 fix 2016-12-02 19:29:39 +01:00
faiface 9546652cc3 remove int support from vertex format 2016-12-02 18:55:52 +01:00
faiface 5f6748f7b8 don't support Int as vertex attribute 2016-12-02 18:21:28 +01:00
faiface e009011c37 change vertex format to include names + add vertex format to shader + ID methods 2016-12-02 18:03:51 +01:00
faiface 6962ba1bda fix Shader.SetUniform* methods 2016-12-01 16:44:54 +01:00
faiface b6851f8ff4 replace generatl VertexArray.SetVertexAttribute with specific type methods 2016-12-01 15:53:34 +01:00
faiface 3b70c803c2 change unsafe.Pointer to interface{} in vertex 2016-11-30 17:58:23 +01:00
faiface d53eefbf59 shader uniforms 2016-11-30 17:41:48 +01:00
faiface 96f134d4c4 use new attr 2016-11-29 23:11:53 +01:00
faiface 9d4111282e add context 2016-11-28 23:26:56 +01:00
faiface 6253156e24 better error checking 2016-11-26 22:51:20 +01:00
faiface c6e2d67aba replace UpdateData with more convenient SetVertexAttribute 2016-11-26 22:42:26 +01:00
faiface 4421c7dbef prettier doc 2016-11-26 00:42:47 +01:00
faiface 6889c7f23f fix doc 2016-11-26 00:31:20 +01:00
faiface c8dba6aaf1 nicer code 2016-11-25 22:56:17 +01:00
faiface 52a3a96d20 replace BeginEnder with Doer and migrate everything 2016-11-25 22:49:56 +01:00
faiface 2bc43c7ec4 add VertexArray.Data function 2016-11-24 22:20:31 +01:00
faiface 58e2d01435 clarify doc 2016-11-24 14:46:12 +01:00
faiface ecce5fdcc9 some blank lines 2016-11-24 14:37:11 +01:00
faiface c6c3e020a4 implement non-blocking call queue calls 2016-11-24 14:10:33 +01:00
faiface 4480f61a0a fixes 2016-11-23 23:25:45 +01:00
faiface 29aa4aa32f small fix 2016-11-23 21:49:56 +01:00
faiface 832425c6cc add resource delete methods 2016-11-23 20:06:34 +01:00
faiface e52ee3ba9a encapsulate error handling
add functions DoGLErr, DoErrGLErr and DoValGLErr to handle OpenGL errors
2016-11-23 18:50:49 +01:00
faiface 2bf58a8f5b rename GetLastError -> getLastError 2016-11-23 18:23:05 +01:00
faiface c5c93d9442 add error handling 2016-11-23 18:06:55 +01:00
faiface 5f67cf85f7 fix typo 2016-11-23 16:38:06 +01:00
faiface e0d0207373 make godoc even happier 2016-11-23 16:14:40 +01:00
faiface bb2a1374e0 make godoc happy 2016-11-23 16:06:45 +01:00
faiface 91763a9e1a implement vertex array (vao+vbo) 2016-11-23 15:59:21 +01:00
faiface 4a52f3a7dd add vertex format primitives 2016-11-23 14:03:23 +01:00