Commit Graph

3650 Commits

Author SHA1 Message Date
Alex Szpakowski 23bc1a7aae Add new mesh data formats: int32, uint32, [u]int8, [u]int16, snorm8, and snorm16.
Integer formats for vertex attributes are only supported in glsl3 shaders. They use ivec/uvec types in glsl.

--HG--
branch : minor
2020-01-11 22:24:38 -04:00
Alex Szpakowski 5c009d4bb9 Fix shader compilation on GLES.
--HG--
branch : minor
2020-01-09 21:37:33 -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 51db32cfdf Merge default into minor.
--HG--
branch : minor
2020-01-06 22:41:01 -04:00
Alex Szpakowski eab3b83a2e Fix a hard freeze on AMD+Windows systems when the internal buffers used for automatic batching are resized. 2020-01-06 19:58:22 -04:00
Alex Szpakowski 3161eea919 Fix compilation on Windows.
--HG--
branch : minor
2020-01-04 18:40:44 -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 c27629bd47 Re-apply commit b0094b5: Fix BezierCurve:render to avoid adding collinear points in some situations. Resolves issue #1501.
--HG--
branch : minor
2019-12-31 15:45:20 -04:00
Alex Szpakowski 881a31512d Remove the variant of SpriteBatch:setColor() which disables all previously set colors (resolves issue #1090).
--HG--
branch : minor
2019-12-29 21:20:47 -04:00
Alex Szpakowski b001b2e1d5 Add love.event.restart(optionalvalue) as a shorthand for love.event.quit("restart", optionalvalue). If a Lua value is provided as an argument, a new love.restart field will contain the value after restarting.
--HG--
branch : minor
2019-12-28 22:43:39 -05:00
Alex Szpakowski 443250ffd5 Slightly improve performance of Channel:push(table).
--HG--
branch : minor
2019-12-28 14:06:11 -05:00
Alex Szpakowski 361cefbb05 Add new wrap mode "clampone". Pixels sampled outside of [0, 1] are white (1, 1, 1, 1).
--HG--
branch : minor
2019-12-27 13:57:20 -05:00
Alex Szpakowski 76121ec152 Fix the default blend mode.
--HG--
branch : minor
2019-12-27 13:51:57 -05:00
Alex Szpakowski 6c662ade41 Fix disabling blending,
--HG--
branch : minor
2019-12-27 13:28:15 -05:00
Alex Szpakowski b41f1316fa Add love.graphics.setBlendState, which sets the lower level blend operation and factor values which higher level blend modes are based on.
--HG--
branch : minor
2019-12-27 09:57:42 -05: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 f3b52f66fe Update the internal naming convention for pixel formats.
--HG--
branch : minor
2019-12-23 23:38:04 -04:00
Alex Szpakowski 157d7637ed Update version to 12.0
--HG--
branch : minor
2019-12-23 17:17:51 -04:00
Alex Szpakowski 3a61663509 Appveyor: fix 64 bit build
--HG--
branch : minor
2019-12-23 15:10:00 -04:00
Alex Szpakowski aa8907612d Bitbucket webhooks missed the last commit...
--HG--
branch : minor
2019-12-23 14:51:50 -04:00
Alex Szpakowski ed3543b1fd Appveyor builds use VS2019.
--HG--
branch : minor
2019-12-23 14:36:17 -04:00
Alex Szpakowski d4a1247ca3 Potentially fix a compile error.
--HG--
branch : minor
2019-12-22 23:03:30 -04:00
Alex Szpakowski 453063e20f Windows: Use a more modern API for determining the save directory.
--HG--
branch : minor
2019-12-22 22:41:13 -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 a27781aa6a macOS/iOS: Use more modern APIs for determining the save directory.
--HG--
branch : minor
2019-12-22 17:42:23 -04:00
Alex Szpakowski e898d4571a Merge default into minor
--HG--
branch : minor
2019-12-20 00:46:32 -04:00
Alex Szpakowski 23db4f4a59 Remove functions that were deprecated in LÖVE 11.
--HG--
branch : minor
2019-12-20 00:45:20 -04:00
Alex Szpakowski 2a7e39d58b Rename DroppedFile to NativeFile.
--HG--
branch : minor
2019-12-20 00:32:56 -04:00
Alex Szpakowski c2ccb56117 Remove an obsolete workaround for a Windows bug in physfs 2.0.2.
--HG--
branch : minor
2019-12-19 19:56:55 -04:00
Alex Szpakowski d9ec1d8aa4 Clean up some hacky love.filesystem code.
--HG--
branch : minor
2019-12-19 17:47:46 -04:00
Paul Cercueil 0bac89e00f Fix build on MIPS
On MIPS toolchains, the 'mips' keyword is a macro defined to 1.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-19 11:36:33 +01:00
Alex Szpakowski acf84349a9 Move some Lua code around to work around VS2013's 16kB limitation for C++ raw string literals.
--HG--
branch : minor
2019-11-23 19:16:59 -04:00
Alex Szpakowski 3a227cea37 Merge default into minor
--HG--
branch : minor
2019-11-19 21:47:48 -04:00
Alex Szpakowski 6a552d5a6f Allow Canvases to use the r16, rg16, and rgba16 pixel formats. 2019-11-18 22:45:54 -04:00
Alex Szpakowski 8512b1a8f6 Remove some dead code.
--HG--
branch : minor
2019-11-18 21:16:51 -04:00
Alex Szpakowski 3435a6bcbf Change the internal constant color from a (per-draw) vertex attribute to a uniform. Pack most built-in uniforms into a single vec4 array and update them all with a single glUniform call.
--HG--
branch : minor
2019-11-18 21:13:54 -04:00
Alex Szpakowski 37c579929b Add support for GLSL 4.30 and GLSL ES 3.10, via #pragma language glsl4.
macOS and iOS won't support glsl4 until a Metal backend is implemented.

--HG--
branch : minor
2019-11-16 14:33:48 -04:00
Alex Szpakowski 8801161f09 Merge default into minor
--HG--
branch : minor
2019-11-16 14:24:20 -04:00
Alex Szpakowski c3be5c4682 Fix a crash when Canvas:newImageData is called and the width multiplied by the canvas format's pixel byte size is not a multiple of 4, for example a 3x3 r16f canvas (thanks Max!) 2019-11-12 21:27:46 -04:00
Alex Szpakowski fe2c204a2c Use Data:getFFIPointer instead of Data:getPointer for internal ImageData and SoundData FFI code. 2019-10-27 19:07:58 -03:00
Alex Szpakowski 98b55238b4 Added tag 11.3 for changeset 8c6f6a0ca1f0 2019-10-27 12:16:11 -03:00
Alex Szpakowski 6fa5edf5b1 Add release date for 11.3. 11.3 2019-10-27 12:15:26 -03: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 a36dfd900a Update the changelog. 2019-10-26 02:02:31 -03:00
Alex Szpakowski 899a220ef4 Merged in AuahDark/love/android-mk (pull request #127)
Android.mk update
2019-10-07 14:17:17 +00:00
Miku AuahDark ca7de89fdf Remove GLee-related lines.
--HG--
branch : android-mk
2019-10-07 21:31:58 +08:00
Miku AuahDark 11daa9c467 Remove unnecessary flags
--HG--
branch : android-mk
2019-10-07 20:47:40 +08:00
Miku AuahDark 20bb2a13b9 Android.mk update
--HG--
branch : android-mk
2019-10-07 20:20:02 +08:00