Commit Graph

5380 Commits

Author SHA1 Message Date
ell 63d303a22f make workflow fail if tests fail 2023-11-22 23:15:07 +00:00
ell 825e46621e finished obj tests
- added physics.Contact, physics.Body, and physics.Shape obj tests
- added graphics.Mesh and graphics.ParticleSystem obj tests
- fixed some rgba tolerance needed on a couple methods
- added test conclusion to zip artifact name for quick checking on PRs
- ignored testsuite on compat mode windows builds
2023-11-20 20:05:30 +00:00
Sasha Szpakowski 99e7022d2d iOS: alphabetically sort .love file list.
Fixes #1984.
2023-11-18 13:44:41 -04:00
ellraiser 1ef183c3c7 Update main.yml 2023-11-17 20:19:51 +00:00
ellraiser eba8ccb748 Update main.yml 2023-11-17 19:37:56 +00:00
ellraiser a977ad290b revert 2023-11-17 17:15:46 +00:00
ellraiser 51c2aa8cf8 specify write for action permission 2023-11-17 17:00:17 +00:00
ell 89119c554a add runner exceptions to readme 2023-11-17 12:19:56 +00:00
ell a8c714bc89 change to exact rgba comparison for visual tests 2023-11-17 00:11:32 +00:00
ell d1307584e5 add graphics pixel comparison tests
- added an automatic check for expected vs actual with the images already shown in the report - used a 1px tolerance for now for each of the pixels checked
2023-11-16 23:28:50 +00:00
ell 37961f92d6 floor joint pos 2023-11-16 22:09:31 +00:00
ell adc6fbea4c added test.physics.Joint 2023-11-16 21:54:01 +00:00
ell 8124804d49 more graphics + some physics tests
- added obj tests for graphics.SpriteBatch, and graphics.Video
- added obj tests for physics.World
- added test for setStencilMode and removed deprecated stencil+setStencilTest
- added graphics.drawInstanced
- fixed deprecated physic shape calls (body now added as first param)
2023-11-16 19:22:40 +00:00
Sasha Szpakowski 20ffe94349 vulkan: fix a consistency issue with texture samplers 2023-11-15 23:15:27 -04:00
ell 1323bb1452 ignore setMipmapFilter on opengl ES 2023-11-15 20:34:34 +00:00
ell 0ef417f60c fix test.graphics.Canvas 2023-11-15 19:54:14 +00:00
ell 038b36a67d add renderer to report md 2023-11-15 19:52:17 +00:00
ell ad44eb4fd7 more graphics class tests
- added graphics.Canvas, graphics.Font, graphics.Image, graphics.Quad, graphics.Shader and graphics.Text
- removed rogue resource img
- removed event wait test placeholder
- updated todo list
2023-11-15 19:32:39 +00:00
ell af4c50a4ce skip test.audio.RecordingDevice on CI 2023-11-15 09:06:16 +00:00
Miku AuahDark 81393b9aed Android: Fixed invalid JNIEnv* pointer when starting up love.filesystem for 2nd time. 2023-11-15 12:19:06 +08:00
Miku AuahDark ae465f8e4b Insert Android-specific changelog. 2023-11-15 12:16:19 +08:00
ell 357b005e53 fix test.audio.Source 2023-11-14 23:21:28 +00:00
ell c89e7930ba alsoft relative to checkout 2023-11-14 21:33:11 +00:00
ell 333169eb0f fix alsoft path 2023-11-14 21:22:10 +00:00
ell b1fe623358 turn off vulkan tests for now 2023-11-14 20:53:42 +00:00
ell 46d45678af invalid lib linux 2023-11-14 20:42:04 +00:00
ell 38ef55ee32 add arch+compat to win test output 2023-11-14 20:38:35 +00:00
ell 5155a96540 fix upload paths 2023-11-14 20:18:43 +00:00
ell 0d338b0c0d workflow changes #1 2023-11-14 20:04:49 +00:00
ell 58fa1c8ccd test the test workflow 2023-11-14 18:34:53 +00:00
ell d23c396813 split workflow 2023-11-14 18:15:37 +00:00
ell c682ba15d9 use 12.0dev workflow 2023-11-14 18:01:34 +00:00
ellraiser ef39fb3fb7 Merge branch '12.0-development' into 12.0-testsuite 2023-11-14 17:57:38 +00:00
ell 75c2667c53 Update main.yml 2023-11-14 17:53:13 +00:00
ell a9a5507455 add missing linux lib req 2023-11-14 17:52:04 +00:00
ell 137126656a update ci run 2023-11-14 13:00:09 +00:00
ell 658c75b5c3 latest from love-test 2023-11-14 09:47:36 +00:00
Sasha Szpakowski a3a6e29ef0 Update changelog 2023-11-07 20:27:42 -04:00
Sasha Szpakowski 17362b6844 Restore no-parameter variant of love.graphics.setColorMask. 2023-10-30 18:55:26 -03:00
Sasha Szpakowski 6aaf0b22bf Address some compiler warnings 2023-10-21 13:55:43 -03:00
Sasha Szpakowski 5a0a6a1a27 All constructors for making a TrueType font take an optional settings table.
This supersedes the existing optional hinting and dpi scale parameters. The table's fields are:
{
  hinting = "normal",
  dpiscale = 1, -- nil will default to the current window DPI scale.
}
2023-10-20 20:19:30 -03:00
Sasha Szpakowski 8c13943f64 ImageData can track whether they're meant to be loaded into a Texture with a non-sRGB format when gamma correct rendering is enabled.
Fixes #1556.

* Add ImageData/CompressedImageData:setLinear and ImageData/CompressedImageData:isLinear.
  The flag is used as a hint when loading a texture from the data to determine if the format should not be treated as sRGB-encoded. The 'linear' flag in newImage overrides this.

* love.graphics.readbackTexture automatically sets the linear flag on ImageData it returns when the texture's format is linear.
  This allows an ImageData generated via readback to be fed back into a new Texture and the format will match the original Canvas.

* Also clean up some image decoding code.
2023-10-14 20:48:21 -03:00
Sasha Szpakowski 2aad15c865 Fix DistanceJoint type information 2023-10-14 16:42:31 -03:00
Sasha Szpakowski bd55100d56 metal: fix compile error 2023-10-14 15:02:28 -03:00
Sasha Szpakowski 343d192f10 Compressed texture formats have explicit sRGB variants 2023-10-14 15:01:01 -03:00
ell 09d0ace4b6 finished a bunch of modules
- finished audio module
- finished data module
- finished filesystem module
- finished font module (note: glphy test fails, but seems to be a 12.0 issue)
- finished image module
- finished maths module
- finished sound module
- finished thread module
- finished video module
- fixed pcall error not showing in results for invalid test code
2023-10-14 18:18:53 +01:00
Sasha Szpakowski 9eec1754e7 opengl: fix clearing the depth buffer. 2023-10-14 10:30:51 -03:00
Sasha Szpakowski 983ea6c0e6 Remove explicit support for systems that don't support rgba8 canvases.
This is just a very small number of really old OpenGL ES 2 drivers.
2023-10-13 21:53:45 -03:00
Sasha Szpakowski 3865868358 Fix creating a linear rgba8 canvas when gamma correct rendering is on.
Fixes #1973
2023-10-13 21:41:32 -03:00
Miku AuahDark 0b0bef31ad Linux: Install libcurl4-openssl-dev before building. 2023-10-12 13:33:28 +08:00