Commit Graph

3825 Commits

Author SHA1 Message Date
Alex Szpakowski 3a8f6a35a2 glslang: disable legacy ARB_compatibility for GLSL 1.40+ 2020-04-26 22:57:17 -03:00
Alex Szpakowski e4b84224fc Update glslang 2020-04-26 22:49:42 -03:00
Alex Szpakowski 910ede47cc metal: update spirv-cross 2020-04-26 11:44:53 -03:00
Alex Szpakowski ceb1e4459b metal: initial sampler cache implementation 2020-04-26 09:09:26 -03:00
Alex Szpakowski 643a046d64 metal: basic implementation of love.graphics.clear 2020-04-23 22:49:38 -03:00
Alex Szpakowski 99b39065b6 metal: hook up the backbuffer 2020-04-23 18:38:29 -03:00
Alex Szpakowski acc4064a6c metal: implement stubs for missing methods 2020-04-22 23:18:00 -03:00
Alex Szpakowski 9e03bc3f0d Merge pull request #1558 from pfirsich/master
Add GitHub action steps to build AppImage
2020-03-15 20:13:39 -03:00
Alex Szpakowski d13e97fd83 Merge branch 'master' into 12.0-development 2020-03-15 19:25:48 -03:00
Alex Szpakowski 8fac08809a Eliminate redundant glActiveTexture calls when shaders are used.
The redundant calls were introduced with the previous commit.
2020-03-15 19:24:49 -03:00
Alex Szpakowski c5b6cc3228 Merge branch 'master' into 12.0-development 2020-03-15 19:17:04 -03:00
Joel Schumacher 789110208f Add GitHub action steps to build AppImage 2020-03-15 18:03:25 +01:00
Alex Szpakowski 9c2454816f Fix the active GL texture unit not always being set properly.
Fixes issues where texture methods wouldn't have any effect, depending on the current internal opengl state.
2020-03-15 01:29:33 -03:00
Alex Szpakowski 5db1e835ce Prevent stb_image from exporting public symbols in the love dll 2020-03-07 16:09:40 -04:00
Alex Szpakowski e0ff593d09 Fix love.graphics.newTexture(imagedata, {canvas=true}) not using an sRGB format when it should 2020-03-04 20:37:41 -04:00
Alex Szpakowski 10fbdf68f4 Fix love.graphics.newCanvas(w, h) not creating a canvas-capable texture 2020-03-04 20:36:06 -04:00
Alex Szpakowski d6566c865c Merge branch 'master' into 12.0-development 2020-03-03 19:41:54 -04:00
Alex Szpakowski 2cff535eb1 Move shader parsing code from Lua to C++. 2020-03-03 19:30:22 -04:00
Alex Szpakowski 20b5ba6edb Merge pull request #1553 from namtabmai/set-win-title-on-create
Changed to set the window title during creation rather than after
2020-03-02 17:37:26 -04:00
Andrew West 0efb49dc5f Changed to set the window title before creation rather than after 2020-03-02 20:51:46 +00:00
Alex Szpakowski fec6cfd449 metal: fix compilation errors 2020-02-28 23:25:25 -04:00
Alex Szpakowski a5b87a10d1 Merge branch '12.0-development' into metal 2020-02-28 23:21:08 -04:00
Alex Szpakowski bbdadcba8a Fix build 2020-02-28 23:12:22 -04:00
Alex Szpakowski 7fbb68e90e Merge branch '12.0-development' into GraphicsBuffer 2020-02-28 23:10:21 -04:00
Alex Szpakowski d77dabaa6b Add Mesh:getAttachedAttributes. 2020-02-28 23:01:35 -04:00
Alex Szpakowski 7c1a344c23 Minor cleanup of some metal helper code 2020-02-28 23:00:07 -04:00
Alex Szpakowski e188740c18 Fix a link error on Windows 2020-02-28 22:17:20 -04:00
Alex Szpakowski e71f27c65d Move Lua wrapper code for Variants out of the Variant class file. 2020-02-28 21:54:03 -04:00
Alex Szpakowski b95788c104 Shader:send now returns false if the uniform doesn't exist
It also returns false if the uniform exists but was optimized out by the shader compiler. Previously it would cause a Lua error in both situations.
2020-02-27 20:19:55 -04:00
Alex Szpakowski 9425c9224b Rename internal batched draw code to be more clear 2020-02-27 20:08:50 -04:00
Alex Szpakowski 4197a364fd Internal restructuring of some Mesh code 2020-02-23 22:39:18 -04:00
Alex Szpakowski 2c90ccabb3 Avoid some hardcoded strings 2020-02-23 16:49:38 -04:00
Alex Szpakowski 1ddfcd4cc8 Always use explicitly typed buffers, even in internal code 2020-02-23 16:30:55 -04:00
Alex Szpakowski 2828761060 Move some code from Mesh wrapper to Buffer wrapper 2020-02-22 18:58:41 -04:00
Alex Szpakowski b1c028a4d3 Merge branch '12.0' into GraphicsBuffer 2020-02-17 16:31:02 -04:00
Alex Szpakowski 20e7b1745c Merge branch 'master' into 12.0 2020-02-17 02:17:58 -04:00
Alex Szpakowski ee546b271a Github CI status label in the readme links to the CI page 2020-02-17 02:17:38 -04:00
Alex Szpakowski ac524e681a Change the default font from Vera size 12 to Noto Sans size 13.
Resolves issue #1075.
2020-02-17 01:55:49 -04:00
Alex Szpakowski 7c34345fa6 Rename new/set/getRenderTarget back to new/set/getCanvas, for now.
The setRenderTarget/setCanvas API will likely change before 12.0 is released, so there's no reason to rename things unnecessarily before then.
2020-02-16 19:42:11 -04:00
Alex Szpakowski 7b195c5f44 Remove more references to mpg123 2020-02-16 19:15:25 -04:00
Alex Szpakowski 639d5e12e6 Update Xcode project with mp3 build changes 2020-02-16 18:54:14 -04:00
Alex Szpakowski b8f20ed8db Merge pull request #5 from MikuAuahDark/replace-mpg123
Replace Mpg123 with dr_mp3
2020-02-16 18:34:07 -04:00
Alex Szpakowski e001e4336d metal: initial work on setRenderTarget 2020-02-16 09:04:50 -04:00
Miku AuahDark c2f7053278 Fix NSIS "LÖVE" text. 2020-02-16 19:56:39 +08:00
Miku AuahDark 88fe7fd53b Replace mpg123 with dr_mp3 at license file. 2020-02-16 16:05:32 +08:00
Miku AuahDark 7697f34c5d Fix compile error. 2020-02-16 16:01:28 +08:00
Miku AuahDark 52a707d96c Remove mpg123 reference from build system.
TODO: macOS/iOS xcodeproj
2020-02-16 15:25:31 +08:00
Miku AuahDark afd68a95a2 Remove more mpg123-related reference. 2020-02-16 14:42:54 +08:00
Miku AuahDark 2b03e25c65 Remove Mpg123 decoder files. 2020-02-16 14:35:36 +08:00
Miku AuahDark 1076ee6112 Add non-mpg123 MP3 decoder. 2020-02-16 14:25:40 +08:00