1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 12:33:52 +00:00
Commit graph

372 commits

Author SHA1 Message Date
bjorn 7e4e9a6108 Clean up includes; 2016-11-19 01:28:01 -08:00
bjorn 3813e0b9ce Increase max shader length; 2016-11-18 02:08:49 -08:00
bjorn 67b55ac7f6 Fix Shader memory leaks; 2016-11-18 02:08:36 -08:00
bjorn 3c2fc33f1c Fix Model memory leaks; 2016-11-18 02:03:50 -08:00
bjorn 42c1047b88 Fix small vive memory leak; 2016-11-18 01:28:40 -08:00
bjorn 45618e5f72 Better handling of command line arguments; 2016-11-18 00:33:26 -08:00
bjorn 0ec31f3625 Texture:refresh; 2016-11-17 23:12:30 -08:00
bjorn 027c0db032 Fix BUFFER_INT access in shaders; 2016-11-17 23:11:58 -08:00
bjorn 4b177a6a21 Fix for int buffer attribute type; 2016-11-14 22:01:44 -08:00
bjorn 7b81618198 BUFFER_INT; 2016-11-14 21:31:17 -08:00
bjorn 0c86495171 Improve Buffer:setVertex error message; 2016-11-14 21:25:46 -08:00
bjorn ee08af588c Make Buffer:setVertexMap error even better; 2016-11-14 20:16:18 -08:00
bjorn 92030baf22 Buffer:setVertexMap better error handling; 2016-11-14 20:14:45 -08:00
bjorn f083285a31 More LÖVEly error messages; 2016-11-14 20:14:36 -08:00
bjorn 3520fca758 Controller:isDown; 2016-11-14 19:57:23 -08:00
bjorn 8fe678b83a Internal Controller rename; 2016-11-14 19:47:24 -08:00
bjorn c358fac8c7 Controller:vibrate; 2016-11-14 19:33:42 -08:00
bjorn 14d29ca100 Controller:getAxis; 2016-11-14 16:22:28 -08:00
bjorn 40f7260dd3 Start controller input; 2016-11-14 16:05:55 -08:00
bjorn 69ecfc550e Optimize switching Buffer vertex maps a lot; 2016-11-14 15:56:05 -08:00
bjorn 954592d8bd Refactor graphics state, especially shaders;
This should improve performance, if not then I have failed.
2016-11-14 15:48:17 -08:00
bjorn c2feb24118 Update .gitignore; 2016-11-14 14:47:39 -08:00
bjorn 06c71ed07c Allow loading shaders from files;
The first argument is always the vertex shader.
The second argument is always the fragment shader.
2016-11-14 14:42:40 -08:00
bjorn 5cb11f4b2c Compilation improvements; 2016-11-14 14:16:16 -08:00
bjorn 21aba100a1 Refactor lovr.graphics.getDimensions and friends; 2016-11-14 13:47:15 -08:00
bjorn 36bc1ad9a2 Improve error messages when main.lua has error; 2016-11-14 13:43:34 -08:00
bjorn acde08228c Bind texture after setting buffer;
The `buffer` field was not being initialized to 0, so sometimes
the texture was binding to the wrong target.
2016-11-14 01:00:06 -08:00
bjorn 3ef84510c9 Improve windows platform detection; 2016-11-14 00:02:21 -08:00
bjorn daa942d932 Support BufferTextures; 2016-11-13 17:28:22 -08:00
bjorn b619a65946 Fix Buffer constructor bug; 2016-11-13 02:42:05 -08:00
bjorn 11f35763b7 Fix Buffer attribute indices; 2016-11-13 02:35:26 -08:00
bjorn c0db50b6ae Buffer:setVertices; 2016-11-12 23:18:53 -08:00
bjorn 11d96f1826 lovr.graphics.setPointSize; 2016-11-12 17:38:49 -08:00
bjorn ffde873299 Oh no; 2016-11-12 15:20:04 -08:00
bjorn cffa8df971 Fix Buffer crash on custom byte type; 2016-11-12 04:30:52 -08:00
bjorn 0c8db44e78 Fix model include; 2016-11-12 03:46:40 -08:00
bjorn f891a00b2f rm printf; 2016-11-12 01:49:39 -08:00
bjorn 27d3601c00 Add missing headset bounds functions; 2016-11-12 01:23:22 -08:00
bjorn 811bf67071 Windows fixes; 2016-11-12 01:19:47 -08:00
bjorn 7550da44d8 Model textures; 2016-11-08 14:55:16 -08:00
bjorn 8267733a42 Texture filters; 2016-11-08 14:55:16 -08:00
bjorn b69a7be1ba Better malloc error handling; 2016-11-08 14:55:07 -08:00
bjorn 82a1f17b16 Enum helpers; 2016-11-08 14:22:16 -08:00
bjorn a59f03ef78 Simplify filesystem checks; 2016-11-08 13:47:13 -08:00
bjorn 17601e237b Buffer:getTexture; Buffer:setTexture; 2016-11-08 03:14:50 -08:00
bjorn 136d6b1da7 Texture; lovr.graphics.newTexture; 2016-11-08 03:14:33 -08:00
bjorn a22b158b0c Fix Buffer bug; 2016-11-08 03:13:32 -08:00
bjorn 4dd8bcd40b Add src/lovr/types;
To avoid naming conflicts between modules and types.
2016-11-08 01:48:55 -08:00
bjorn 49761a789a Add loadImage to util; 2016-11-08 01:42:31 -08:00
bjorn 48ff1fa93c lovr.graphics.points; 2016-11-07 23:16:33 -08:00