Commit Graph

137 Commits

Author SHA1 Message Date
faiface 94fe4019fd optimize Window.MousePosition 2017-03-09 00:56:57 +01:00
faiface a1e7f9bf04 better error messages %T -> (%T) 2017-03-08 23:51:53 +01:00
faiface 7f38aac901 minor stability change in Canvas.SetBounds 2017-03-08 22:51:18 +01:00
faiface 46f21a3096 fix changing Canvas Bounds 2017-03-08 19:19:20 +01:00
faiface 0127a8ae21 clarify doc 2017-03-08 16:57:02 +01:00
faiface d797cee6ce optimize Canvas.SetBounds 2017-03-08 16:56:02 +01:00
faiface d63590a799 add PictureColor properties to Canvas TargetPicture 2017-03-08 16:37:57 +01:00
faiface 79bffcc7e8 another minor change (code consistency) 2017-03-08 16:29:25 +01:00
faiface 4f2ef50783 remove multisampling (will add it back later) 2017-03-08 16:24:01 +01:00
faiface 907082326f fix color masking in Canvas.Clear 2017-03-08 15:02:40 +01:00
faiface e4ecafefc5 add clarifying comment 2017-03-07 22:44:25 +01:00
faiface 3d13e52add allow efficiently drawing one Canvas onto another 2017-03-07 20:33:07 +01:00
faiface f65ea40e19 implement Picture for Canvas 2017-03-07 17:45:46 +01:00
faiface 7feecc2e35 correct glhf.Bounds in Canvas 2017-03-07 01:06:37 +01:00
faiface 6b643e588a make Canvas code more consistent 2017-03-07 00:32:58 +01:00
faiface f0394ec7d1 replace Transform by much simpler Matrix 2017-03-06 19:58:24 +01:00
faiface 1083ca720d add Picture.Original 2017-03-06 19:04:57 +01:00
faiface 53066d4759 fix Picture drawing in Canvas 2017-03-06 16:09:09 +01:00
faiface 17d1731d66 fix Window.MousePosition (new coordinate system) 2017-03-06 15:51:59 +01:00
faiface 146797bad5 fix PictureData.Color (off by 1) 2017-03-06 13:05:45 +01:00
faiface 69a3c17cfc big big commit - rework whole pixelgl 2017-03-06 00:28:52 +01:00
faiface f7a52854c6 adapt GLTriangles (+ make them exported) 2017-02-24 19:30:06 +01:00
faiface 67529bf8fc stop using mainthread.CallVal 2017-02-24 15:45:32 +01:00
faiface c1843b8608 add Drawer struct 2017-02-23 13:07:40 +01:00
faiface 6dc55b8746 change fundamental interfaces (add Picture) 2017-02-22 20:57:22 +01:00
faiface dbd90a0bcb move OpenGL specific stuff to pixelgl (except for Picture) 2017-02-22 20:44:38 +01:00
faiface 3300f02d21 adopt github.com/faiface/glhf 2017-02-11 14:09:47 +01:00
faiface 0771f07888 update pixelgl.VertexSlice API similarly to Triangles 2017-01-28 20:14:20 +01:00
faiface 4a31512454 update doc in pixelgl 2017-01-25 18:26:57 +01:00
faiface 8917a09da9 improve docs in pixelgl 2017-01-25 18:25:37 +01:00
faiface e0e59f1d96 remove debug print 2017-01-22 14:42:54 +01:00
faiface e656130ce3 change pixelgl.Texture.Pixels to work with OpenGL 3.3 2017-01-22 14:16:06 +01:00
faiface 4d2ccc92df add pixelgl.Texture.SetPixels/Pixels 2017-01-22 13:45:24 +01:00
faiface 79ef8d51eb remove pixelgl.Viewport, because Frame sets viewport 2017-01-22 02:38:04 +01:00
faiface 2f070dc302 clarify doc 2017-01-22 01:57:36 +01:00
faiface 192c455b16 document pixelgl.Frame 2017-01-22 01:49:09 +01:00
faiface 1f4f11078b pixelgl: actually get info log length in shader creation 2017-01-20 19:53:41 +01:00
faiface 7a7b2f2588 adopt github.com/faiface/mainthread package + frame prototype 2017-01-20 17:45:19 +01:00
faiface de21a40184 disable mipmaping in Texture 2017-01-17 01:24:15 +01:00
faiface 2a5fddabd8 add orphan pixelgl functions 2017-01-16 01:12:03 +01:00
faiface 7a4fce3b75 remove error return value from NewTexture 2017-01-16 00:53:02 +01:00
faiface 3b39cc60e9 rework VertexSlice for better performance 2017-01-14 00:47:49 +01:00
faiface 1f3c875d87 remove ID's from OpenGL objects + replace VertexArray with dynamically sized VertexSlice + add new Sprite 2017-01-10 23:54:35 +01:00
faiface fb3df06337 add common response channel for main thread 2017-01-06 15:00:05 +01:00
faiface 69032cdcf3 remove support for indices in vertex array 2016-12-31 02:48:43 +01:00
faiface db0d646ca8 update doc 2016-12-31 02:43:02 +01:00
faiface 2b6205fe45 remove Doer and replace with BeginEnder 2016-12-31 01:33:53 +01:00
faiface 727c9bd772 same for pixelgl 2016-12-30 17:53:47 +01:00
faiface 33eb8496d8 rename all XyNum -> NumXys (number of Xy) 2016-12-21 22:29:23 +01:00
faiface 4950d7d02c add texture smoothiness 2016-12-21 20:51:05 +01:00