Commit Graph

184 Commits

Author SHA1 Message Date
faiface 12a6bd1e25 add default uniform values in default window shader 2016-12-17 12:57:48 +01:00
faiface 947cb02f8c add Window.DefaultShader 2016-12-17 12:37:28 +01:00
faiface 1c8297b7ab fix shader creation in window 2016-12-16 20:46:24 +01:00
faiface ddfede847e remove unnecessary window.Do from window methods 2016-12-16 20:27:40 +01:00
faiface 1ee93eecb0 add gitignore 2016-12-16 19:32:56 +01:00
faiface 8cd8d6d125 execute monitor stuff on main thread 2016-12-16 01:11:00 +01:00
faiface 2524fcc436 remove vertex usage option 2016-12-16 00:48:20 +01:00
faiface 560e79511e add VertexArray.Indices 2016-12-16 00:41:03 +01:00
faiface 2aaab88e07 adoprt universal AttrFormat 2016-12-16 00:28:52 +01:00
faiface 4ae2d2c7ad optimize binder 2016-12-15 14:31:10 +01:00
faiface 9e29fde8cc minor change 2016-12-15 01:03:18 +01:00
faiface 6f57d4035a another defer optimization 2016-12-15 00:25:31 +01:00
faiface 86e64b6fa3 optimize deffers 2016-12-14 19:07:25 +01:00
faiface 4427206988 add general Shape and embed it in specific shapes 2016-12-14 17:53:29 +01:00
faiface 6e139459cc add default unexported attribute types 2016-12-14 17:53:08 +01:00
faiface 1b01cba814 replace reentrancy by enabled by more general binder 2016-12-14 16:24:31 +01:00
faiface cbfc770d4f change VertexArray.SetVertexAttribute* to a single generic SetVertexAttr + add VertexAttr to get value 2016-12-13 16:46:19 +01:00
faiface db2d6be751 change internal default shader to use -1,-1 texCoords as no texture 2016-12-09 20:13:32 +01:00
faiface 2f402dd9a8 rename VertexArray.Count -> VertexNum 2016-12-08 21:02:21 +01:00
faiface c87527aa5d add indices to vertex array 2016-12-08 15:25:00 +01:00
faiface 6268c52e77 nicer code 2016-12-06 18:04:55 +01:00
faiface fa82623835 add Sprite 2016-12-06 17:53:10 +01:00
faiface 53cd80eb34 clarify doc 2016-12-06 16:38:00 +01:00
faiface 275fc03413 add Picture 2016-12-06 16:36:23 +01:00
faiface 5cff367362 add Width and Height methods to Texture 2016-12-06 16:23:55 +01:00
faiface 4323e83d49 remove OpenGL error reporting 2016-12-06 16:05:08 +01:00
faiface c8ee45dd4f add Rect 2016-12-05 23:19:31 +01:00
faiface 12575af796 rename vec.go to geometry.go (stuff coming) 2016-12-05 22:56:16 +01:00
faiface 30d301f4a0 improve code readability 2016-12-05 12:22:20 +01:00
faiface 0b2b73ce4a change NoOpDoer type just to Doer 2016-12-04 23:58:19 +01:00
faiface 3bc5f0a127 take advantage of reentrant Do in graphics primitives 2016-12-04 23:57:15 +01:00
faiface 6564597c43 fix compile error 2016-12-04 23:45:26 +01:00
faiface e2b361a8cd make Do reentrant 2016-12-04 20:28:50 +01:00
faiface 1cc26d0c2c add Group 2016-12-04 20:28:23 +01:00
faiface 0786726aa4 add line shape 2016-12-03 20:20:16 +01:00
faiface 23fd33ac75 add ellipse shape 2016-12-03 19:51:43 +01:00
faiface ffc9a1a0ff add color blending 2016-12-03 19:23:18 +01:00
faiface 42d573372e add Deleter and DrawDeleter interfaces 2016-12-03 16:33:56 +01:00
faiface d16037c983 add Drawer interface and PolygonColor shape 2016-12-03 16:25:41 +01:00
faiface fc96ec3a06 add MaskColor uniform 2016-12-03 15:48:40 +01:00
faiface a3e7656922 remove orphan functions from pixelgl (use OpenGL directly instead) 2016-12-03 15:38:33 +01:00
faiface 26c44125cf fix window viewport 2016-12-03 02:02:52 +01:00
faiface c1e2968d2a fix transform anchor 2016-12-03 01:50:14 +01:00
faiface 63c9ab68e2 fix window context holder 2016-12-03 01:45:47 +01:00
faiface 2af64d4204 improve code in NewWindow 2016-12-03 01:02:01 +01:00
faiface 966bce8c2c fix Camera 2016-12-03 00:54:58 +01:00
faiface ea63453f9f fix and improve code in NewShader 2016-12-03 00:52:23 +01:00
faiface 1fcf42263a reorder VertexArray struct 2016-12-03 00:45:34 +01:00
faiface 63efe9e167 reorder Shader struct 2016-12-02 22:58:20 +01:00
faiface fc7fda188f change Context to a field (instead of embed) in ContextHolder 2016-12-02 22:57:17 +01:00