Commit Graph

  • 64b38459cf Update metal backend for Image+Canvas->Texture changes Alex Szpakowski 2020-02-15 15:44:23 -04:00
  • 742a954655 Merge branch '12.0' into metal Alex Szpakowski 2020-02-15 14:18:35 -04:00
  • 024d9443a0 Merge branch '12.0' into Texture Alex Szpakowski 2020-02-15 13:53:15 -04:00
  • a0a933a1b9 Merge branch 'master' into 12.0 Alex Szpakowski 2020-02-15 13:51:12 -04:00
  • 15f0e4109b Fix a typo in a comment Alex Szpakowski 2020-02-15 13:50:47 -04:00
  • 185498ba6d Fix depth sample mode validation checking the wrong state. Alex Szpakowski 2020-02-15 13:49:04 -04:00
  • 4ec9cafdea Better error checking in the GL texture backend Alex Szpakowski 2020-02-12 22:57:13 -04:00
  • 5c06b2a860 Replace getCanvas/ImageFormats with getTextureFormats Alex Szpakowski 2020-02-12 22:25:04 -04:00
  • f5f7e908a9 Rename love.graphics.get/setCanvas to get/setRenderTarget Alex Szpakowski 2020-02-12 21:50:23 -04:00
  • 8478a870a9 Add new*Texture variants which don't require image files. Alex Szpakowski 2020-02-12 20:07:35 -04:00
  • ceb854db5b rename new[Cube|Array|Volume]Image to new[Cube|Array|Volume]Texture Alex Szpakowski 2020-02-12 18:56:55 -04:00
  • d24b9e9e6f Rename love.graphics.newCanvas to newRenderTarget Alex Szpakowski 2020-02-11 19:32:00 -04:00
  • aa636381d0 Fix MSAA texture creation logic Alex Szpakowski 2020-02-09 12:46:52 -04:00
  • 694bc9c5b7 rename love_Canvases to love_RenderTargets in shaders. Alex Szpakowski 2020-02-09 12:11:19 -04:00
  • 453322678c Rename internal uses of canvas to texture/render target Alex Szpakowski 2020-02-08 20:40:10 -04:00
  • 12c90b3dca Merge Image and Canvas GL backend classes into new common Texture class. Alex Szpakowski 2020-02-07 20:29:21 -04:00
  • 17f77407bb Replace internal C++ newImage and newCanvas methods with newTexture Alex Szpakowski 2020-02-05 20:39:55 -04:00
  • 813b1e0e69 Remove debug print Alex Szpakowski 2020-02-05 18:03:34 -04:00
  • ca84b6db48 More robust error handling for AMD Pinned Memory buffers (issue #1540) Alex Szpakowski 2020-02-05 07:49:38 -04:00
  • 0017f9c77d Remove a redundant internal Texture method Alex Szpakowski 2020-02-04 22:15:18 -04:00
  • 258129738f Remove graphics::Canvas and graphics::Image Alex Szpakowski 2020-02-04 22:06:55 -04:00
  • b71eaf73cc Replaced some references to Image and Canvas with Texture. Alex Szpakowski 2020-02-04 20:52:57 -04:00
  • c3b77e0a92 Remove wrap_Canvas and wrap_Image files Alex Szpakowski 2020-02-04 20:09:46 -04:00
  • 61a5f0c7e2 Move Canvas:renderTo to Texture:renderTo. Alex Szpakowski 2020-02-04 20:05:31 -04:00
  • 0304bdf450 Move getMipmapMode from Canvas to Texture Alex Szpakowski 2020-02-04 19:56:19 -04:00
  • 4104c136cf Move Canvas:newImageData to Texture:newImageData Alex Szpakowski 2020-02-04 19:19:37 -04:00
  • 4716211c14 Move replacePixels from Image to Texture Alex Szpakowski 2020-02-04 19:05:43 -04:00
  • 63c5df6aa7 Begin unification of Canvases and Images. Alex Szpakowski 2020-02-03 23:05:46 -04:00
  • fc0d60a96d Move Canvas:getMSAA to Texture:getMSAA. Alex Szpakowski 2020-02-03 19:26:11 -04:00
  • 323f86f31e Fix link error. Move a couple Lua wrappers from Image to Texture. Alex Szpakowski 2020-02-03 19:15:24 -04:00
  • b46b3ed552 Move some Canvas code to Texture, devirtualize Texture::draw. Alex Szpakowski 2020-02-03 19:02:58 -04:00
  • f9248d478c Refactor sampler state parameters for textures. Alex Szpakowski 2020-02-02 22:26:28 -04:00
  • f24b1aa377 Move internal Slices class from Image to Texture Alex Szpakowski 2020-02-02 13:50:37 -04:00
  • e0ffdfc1ba Move some OpenGL-specific Image code into the GL backend Alex Szpakowski 2020-02-02 01:21:27 -04:00
  • 6c447ab4f6 Clean up some common Image and Canvas code. Alex Szpakowski 2020-02-01 23:54:51 -04:00
  • 07cb6a03c6 metal: clean up useless code Alex Szpakowski 2020-02-01 18:33:40 -04:00
  • cd08f75909 metal: image uploading Alex Szpakowski 2020-02-01 18:25:50 -04:00
  • 0c6e168379 metal: internal conversions for more pixel formats Alex Szpakowski 2020-02-01 18:10:04 -04:00
  • 21b09c9b18 Merge branch '12.0' into metal Alex Szpakowski 2020-02-01 17:56:41 -04:00
  • 7a997fb21f Merge branch '12.0' into GraphicsBuffer Alex Szpakowski 2020-02-01 17:34:32 -04:00
  • c9809d8d82 Clean up some Mesh code Alex Szpakowski 2020-02-01 15:59:38 -04:00
  • 2572f0c7a1 Meshes expose GraphicsBuffers, part 2 Alex Szpakowski 2020-02-01 15:39:59 -04:00
  • d687b4c099 metal: initial work on windowing and instance creation Alex Szpakowski 2020-01-30 20:35:33 -04:00
  • 7684920f19 Merge branch 'master' into 12.0 Alex Szpakowski 2020-01-30 20:03:24 -04:00
  • 5a27742c34 FLAC: Update dr_flac to 0.12.3 Miku AuahDark 2020-01-29 13:11:08 +08:00
  • 67ee1e4d76 Windows: Actually query page size. Miku AuahDark 2020-01-28 21:25:58 +08:00
  • 2cd2119fb1 Revert "AppVeyor: Add -j2 to cmake build command." Miku AuahDark 2020-01-27 11:32:29 +08:00
  • 1232fab431 AppVeyor: Add -j2 to cmake build command. Miku AuahDark 2020-01-27 11:24:56 +08:00
  • 74cf9b8236 The bones of what will become a Metal backend. Alex Szpakowski 2020-01-26 15:46:33 -04:00
  • 0e5a6d8ba5 Actions: use -j2 for Windows cmake build (hopefully faster) Miku AuahDark 2020-01-26 21:23:33 +08:00
  • e557ae9fbf Merge pull request #3 from reinerh/spelling Alex Szpakowski 2020-01-24 17:43:33 -04:00
  • 27942191c5 Fix typos Reiner Herrmann 2020-01-24 18:56:16 +01:00
  • afcb467fa7 Remove some unrelated code that was accidentally included in previous commits. Alex Szpakowski 2020-01-19 19:03:46 -04:00
  • 25d9ae2ba0 Meshes expose vertex buffers, part 1 Alex Szpakowski 2020-01-19 15:03:19 -04:00
  • 816f132c9d Expose GraphicsBuffer type to Lua. Alex Szpakowski 2020-01-18 17:37:03 -04:00
  • d597275207 Add StringMap for DataFormat Alex Szpakowski 2020-01-15 23:26:24 -04:00
  • 2b124c163f Merge pull request #2 from MisterDA/permissions Alex Szpakowski 2020-01-15 13:27:46 -04:00
  • 6e21b0d4e4 Merge pull request #1 from MisterDA/gitattributes Alex Szpakowski 2020-01-15 13:27:10 -04:00
  • 66e3f29a68 Change file permissions from 755 to 644 Antonin Décimo 2020-01-15 14:59:00 +01:00
  • 88d2c52d10 Create a gitattributes file Antonin Décimo 2020-01-15 14:41:19 +01:00
  • 9ebb6a5c44 Add internal module type enum value for use with out-of-tree third party modules. Alex Szpakowski 2020-01-14 23:01:21 -04:00
  • d5d50d2e0d Move DataFormat enum to vertex.h Alex Szpakowski 2020-01-13 23:20:49 -04:00
  • 1bc2b947fc Rename Attributes struct to VertexAttributes Alex Szpakowski 2020-01-13 20:44:39 -04:00
  • ee5304ba53 Remove vertex namespace Alex Szpakowski 2020-01-13 20:41:05 -04:00
  • 97a97af99a Merge branch 'master' into minor Alex Szpakowski 2020-01-13 18:00:07 -04:00
  • 55e1ce6579 github actions: minor updates to Windows CI Alex Szpakowski 2020-01-13 17:51:49 -04:00
  • a4f407e961 Remove bitbucket-pipelines file Alex Szpakowski 2020-01-13 17:46:08 -04:00
  • 9b4789eebf Update readme with more correct links. Alex Szpakowski 2020-01-13 17:45:34 -04:00
  • 088866f3a6 Actions CI Miku AuahDark 2020-01-13 11:18:05 +08:00
  • aa4831f4be Merge branch 'master' into minor Alex Szpakowski 2020-01-12 22:11:08 -04:00
  • 2058f43432 Appveyor: pull megasource from the new git repo instead of the old hg repo. Alex Szpakowski 2020-01-12 19:46:11 -04:00
  • b0232a4a6b Initial work on unified graphics buffers representing different types of data. Alex Szpakowski 2020-01-12 16:41:23 -04:00
  • 23bc1a7aae Add new mesh data formats: int32, uint32, [u]int8, [u]int16, snorm8, and snorm16. Alex Szpakowski 2020-01-11 22:24:38 -04:00
  • 5c009d4bb9 Fix shader compilation on GLES. Alex Szpakowski 2020-01-09 21:37:33 -04:00
  • a3774fbca9 Fix build error from incorrect include paths Alex Szpakowski 2020-01-09 21:15:33 -04:00
  • f8baa6e6dd Update glslang. Add files for its GLSL source code to SPIRV module. Alex Szpakowski 2020-01-09 21:06:10 -04:00
  • 51db32cfdf Merge default into minor. Alex Szpakowski 2020-01-06 22:41:01 -04:00
  • eab3b83a2e Fix a hard freeze on AMD+Windows systems when the internal buffers used for automatic batching are resized. Alex Szpakowski 2020-01-06 19:58:22 -04:00
  • 3161eea919 Fix compilation on Windows. Alex Szpakowski 2020-01-04 18:40:44 -04:00
  • 5f9b5a21d0 Merge default into minor Alex Szpakowski 2020-01-03 22:45:36 -04:00
  • fc4847c69d Update copyright for the new year Alex Szpakowski 2020-01-03 22:40:36 -04:00
  • c27629bd47 Re-apply commit b0094b5: Fix BezierCurve:render to avoid adding collinear points in some situations. Resolves issue #1501. Alex Szpakowski 2019-12-31 15:45:20 -04:00
  • 881a31512d Remove the variant of SpriteBatch:setColor() which disables all previously set colors (resolves issue #1090). Alex Szpakowski 2019-12-29 21:20:47 -04:00
  • 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. Alex Szpakowski 2019-12-28 22:43:39 -05:00
  • 443250ffd5 Slightly improve performance of Channel:push(table). Alex Szpakowski 2019-12-28 14:06:11 -05:00
  • 361cefbb05 Add new wrap mode "clampone". Pixels sampled outside of [0, 1] are white (1, 1, 1, 1). Alex Szpakowski 2019-12-27 13:57:20 -05:00
  • 76121ec152 Fix the default blend mode. Alex Szpakowski 2019-12-27 13:51:57 -05:00
  • 6c662ade41 Fix disabling blending, Alex Szpakowski 2019-12-27 13:28:15 -05:00
  • b41f1316fa Add love.graphics.setBlendState, which sets the lower level blend operation and factor values which higher level blend modes are based on. Alex Szpakowski 2019-12-27 09:57:42 -05:00
  • efa2bd7837 Consolidate some internal graphics state definitions into a new renderstate file. Alex Szpakowski 2019-12-26 23:07:51 -05:00
  • f3b52f66fe Update the internal naming convention for pixel formats. Alex Szpakowski 2019-12-23 23:38:04 -04:00
  • 157d7637ed Update version to 12.0 Alex Szpakowski 2019-12-23 17:17:51 -04:00
  • 3a61663509 Appveyor: fix 64 bit build Alex Szpakowski 2019-12-23 15:10:00 -04:00
  • aa8907612d Bitbucket webhooks missed the last commit... Alex Szpakowski 2019-12-23 14:51:50 -04:00
  • ed3543b1fd Appveyor builds use VS2019. Alex Szpakowski 2019-12-23 14:36:17 -04:00
  • d4a1247ca3 Potentially fix a compile error. Alex Szpakowski 2019-12-22 23:03:30 -04:00
  • 453063e20f Windows: Use a more modern API for determining the save directory. Alex Szpakowski 2019-12-22 22:41:13 -04:00
  • bc12312f0f macOS: rename most internal uses of "macosx" to "macos". Alex Szpakowski 2019-12-22 17:54:20 -04:00
  • a27781aa6a macOS/iOS: Use more modern APIs for determining the save directory. Alex Szpakowski 2019-12-22 17:42:23 -04:00
  • e898d4571a Merge default into minor Alex Szpakowski 2019-12-20 00:46:32 -04:00