Commit Graph

  • b1311c29b6 fix bug in PictureDataFromImage faiface 2017-03-01 12:34:30 +0100
  • 0644103ba1 add clarifying comment faiface 2017-02-28 18:36:43 +0100
  • 1f91ae62d2 fix bug in PictureDataFromPicture faiface 2017-02-28 18:34:02 +0100
  • 3e81c81f79 remove debug prints faiface 2017-02-28 18:29:30 +0100
  • 7f7912cc16 minor changes faiface 2017-02-28 18:24:31 +0100
  • d598e68c03 implement and document PictureData faiface 2017-02-28 18:24:25 +0100
  • 7974f86c4a add Rect.Contains(Vec) bool method faiface 2017-02-25 18:38:22 +0100
  • 095fec8622 fix PictureColor faiface 2017-02-24 20:16:45 +0100
  • f7a52854c6 adapt GLTriangles (+ make them exported) faiface 2017-02-24 19:30:06 +0100
  • 67529bf8fc stop using mainthread.CallVal faiface 2017-02-24 15:45:32 +0100
  • 812df66d62 adjust imprecise doc faiface 2017-02-24 15:39:40 +0100
  • 589becbcdb fix a bug + doc faiface 2017-02-24 14:25:35 +0100
  • 7e09988467 adapt Batch to Picture faiface 2017-02-24 01:21:23 +0100
  • bffb3598c7 add Picture interface faiface 2017-02-24 01:21:11 +0100
  • c1843b8608 add Drawer struct faiface 2017-02-23 13:07:40 +0100
  • 6dc55b8746 change fundamental interfaces (add Picture) faiface 2017-02-22 20:57:22 +0100
  • dbd90a0bcb move OpenGL specific stuff to pixelgl (except for Picture) faiface 2017-02-22 20:44:38 +0100
  • 3300f02d21 adopt github.com/faiface/glhf faiface 2017-02-11 14:09:47 +0100
  • ef76333994 remove unnecessary enabled field in Window faiface 2017-02-03 16:48:38 +0100
  • 7a8967c9d1 fix TrianglesDrawer flush (SetLen) faiface 2017-02-03 02:09:06 +0100
  • 0771f07888 update pixelgl.VertexSlice API similarly to Triangles faiface 2017-01-28 20:14:20 +0100
  • 63339235b7 rework Triangles API and adapt it faiface 2017-01-28 20:01:59 +0100
  • e7a2af61fb reorder methods of TrianglesData faiface 2017-01-26 23:40:29 +0100
  • 0af28b0b17 add TrianglesData.SetLen faiface 2017-01-26 23:38:37 +0100
  • e48c3dd6cf clarify doc faiface 2017-01-26 23:31:06 +0100
  • fc8dad2fc9 add PictureFromTexture function faiface 2017-01-26 23:19:50 +0100
  • e670735858 rename Button.Name -> String faiface 2017-01-26 15:31:54 +0100
  • df21279536 add Button.Name method faiface 2017-01-26 15:16:26 +0100
  • b141bcbd50 this should've been with prev commit faiface 2017-01-26 03:33:48 +0100
  • 19faeffcf1 move glfw init to pixel.Run faiface 2017-01-26 03:33:21 +0100
  • 95444e8540 glTriangles optimization faiface 2017-01-25 23:51:27 +0100
  • 9a4c02e488 fixed a weird typo in code faiface 2017-01-25 22:43:10 +0100
  • 3579be2d83 minor change in code faiface 2017-01-25 22:32:02 +0100
  • eb0c51e137 fix typo in doc faiface 2017-01-25 22:17:37 +0100
  • e9b982cb87 add TrianglesDrawer.Dirty and simplify code faiface 2017-01-25 22:02:53 +0100
  • 2b300b48b7 fix Sprite.SetPicture once again faiface 2017-01-25 19:57:42 +0100
  • cf4ab7e36a fix Sprite.SetPicture faiface 2017-01-25 19:55:41 +0100
  • 7f5a21cd3c add note to doc faiface 2017-01-25 19:53:15 +0100
  • 2890f8b4ae add Polygon shape faiface 2017-01-25 19:50:49 +0100
  • 16c1672c61 optimize Sprite faiface 2017-01-25 19:04:37 +0100
  • bc97fa00b8 improve doc in pixel faiface 2017-01-25 18:55:17 +0100
  • 4a31512454 update doc in pixelgl faiface 2017-01-25 18:26:57 +0100
  • 8917a09da9 improve docs in pixelgl faiface 2017-01-25 18:25:37 +0100
  • 1894e213d2 split Window.SetMonitor into two sub-functions faiface 2017-01-25 18:14:19 +0100
  • e559499a44 rename Window.SetFullscreen -> SetMonitor faiface 2017-01-25 18:12:11 +0100
  • 82deb99e14 make ZT def more readable faiface 2017-01-25 18:08:23 +0100
  • 5ebbb3fa31 rework Transform API faiface 2017-01-25 18:06:52 +0100
  • cb699e7057 add Canvas.Draw and remove SetTransform/MaskColor from Sprite faiface 2017-01-25 17:33:33 +0100
  • f6e713ade0 add a note to readme faiface 2017-01-23 22:27:27 +0100
  • e0e59f1d96 remove debug print faiface 2017-01-22 14:42:54 +0100
  • f16eb8271e fix Picture.Image faiface 2017-01-22 14:16:19 +0100
  • e656130ce3 change pixelgl.Texture.Pixels to work with OpenGL 3.3 faiface 2017-01-22 14:16:06 +0100
  • 9228a55482 add Picture.Image method faiface 2017-01-22 13:45:43 +0100
  • 4d2ccc92df add pixelgl.Texture.SetPixels/Pixels faiface 2017-01-22 13:45:24 +0100
  • e9c1214953 fix window resizing faiface 2017-01-22 03:05:59 +0100
  • d686841b5c add Canvas.SetSize method faiface 2017-01-22 03:05:46 +0100
  • 8e1359b45d flip image in Picture to make it correct faiface 2017-01-22 02:49:45 +0100
  • ca9b2716a8 add state-of-the-art canvas and use it within window faiface 2017-01-22 02:43:13 +0100
  • 79ef8d51eb remove pixelgl.Viewport, because Frame sets viewport faiface 2017-01-22 02:38:04 +0100
  • 2f070dc302 clarify doc faiface 2017-01-22 01:57:36 +0100
  • 192c455b16 document pixelgl.Frame faiface 2017-01-22 01:49:09 +0100
  • d905c04479 minor change faiface 2017-01-20 22:50:51 +0100
  • 5daaad80dc always convert image in NewPicture (Bounds) faiface 2017-01-20 22:46:18 +0100
  • 1f4f11078b pixelgl: actually get info log length in shader creation faiface 2017-01-20 19:53:41 +0100
  • 6cb3121d0e minor change (rename variables) faiface 2017-01-20 19:26:28 +0100
  • e34970d541 fix - convert image in Picture to NRGBA, not RGBA faiface 2017-01-20 19:25:26 +0100
  • 37baaee464 add forgotten gltriangles.go faiface 2017-01-20 18:40:48 +0100
  • 3524644d3d generalize OpenGL triangles into GLTrangles to DRY faiface 2017-01-20 18:40:11 +0100
  • 7a7b2f2588 adopt github.com/faiface/mainthread package + frame prototype faiface 2017-01-20 17:45:19 +0100
  • de21a40184 disable mipmaping in Texture faiface 2017-01-17 01:24:15 +0100
  • 2a5fddabd8 add orphan pixelgl functions faiface 2017-01-16 01:12:03 +0100
  • 7a4fce3b75 remove error return value from NewTexture faiface 2017-01-16 00:53:02 +0100
  • 2848ee5c0c avoid cheese comment alignment faiface 2017-01-14 16:20:31 +0100
  • c9f445787e add support for Picture slicing (Batch and Window) faiface 2017-01-14 16:07:51 +0100
  • 3b39cc60e9 rework VertexSlice for better performance faiface 2017-01-14 00:47:49 +0100
  • 43bdd39739 performance optimizations (reducing allocations) faiface 2017-01-13 01:53:52 +0100
  • aa0f7462ec performance optimizations faiface 2017-01-13 01:07:13 +0100
  • 906c3248a4 change TrianglesColor.Color return type to NRGBA faiface 2017-01-13 01:07:04 +0100
  • c8627e1e93 optimize batch draw (reduce allocations) faiface 2017-01-12 19:30:36 +0100
  • 268e1b72f5 add Picture correctness check in Batch.SetPicture faiface 2017-01-12 14:50:28 +0100
  • b610760f1c add doc on default vertex properties values faiface 2017-01-12 13:50:06 +0100
  • c12e7633a2 implement Batch faiface 2017-01-12 13:47:44 +0100
  • bad60ef7fa remove unnecessary and confusing Triangles(Color|Texture)Data faiface 2017-01-12 13:16:33 +0100
  • f7fe00fe4d add Copy method to Triangles interface faiface 2017-01-12 11:44:54 +0100
  • 6587b54040 minor fix faiface 2017-01-11 23:19:38 +0100
  • 71e26e12a6 minor change faiface 2017-01-11 23:18:10 +0100
  • 8ec1bdfadf remove TrianglesContainer + add Append to Triangles faiface 2017-01-11 23:17:42 +0100
  • b4c035e2ff add TrianglesContainer interface faiface 2017-01-11 13:16:27 +0100
  • 0da605c366 simplify NewWindow faiface 2017-01-11 01:05:24 +0100
  • 33fb585acc adjust comment faiface 2017-01-11 00:36:54 +0100
  • 828f7aa803 avoid possible race condition faiface 2017-01-11 00:35:16 +0100
  • b1f415d3ef optimize Window.SetTransform/SetMaskColor faiface 2017-01-11 00:26:33 +0100
  • 1f3c875d87 remove ID's from OpenGL objects + replace VertexArray with dynamically sized VertexSlice + add new Sprite faiface 2017-01-10 23:54:35 +0100
  • fb3df06337 add common response channel for main thread faiface 2017-01-06 15:00:05 +0100
  • 8d2306bcbf fix passing nil color to Window faiface 2017-01-06 02:50:03 +0100
  • b86e04704f fix Picture creation optimization faiface 2017-01-06 02:49:23 +0100
  • b15253ee83 reorder basic Target adjustment methods faiface 2017-01-05 15:13:59 +0100
  • f175b58d1b optimize picture constructor for RGBA images faiface 2017-01-05 15:02:31 +0100
  • 5b4cc5f18e remove unnecessary Window.Shader method faiface 2017-01-05 14:58:22 +0100
  • 29871f72f1 minor change faiface 2017-01-05 14:50:09 +0100