Commit Graph

392 Commits

Author SHA1 Message Date
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 2848ee5c0c avoid cheese comment alignment 2017-01-14 16:20:31 +01:00
faiface c9f445787e add support for Picture slicing (Batch and Window) 2017-01-14 16:07:51 +01:00
faiface 3b39cc60e9 rework VertexSlice for better performance 2017-01-14 00:47:49 +01:00
faiface 43bdd39739 performance optimizations (reducing allocations) 2017-01-13 01:53:52 +01:00
faiface aa0f7462ec performance optimizations 2017-01-13 01:07:13 +01:00
faiface 906c3248a4 change TrianglesColor.Color return type to NRGBA 2017-01-13 01:07:04 +01:00
faiface c8627e1e93 optimize batch draw (reduce allocations) 2017-01-12 19:30:36 +01:00
faiface 268e1b72f5 add Picture correctness check in Batch.SetPicture 2017-01-12 14:50:28 +01:00
faiface b610760f1c add doc on default vertex properties values 2017-01-12 13:50:06 +01:00
faiface c12e7633a2 implement Batch 2017-01-12 13:47:44 +01:00
faiface bad60ef7fa remove unnecessary and confusing Triangles(Color|Texture)Data 2017-01-12 13:16:33 +01:00
faiface f7fe00fe4d add Copy method to Triangles interface 2017-01-12 11:44:54 +01:00
faiface 6587b54040 minor fix 2017-01-11 23:19:38 +01:00
faiface 71e26e12a6 minor change 2017-01-11 23:18:10 +01:00
faiface 8ec1bdfadf remove TrianglesContainer + add Append to Triangles 2017-01-11 23:17:42 +01:00
faiface b4c035e2ff add TrianglesContainer interface 2017-01-11 13:16:27 +01:00
faiface 0da605c366 simplify NewWindow 2017-01-11 01:05:24 +01:00
faiface 33fb585acc adjust comment 2017-01-11 00:36:54 +01:00
faiface 828f7aa803 avoid possible race condition 2017-01-11 00:35:16 +01:00
faiface b1f415d3ef optimize Window.SetTransform/SetMaskColor 2017-01-11 00:26:33 +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 8d2306bcbf fix passing nil color to Window 2017-01-06 02:50:03 +01:00
faiface b86e04704f fix Picture creation optimization 2017-01-06 02:49:23 +01:00
faiface b15253ee83 reorder basic Target adjustment methods 2017-01-05 15:13:59 +01:00
faiface f175b58d1b optimize picture constructor for RGBA images 2017-01-05 15:02:31 +01:00
faiface 5b4cc5f18e remove unnecessary Window.Shader method 2017-01-05 14:58:22 +01:00
faiface 29871f72f1 minor change 2017-01-05 14:50:09 +01:00
faiface 5baac913c8 redundant code reduction 2017-01-05 01:08:45 +01:00
faiface 4541fe2c8b introduce new Target/Triangles/Drawer abstraction (very cool!) 2017-01-05 00:19:45 +01:00
faiface d52be83efe optimize NRGBA conversion 2017-01-04 19:02:12 +01:00
faiface cafda2cfae backup before reinstall 2017-01-01 22:12:12 +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 9096277914 normalized most of lines to <=100 chars 2016-12-30 17:43:26 +01:00
faiface fefa184652 add own NRGBA color format 2016-12-23 20:25:47 +01:00
faiface 33eb8496d8 rename all XyNum -> NumXys (number of Xy) 2016-12-21 22:29:23 +01:00
faiface bb8a82dbc1 fix typo 2016-12-21 21:09:38 +01:00
faiface 4950d7d02c add texture smoothiness 2016-12-21 20:51:05 +01:00
faiface 074d1cedaa rename Mat3->Mat, InvMat3->InvMat in Transform 2016-12-21 20:32:52 +01:00
faiface 45c2dd9be7 add InvMat3, Project and Unproject methods to Transform 2016-12-21 20:31:09 +01:00
faiface 9a7a73b94e add input handling methods (keyboard, mouse) 2016-12-21 20:18:38 +01:00
faiface ef0c51a473 fix NewMultiShape 2016-12-20 14:56:45 +01:00
faiface e54a3b8f38 simplify NewMultiShape 2016-12-20 14:23:50 +01:00