Commit Graph

3802 Commits

Author SHA1 Message Date
Alex Szpakowski 453322678c Rename internal uses of canvas to texture/render target 2020-02-08 20:40:10 -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 17f77407bb Replace internal C++ newImage and newCanvas methods with newTexture 2020-02-05 20:39:55 -04:00
Alex Szpakowski 813b1e0e69 Remove debug print 2020-02-05 18:03:34 -04:00
Alex Szpakowski ca84b6db48 More robust error handling for AMD Pinned Memory buffers (issue #1540)
Also print out any errors that are produced from that (for now).
2020-02-05 07:49:38 -04:00
Alex Szpakowski 0017f9c77d Remove a redundant internal Texture method 2020-02-04 22:15:18 -04:00
Alex Szpakowski 258129738f Remove graphics::Canvas and graphics::Image 2020-02-04 22:06:55 -04:00
Alex Szpakowski b71eaf73cc Replaced some references to Image and Canvas with Texture. 2020-02-04 20:52:57 -04:00
Alex Szpakowski c3b77e0a92 Remove wrap_Canvas and wrap_Image files 2020-02-04 20:09:46 -04:00
Alex Szpakowski 61a5f0c7e2 Move Canvas:renderTo to Texture:renderTo. 2020-02-04 20:05:31 -04:00
Alex Szpakowski 0304bdf450 Move getMipmapMode from Canvas to Texture 2020-02-04 19:56:19 -04:00
Alex Szpakowski 4104c136cf Move Canvas:newImageData to Texture:newImageData 2020-02-04 19:19:37 -04:00
Alex Szpakowski 4716211c14 Move replacePixels from Image to Texture 2020-02-04 19:05:43 -04:00
Alex Szpakowski 63c5df6aa7 Begin unification of Canvases and Images. 2020-02-03 23:05:46 -04:00
Alex Szpakowski fc0d60a96d Move Canvas:getMSAA to Texture:getMSAA. 2020-02-03 19:26:11 -04:00
Alex Szpakowski 323f86f31e Fix link error. Move a couple Lua wrappers from Image to Texture. 2020-02-03 19:15:24 -04:00
Alex Szpakowski b46b3ed552 Move some Canvas code to Texture, devirtualize Texture::draw. 2020-02-03 19:02:58 -04:00
Alex Szpakowski f9248d478c Refactor sampler state parameters for textures. 2020-02-02 22:26:28 -04:00
Alex Szpakowski f24b1aa377 Move internal Slices class from Image to Texture 2020-02-02 13:50:37 -04:00
Alex Szpakowski e0ffdfc1ba Move some OpenGL-specific Image code into the GL backend 2020-02-02 01:21:27 -04:00
Alex Szpakowski 6c447ab4f6 Clean up some common Image and Canvas code. 2020-02-01 23:54:51 -04:00
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