Commit Graph

3681 Commits

Author SHA1 Message Date
Alex Szpakowski 7a997fb21f Merge branch '12.0' into GraphicsBuffer 2020-02-01 17:34:32 -04:00
Alex Szpakowski c9809d8d82 Clean up some Mesh code 2020-02-01 15:59:38 -04:00
Alex Szpakowski 2572f0c7a1 Meshes expose GraphicsBuffers, part 2 2020-02-01 15:39:59 -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
Miku AuahDark 1232fab431 AppVeyor: Add -j2 to cmake build command.
This should theoretically speed up Windows compilation.
2020-01-27 11:24:56 +08:00
Miku AuahDark 0e5a6d8ba5 Actions: use -j2 for Windows cmake build (hopefully faster)
[skip ci]
2020-01-26 21:23:33 +08:00
Alex Szpakowski e557ae9fbf Merge pull request #3 from reinerh/spelling
Fix typos
2020-01-24 17:43:33 -04:00
Reiner Herrmann 27942191c5 Fix typos 2020-01-24 18:56:16 +01:00
Alex Szpakowski afcb467fa7 Remove some unrelated code that was accidentally included in previous commits. 2020-01-19 19:03:46 -04:00
Alex Szpakowski 25d9ae2ba0 Meshes expose vertex buffers, part 1
(compiles, but is currently half-implemented and broken)
2020-01-19 15:03:19 -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 d597275207 Add StringMap for DataFormat 2020-01-15 23:26:24 -04:00
Alex Szpakowski 2b124c163f Merge pull request #2 from MisterDA/permissions
Change file permissions from 755 to 644
2020-01-15 13:27:46 -04:00
Alex Szpakowski 6e21b0d4e4 Merge pull request #1 from MisterDA/gitattributes
Create a gitattributes file
2020-01-15 13:27:10 -04:00
Antonin Décimo 66e3f29a68 Change file permissions from 755 to 644 2020-01-15 14:59:00 +01:00
Antonin Décimo 88d2c52d10 Create a gitattributes file
When creating an archive, the GitHub repository and VCS-specific files
are now ignored.
The diff "hunk header" is customized for C/C++ [1].

[1]: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
2020-01-15 14:50:19 +01:00
Alex Szpakowski 9ebb6a5c44 Add internal module type enum value for use with out-of-tree third party modules.
https://bitbucket.org/rude/love/pull-requests/79/add-pluggable-modules-to-the-build-system/
2020-01-14 23:01:21 -04:00
Alex Szpakowski d5d50d2e0d Move DataFormat enum to vertex.h 2020-01-13 23:20:49 -04:00
Alex Szpakowski 1bc2b947fc Rename Attributes struct to VertexAttributes 2020-01-13 20:44:39 -04:00
Alex Szpakowski ee5304ba53 Remove vertex namespace 2020-01-13 20:41:05 -04:00
Alex Szpakowski 97a97af99a Merge branch 'master' into minor 2020-01-13 18:00:07 -04:00
Alex Szpakowski 55e1ce6579 github actions: minor updates to Windows CI
use a platform-specific name for build artifacts, and use VS2019 toolset instead of VS2017 toolset.
2020-01-13 17:51:49 -04:00
Alex Szpakowski a4f407e961 Remove bitbucket-pipelines file 2020-01-13 17:46:08 -04:00
Alex Szpakowski 9b4789eebf Update readme with more correct links. 2020-01-13 17:45:34 -04:00
Miku AuahDark 088866f3a6 Actions CI 2020-01-13 11:18:05 +08:00
Alex Szpakowski aa4831f4be Merge branch 'master' into minor 2020-01-12 22:11:08 -04:00
Alex Szpakowski 2058f43432 Appveyor: pull megasource from the new git repo instead of the old hg repo. 2020-01-12 19:46:11 -04:00
Alex Szpakowski b0232a4a6b Initial work on unified graphics buffers representing different types of data. 2020-01-12 16:41:23 -04:00
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