Commit Graph

151 Commits

Author SHA1 Message Date
Alex Szpakowski 816f132c9d Expose GraphicsBuffer type to Lua.
It currently doesn't have any methods or any way to access it, yet.
2020-01-18 17:37:03 -04:00
Alex Szpakowski a3774fbca9 Fix build error from incorrect include paths
--HG--
branch : minor
2020-01-09 21:15:33 -04:00
Alex Szpakowski f8baa6e6dd Update glslang. Add files for its GLSL source code to SPIRV module.
--HG--
branch : minor
2020-01-09 21:06:10 -04:00
Alex Szpakowski 5f9b5a21d0 Merge default into minor
--HG--
branch : minor
2020-01-03 22:45:36 -04:00
Alex Szpakowski fc4847c69d Update copyright for the new year 2020-01-03 22:40:36 -04:00
Alex Szpakowski efa2bd7837 Consolidate some internal graphics state definitions into a new renderstate file.
--HG--
branch : minor
2019-12-26 23:07:51 -05:00
Alex Szpakowski 157d7637ed Update version to 12.0
--HG--
branch : minor
2019-12-23 17:17:51 -04:00
Alex Szpakowski bc12312f0f macOS: rename most internal uses of "macosx" to "macos".
--HG--
branch : minor
2019-12-22 17:54:20 -04:00
Alex Szpakowski 2a7e39d58b Rename DroppedFile to NativeFile.
--HG--
branch : minor
2019-12-20 00:32:56 -04:00
Alex Szpakowski 0fd49907f2 iOS: Fix a compile warning - LÖVE doesn't support opening .love files in-place on iOS. 2019-10-27 11:54:52 -03:00
Alex Szpakowski 3cadd50bec macOS: Add entitlements for Apple's hardened runtime. 2019-09-23 18:00:11 -03:00
Alex Szpakowski c4fac73dc4 ImageData and Images now support the rg11b10f format. 2019-09-21 14:46:45 -03:00
Alex Szpakowski e824a1e26b iOS: remove obsolete app icons. 2019-09-12 20:08:45 -03:00
Alex Szpakowski 48343d5965 iOS: remove Launch Images references, it's been replaced by a Launch Screen file since iOS 8. 2019-09-12 20:00:23 -03:00
Alex Szpakowski cb4b45dcf1 Add Data:getFFIPointer. Similar to Data:getPointer but returns a cdata pointer directly (or nil if the FFI isn't available).
It should be preferred instead of Data:getPointer because the latter uses lightuserdata which can't store more all possible memory addresses on some new arm64 architectures, when LuaJIT is used.
2019-07-20 10:47:58 -03:00
Alex Szpakowski 07179f11ea Add dr_flac header file to cmakelists and xcode 2019-06-25 20:13:31 -03:00
Alex Szpakowski 84f9f3f4d5 Update Xcode project for Xcode 10.2. 2019-04-11 18:45:09 -03:00
Alex Szpakowski 3ad16a70da love.physics: move internal box2d->love object map to World instances, and clean up some physics object code. Resolves issue #1465. 2019-01-04 21:36:05 -04:00
Alex Szpakowski 0752f27bdf Update copyright year for 2019 2019-01-03 21:09:05 -04:00
Alex Szpakowski 97883ae627 Update version to 11.3 2018-12-27 21:48:42 -04:00
Alex Szpakowski a91a0a9431 update glslang 2018-12-26 14:47:34 -04:00
Alex Szpakowski de813dd42d Add an Xcode 10 auto-generated file to the repository. 2018-12-13 22:38:11 -04:00
Alex Szpakowski dc5e43adf3 Split wrap_Graphics.lua into two files to work around VS2013's 16kB limit for raw string literals. 2018-12-13 22:34:30 -04:00
Alex Szpakowski da23448efe Update version to 11.2 2018-10-28 13:52:09 -03:00
Alex Szpakowski a1604f4294 Update Xcode project with the latest changes from Xcode 10. 2018-10-28 13:41:12 -03:00
Mikael Lind f682950634 Fix link error in Mac OS X build (Xcode)
--HG--
branch : elemel/fix-freetype-link-error-on-xcode-macosx
2018-06-05 10:22:08 +02:00
Alex Szpakowski 4546a38751 Update changelog and version 2018-04-08 11:31:10 -03:00
Alex Szpakowski 43263c1469 iOS: weak-link with Metal.framework, SDL requires it (although we don't use the parts of SDL that use it). 2018-04-02 11:20:52 -03:00
Alex Szpakowski 403c339522 macOS: remove leftover reference to external physfs framework 2018-04-01 22:45:51 -03:00
Alex Szpakowski 3a37300e6d iOS: include a 1024x1024 icon 2018-04-01 12:50:54 -03:00
Alex Szpakowski a2aead02cf iOS: set minimum deployment target to iOS 8.0, fix build to compile physfs 2018-04-01 12:48:33 -03:00
Bart van Strien da9716b96d Update version number and changelog 2018-03-31 12:27:02 +02:00
Bart van Strien fd514d8176 Update some more copyright notices
I am so good at using search/replace I definitely didn't need a second commit
for this.
2018-01-03 19:55:02 +01:00
Alex Szpakowski a5ca04bb57 macOS: Update the capitalization of ogg/vorbis/theora frameworks. Resolves issue #1320. 2017-12-30 00:54:58 -04:00
Alex Szpakowski 22fada31da macOS: update freetype framework capitalization 2017-12-26 19:50:55 -04:00
Alex Szpakowski cdcf052a73 Update LZ4. 2017-12-17 21:52:19 -04:00
Alex Szpakowski 1d8a3326b3 Include the physfs 3.0.1 source in love. 2017-12-15 19:41:17 -04:00
Alex Szpakowski 7354de2059 Add (low level) functionality to allow rendering 3D Meshes.
- Add love.graphics.setDepthMode(testcomparison, enablewrites).
- Add love.graphics.setMeshCullMode.
- Add love.graphics.setFrontFaceWinding.

Depth testing and depth writes require a depth buffer to work. The mesh cull mode controls whether front/back faces of a mesh are culled. The front face winding determines whether a clockwise or counterclockwise-oriented face in a mesh is considered front facing.

--HG--
branch : minor
2017-12-09 23:34:08 -04:00
Alex Szpakowski c5fcfd1714 Add an Xcode 9 generated file.
--HG--
branch : minor
2017-11-20 22:15:06 -04:00
Alex Szpakowski 8672ff2272 Use a more efficient method of streaming automatically batched vertices on AMD Windows and Linux systems.
--HG--
branch : minor
2017-11-11 20:48:02 -04:00
Alex Szpakowski e3fd489373 Abstracted lower level drawing code, moved all type-specific drawing code out of opengl backend, deleted obsolete files
--HG--
branch : minor
2017-10-26 20:58:19 -03:00
Alex Szpakowski 15cc540e4c Make internal vertex attribute code less OpenGL-specific.
--HG--
branch : minor
2017-10-25 23:12:39 -03:00
Alex Szpakowski 8db8b71587 Fix building for macOS and iOS
--HG--
branch : minor
2017-10-21 11:15:39 -03:00
Alex Szpakowski e5b0d96b27 Restructured some Shader code. Added runtime temporary caching and sharing of shader stages. Resolves issue #1235.
--HG--
branch : minor
2017-10-21 03:08:18 -03:00
Alex Szpakowski ac84589c57 Backed out changeset 1b487edea8a8
--HG--
branch : minor
2017-09-30 17:02:16 -03:00
Alex Szpakowski 8fa511aea8 Move boot.lua into src/modules/love/
--HG--
branch : minor
2017-09-30 16:41:45 -03:00
Alex Szpakowski e10c941614 Update Xcode/clang warnings to the latest recommended settings.
--HG--
branch : minor
2017-09-30 12:27:50 -03:00
Alex Szpakowski 90e86c329d Add love.data module.
- Moved love.math.compress / decompress / decode / encode / hash to love.data.
- Changed love.data.compress/decompress to take the format argument first instead of second.
- Added love.data.newDataView. Returns a read-only subsection of an existing Data object.
- Added love.data.newByteData. Mostly useful in combination with LuaJIT's FFI as it has no extra methods currently.
- Added implementations of Lua 5.3's data packing APIs: love.data.packString / packData / unpack / getPackedSize.

Resolves issue #1336.
Resolves issue #1331.

--HG--
branch : minor
2017-09-24 19:25:27 -03:00
Alex Szpakowski b4f8f08b70 Enable (when available) and improve performance of persistently mapped buffer path for the vertex/index buffers used with automatic batching.
--HG--
branch : minor
2017-09-03 18:23:54 -03:00
Alex Szpakowski a41f78dfe4 Simplified some compressed image parsing code.
--HG--
branch : minor
2017-08-30 22:25:26 -03:00