Commit Graph

833 Commits

Author SHA1 Message Date
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
faiface 981fb91ce5 add VertexArray.Vertex and VertexArray.Vertices methods 2016-12-20 13:56:25 +01:00
faiface 800add157d add fast VertexArray.SetVertex and VertexArray.Set methods 2016-12-20 01:23:33 +01:00
faiface 6986e8a000 heavily optimize AttrType.Size by removing redundant map 2016-12-19 23:50:14 +01:00
faiface 6ef42cf1ea add getters to Transform 2016-12-19 01:29:08 +01:00
faiface e616db81fc change Picture receiver to pointer 2016-12-19 01:11:34 +01:00
faiface 303c66d2b9 remove destructors, instead SetFinalizer 2016-12-18 20:16:27 +01:00
faiface 5f657bafef add MultiShape 2016-12-18 02:06:50 +01:00
faiface 24608a6068 add Picture.IsNil method 2016-12-17 19:17:27 +01:00
faiface 12a6bd1e25 add default uniform values in default window shader 2016-12-17 12:57:48 +01:00