Commit Graph

3716 Commits

Author SHA1 Message Date
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
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
Miku AuahDark 851c2f315e Move dr_flac/dr_flac.h to dr/dr_flac.h 2020-02-16 14:00:45 +08:00
Miku AuahDark 56cce88655 Update readme and license to refer to new dr_flac link. 2020-02-16 12:06:27 +08:00
Alex Szpakowski 024d9443a0 Merge branch '12.0' into Texture 2020-02-15 13:53:15 -04:00
Alex Szpakowski a0a933a1b9 Merge branch 'master' into 12.0 2020-02-15 13:51:12 -04:00
Alex Szpakowski 15f0e4109b Fix a typo in a comment 2020-02-15 13:50:47 -04:00
Alex Szpakowski 185498ba6d Fix depth sample mode validation checking the wrong state. 2020-02-15 13:49:04 -04:00
Alex Szpakowski 4ec9cafdea Better error checking in the GL texture backend 2020-02-12 22:57:13 -04:00
Alex Szpakowski 5c06b2a860 Replace getCanvas/ImageFormats with getTextureFormats 2020-02-12 22:25:04 -04:00
Alex Szpakowski f5f7e908a9 Rename love.graphics.get/setCanvas to get/setRenderTarget
Rename 'canvasswitches' field in love.graphics.getStats to 'rendertargetswitches'.
2020-02-12 21:50:23 -04:00
Alex Szpakowski 8478a870a9 Add new*Texture variants which don't require image files.
Update the no-game screen to avoid deprecated functions.
2020-02-12 20:07:35 -04:00
Alex Szpakowski ceb854db5b rename new[Cube|Array|Volume]Image to new[Cube|Array|Volume]Texture 2020-02-12 18:56:55 -04:00
Alex Szpakowski d24b9e9e6f Rename love.graphics.newCanvas to newRenderTarget 2020-02-11 19:32:00 -04:00
Alex Szpakowski aa636381d0 Fix MSAA texture creation logic 2020-02-09 12:46:52 -04:00
Alex Szpakowski 694bc9c5b7 rename love_Canvases to love_RenderTargets in shaders.
More misc. renaming
2020-02-09 12:11:19 -04:00
Alex Szpakowski 453322678c Rename internal uses of canvas to texture/render target 2020-02-08 20:40:10 -04:00
Alex Szpakowski 12c90b3dca Merge Image and Canvas GL backend classes into new common Texture class. 2020-02-07 20:29:21 -04:00
Alex Szpakowski 17f77407bb Replace internal C++ newImage and newCanvas methods with newTexture 2020-02-05 20:39:55 -04:00
Alex Szpakowski 813b1e0e69 Remove debug print 2020-02-05 18:03:34 -04:00
Alex Szpakowski ca84b6db48 More robust error handling for AMD Pinned Memory buffers (issue #1540)
Also print out any errors that are produced from that (for now).
2020-02-05 07:49:38 -04:00
Alex Szpakowski 0017f9c77d Remove a redundant internal Texture method 2020-02-04 22:15:18 -04:00
Alex Szpakowski 258129738f Remove graphics::Canvas and graphics::Image 2020-02-04 22:06:55 -04:00
Alex Szpakowski b71eaf73cc Replaced some references to Image and Canvas with Texture. 2020-02-04 20:52:57 -04:00
Alex Szpakowski c3b77e0a92 Remove wrap_Canvas and wrap_Image files 2020-02-04 20:09:46 -04:00
Alex Szpakowski 61a5f0c7e2 Move Canvas:renderTo to Texture:renderTo. 2020-02-04 20:05:31 -04:00
Alex Szpakowski 0304bdf450 Move getMipmapMode from Canvas to Texture 2020-02-04 19:56:19 -04:00
Alex Szpakowski 4104c136cf Move Canvas:newImageData to Texture:newImageData 2020-02-04 19:19:37 -04:00
Alex Szpakowski 4716211c14 Move replacePixels from Image to Texture 2020-02-04 19:05:43 -04:00
Alex Szpakowski 63c5df6aa7 Begin unification of Canvases and Images. 2020-02-03 23:05:46 -04:00
Alex Szpakowski fc0d60a96d Move Canvas:getMSAA to Texture:getMSAA. 2020-02-03 19:26:11 -04:00
Alex Szpakowski 323f86f31e Fix link error. Move a couple Lua wrappers from Image to Texture. 2020-02-03 19:15:24 -04:00
Alex Szpakowski b46b3ed552 Move some Canvas code to Texture, devirtualize Texture::draw. 2020-02-03 19:02:58 -04:00
Alex Szpakowski f9248d478c Refactor sampler state parameters for textures. 2020-02-02 22:26:28 -04:00
Alex Szpakowski f24b1aa377 Move internal Slices class from Image to Texture 2020-02-02 13:50:37 -04:00
Alex Szpakowski e0ffdfc1ba Move some OpenGL-specific Image code into the GL backend 2020-02-02 01:21:27 -04:00
Alex Szpakowski 6c447ab4f6 Clean up some common Image and Canvas code. 2020-02-01 23:54:51 -04:00
Alex Szpakowski 7684920f19 Merge branch 'master' into 12.0 2020-01-30 20:03:24 -04:00
Miku AuahDark 5a27742c34 FLAC: Update dr_flac to 0.12.3
Improved seeking for FLAC audio files.
2020-01-29 13:22:13 +08:00
Miku AuahDark 67ee1e4d76 Windows: Actually query page size. 2020-01-28 22:05:05 +08:00
Miku AuahDark 2cd2119fb1 Revert "AppVeyor: Add -j2 to cmake build command."
Looks like AppVeyor's CMake is too old to support that.
2020-01-27 11:32:29 +08:00