Alex Szpakowski
20a92a4106
Merge branch '12.0-development' into metal
2020-12-22 22:37:17 -04:00
Alex Szpakowski
1f9d98263d
Refactor Buffer internals.
...
Allows buffers created with love.graphics.newBuffer to only allocate VRAM data. Previously they had a copy of their contents in RAM.
Also makes it easier to implement Buffers in other graphics APIs and to implement more types of Buffers in the future.
2020-12-22 19:23:02 -04:00
Alex Szpakowski
fc2cf602f6
Fix RopeJoints not working.
2020-11-12 23:46:49 -04:00
Alex Szpakowski
c12b46da98
Fix compilation on macOS/iOS after box2d update
2020-11-03 22:11:07 -04:00
Alex Szpakowski
d083c87d74
Update glslang
2020-10-12 17:29:08 -03:00
Alex Szpakowski
7a50f32585
Merge branch '12.0-development' into metal
2020-07-29 18:21:19 -03:00
Alex Szpakowski
2c4bfab1de
Merge branch '12.0-development' into GraphicsBuffer
2020-05-23 20:29:38 -03:00
Alex Szpakowski
2cff535eb1
Move shader parsing code from Lua to C++.
2020-03-03 19:30:22 -04:00
Alex Szpakowski
a5b87a10d1
Merge branch '12.0-development' into metal
2020-02-28 23:21:08 -04:00
Alex Szpakowski
b1c028a4d3
Merge branch '12.0' into GraphicsBuffer
2020-02-17 16:31:02 -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
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
64b38459cf
Update metal backend for Image+Canvas->Texture changes
2020-02-15 15:44:23 -04:00
Alex Szpakowski
742a954655
Merge branch '12.0' into metal
2020-02-15 14:18:35 -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
258129738f
Remove graphics::Canvas and graphics::Image
2020-02-04 22:06:55 -04:00
Alex Szpakowski
c3b77e0a92
Remove wrap_Canvas and wrap_Image files
2020-02-04 20:09:46 -04:00
Alex Szpakowski
74cf9b8236
The bones of what will become a Metal backend.
...
This isn't anywhere close to usable (not even a blank screen will work), let alone complete. It's about 20% done.
2020-01-26 15:46:33 -04:00
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
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
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
c4fac73dc4
ImageData and Images now support the rg11b10f format.
2019-09-21 14:46:45 -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
a91a0a9431
update glslang
2018-12-26 14:47:34 -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
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
a2aead02cf
iOS: set minimum deployment target to iOS 8.0, fix build to compile physfs
2018-04-01 12:48:33 -03: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
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