Commit Graph

392 Commits

Author SHA1 Message Date
faiface ef76333994 remove unnecessary enabled field in Window 2017-02-03 16:48:38 +01:00
faiface 7a8967c9d1 fix TrianglesDrawer flush (SetLen) 2017-02-03 02:09:06 +01:00
faiface 0771f07888 update pixelgl.VertexSlice API similarly to Triangles 2017-01-28 20:14:20 +01:00
faiface 63339235b7 rework Triangles API and adapt it 2017-01-28 20:01:59 +01:00
faiface e7a2af61fb reorder methods of TrianglesData 2017-01-26 23:40:29 +01:00
faiface 0af28b0b17 add TrianglesData.SetLen 2017-01-26 23:38:37 +01:00
faiface e48c3dd6cf clarify doc 2017-01-26 23:31:06 +01:00
faiface fc8dad2fc9 add PictureFromTexture function 2017-01-26 23:19:50 +01:00
faiface e670735858 rename Button.Name -> String 2017-01-26 15:31:54 +01:00
faiface df21279536 add Button.Name method 2017-01-26 15:16:26 +01:00
faiface b141bcbd50 this should've been with prev commit 2017-01-26 03:33:48 +01:00
faiface 19faeffcf1 move glfw init to pixel.Run 2017-01-26 03:33:21 +01:00
faiface 95444e8540 glTriangles optimization 2017-01-25 23:51:27 +01:00
faiface 9a4c02e488 fixed a weird typo in code 2017-01-25 22:43:10 +01:00
faiface 3579be2d83 minor change in code 2017-01-25 22:32:02 +01:00
faiface eb0c51e137 fix typo in doc 2017-01-25 22:17:37 +01:00
faiface e9b982cb87 add TrianglesDrawer.Dirty and simplify code 2017-01-25 22:02:53 +01:00
faiface 2b300b48b7 fix Sprite.SetPicture once again 2017-01-25 19:57:42 +01:00
faiface cf4ab7e36a fix Sprite.SetPicture 2017-01-25 19:55:41 +01:00
faiface 7f5a21cd3c add note to doc 2017-01-25 19:53:15 +01:00
faiface 2890f8b4ae add Polygon shape 2017-01-25 19:50:49 +01:00
faiface 16c1672c61 optimize Sprite 2017-01-25 19:04:37 +01:00
faiface bc97fa00b8 improve doc in pixel 2017-01-25 18:55:17 +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 1894e213d2 split Window.SetMonitor into two sub-functions 2017-01-25 18:14:19 +01:00
faiface e559499a44 rename Window.SetFullscreen -> SetMonitor 2017-01-25 18:12:11 +01:00
faiface 82deb99e14 make ZT def more readable 2017-01-25 18:08:23 +01:00
faiface 5ebbb3fa31 rework Transform API 2017-01-25 18:06:52 +01:00
faiface cb699e7057 add Canvas.Draw and remove SetTransform/MaskColor from Sprite 2017-01-25 17:33:33 +01:00
faiface f6e713ade0 add a note to readme 2017-01-23 22:27:27 +01:00
faiface e0e59f1d96 remove debug print 2017-01-22 14:42:54 +01:00
faiface f16eb8271e fix Picture.Image 2017-01-22 14:16:19 +01:00
faiface e656130ce3 change pixelgl.Texture.Pixels to work with OpenGL 3.3 2017-01-22 14:16:06 +01:00
faiface 9228a55482 add Picture.Image method 2017-01-22 13:45:43 +01:00
faiface 4d2ccc92df add pixelgl.Texture.SetPixels/Pixels 2017-01-22 13:45:24 +01:00
faiface e9c1214953 fix window resizing 2017-01-22 03:05:59 +01:00
faiface d686841b5c add Canvas.SetSize method 2017-01-22 03:05:46 +01:00
faiface 8e1359b45d flip image in Picture to make it correct 2017-01-22 02:49:45 +01:00
faiface ca9b2716a8 add state-of-the-art canvas and use it within window 2017-01-22 02:43:13 +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 d905c04479 minor change 2017-01-20 22:50:51 +01:00
faiface 5daaad80dc always convert image in NewPicture (Bounds) 2017-01-20 22:46:18 +01:00
faiface 1f4f11078b pixelgl: actually get info log length in shader creation 2017-01-20 19:53:41 +01:00
faiface 6cb3121d0e minor change (rename variables) 2017-01-20 19:26:28 +01:00
faiface e34970d541 fix - convert image in Picture to NRGBA, not RGBA 2017-01-20 19:25:26 +01:00
faiface 37baaee464 add forgotten gltriangles.go 2017-01-20 18:40:48 +01:00
faiface 3524644d3d generalize OpenGL triangles into GLTrangles to DRY 2017-01-20 18:40:11 +01:00