1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-05 22:03:36 +00:00
Commit graph

1525 commits

Author SHA1 Message Date
bjorn 1b7261de5c lovr.graphics.getSupported; 2018-08-03 11:46:21 -07:00
bjorn f6f322fc7f Treat UBOs and SSBOs more similarly to reduce duplication; 2018-08-03 11:34:11 -07:00
bjorn 76fb1681fa Storage buffer variable introspection; 2018-08-03 11:19:40 -07:00
bjorn da3356bb2f Shader introspection for storage blocks; 2018-08-02 17:18:03 -07:00
bjorn 7d9b728669 Remove 32 uniform limit; 2018-08-02 16:13:27 -07:00
bjorn 085ee71d86 ARB_compute_shader; ARB_program_interface_query; ARB_shader_storage_buffer_object; 2018-08-02 15:34:58 -07:00
bjorn 54e466f2a0 .appveyor.yml: Add skip_branch_with_pr; 2018-08-02 05:10:34 -07:00
bjorn 1946f860f8 More storage block stuff; 2018-08-02 05:04:40 -07:00
bjorn b8faff6986 Add writable and usage flags to ShaderBlock; 2018-08-02 05:04:40 -07:00
bjorn ee213c8b5a Yeah yeah whatever std140; 2018-08-02 05:04:40 -07:00
bjorn d1923ce711 Put back apple instancing fix; 2018-08-02 05:04:40 -07:00
bjorn 73b50c22cd Fix some typos; 2018-08-02 05:04:40 -07:00
bjorn 5e8f4bb69c Shader:setBlock validation; 2018-08-02 05:04:40 -07:00
bjorn 7e3f256ba2 Spacing; 2018-08-02 05:04:40 -07:00
bjorn ce19599fec Improve uniform error messages; 2018-08-02 05:04:40 -07:00
bjorn 4589ce66d0 luax_checkuniform supports samplers; 2018-08-02 05:04:40 -07:00
bjorn 2b093b5828 ShaderBlock:send; Helper function for reading uniforms; 2018-08-02 05:04:40 -07:00
bjorn 18ee139341 rm shaderblock header; 2018-08-02 05:04:40 -07:00
bjorn a4052430a4 Shader:getBlock; Shader:setBlock; 2018-08-02 05:04:40 -07:00
bjorn 854431c9ea Rebase; 2018-08-02 05:04:40 -07:00
bjorn a372abb810 Reorganize uniform/block data structures; 2018-08-02 05:04:40 -07:00
bjorn e8afcb9b71 Shaders introspect their blocks; 2018-08-02 05:03:28 -07:00
bjorn 85ff844d24 lovrShaderBlockCreate; 2018-08-02 05:03:28 -07:00
bjorn 823886f03f Start newShaderBlock; 2018-08-02 05:03:28 -07:00
Bjorn Swenson 08eddc572a
Merge pull request #48 from bjornbytes/stbtt
Use stb_truetype instead of FreeType;
2018-08-02 04:28:51 -07:00
bjorn 23bfc4b5aa Fix bug with texture atlas expansion; 2018-08-02 03:41:21 -07:00
bjorn d0381cbf9d Don't forget to retain the blob; 2018-08-02 03:41:21 -07:00
bjorn 1ebb5256d9 Update CMakeLists; 2018-08-02 03:41:21 -07:00
bjorn 8405bff070 Use stb_truetype instead of FreeType; 2018-08-02 03:41:21 -07:00
bjorn 0b70285e30 Fix WebGL memcpys; 2018-08-02 03:40:47 -07:00
bjorn b6afc59b33 rm gpu.h 2018-08-02 03:31:45 -07:00
bjorn 76023b4b6c Fix Shader uniform leak; 2018-08-02 03:27:16 -07:00
bjorn abd1c75140 Properly release glyph TextureData; 2018-08-02 03:27:16 -07:00
bjorn ae4f0e1e6c Fix potential ModelData leaks; 2018-08-02 03:27:16 -07:00
bjorn 61e545c7e6 Fix Texture:encode leak; 2018-08-02 03:27:16 -07:00
bjorn e5fd9c7412 Fix SoundData leaks; 2018-08-02 03:27:16 -07:00
bjorn 2acc4761b7 Fixes for WebGL; rm sharpness from texture filter; 2018-08-02 01:31:23 -07:00
bjorn d7bb4321d0 Add parentheses around braced initializer lists; 2018-08-01 21:06:16 -07:00
bjorn 190e2cfb33 Deploy zip artifacts from msater to lovr.org; 2018-07-29 17:42:31 -07:00
bjorn 87ff99108d Update boot.lua; 2018-07-28 18:41:51 -07:00
bjorn 785913fd45 Add conf.headset.msaa config;
For separate window/headset msaa settings.  Currently only applies
to OpenVR since the other drivers render directly to the window.
2018-07-28 18:12:57 -07:00
bjorn 3c2d644d9f Fake headset doesn't stomp on existing glfw callbacks; 2018-07-27 19:53:40 -07:00
bjorn 9e494cae46 Make custom events work; 2018-07-26 19:38:01 -07:00
bjorn 156c0cde5d Condense event code a bit; 2018-07-26 19:38:01 -07:00
bjorn 693766cf3b Hmm, byte vertex attributes can have more than 1 component; 2018-07-25 00:01:22 -07:00
bjorn d79afb44d2 Make gl_ViewportIndex work in fragment shaders; 2018-07-25 00:01:22 -07:00
bjorn 0b922a9703 rm Variant type name tracking; 2018-07-24 21:21:37 -07:00
bjorn d6daa885c8 Simplify luax_checktype and inheritance; 2018-07-24 21:15:07 -07:00
bjorn 83ddb82162 Simplify Lua object management; 2018-07-24 20:13:54 -07:00
bjorn bc2d638b00 Refs know their type; 2018-07-24 19:14:29 -07:00