Alex Szpakowski
|
024d9443a0
|
Merge branch '12.0' into Texture
|
2020-02-15 13:53:15 -04:00 |
|
Alex Szpakowski
|
a0a933a1b9
|
Merge branch 'master' into 12.0
|
2020-02-15 13:51:12 -04:00 |
|
Alex Szpakowski
|
15f0e4109b
|
Fix a typo in a comment
|
2020-02-15 13:50:47 -04:00 |
|
Alex Szpakowski
|
185498ba6d
|
Fix depth sample mode validation checking the wrong state.
|
2020-02-15 13:49:04 -04:00 |
|
Alex Szpakowski
|
4ec9cafdea
|
Better error checking in the GL texture backend
|
2020-02-12 22:57:13 -04:00 |
|
Alex Szpakowski
|
d24b9e9e6f
|
Rename love.graphics.newCanvas to newRenderTarget
|
2020-02-11 19:32:00 -04:00 |
|
Alex Szpakowski
|
aa636381d0
|
Fix MSAA texture creation logic
|
2020-02-09 12:46:52 -04:00 |
|
Alex Szpakowski
|
694bc9c5b7
|
rename love_Canvases to love_RenderTargets in shaders.
More misc. renaming
|
2020-02-09 12:11:19 -04:00 |
|
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
|
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
|
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
|
2572f0c7a1
|
Meshes expose GraphicsBuffers, part 2
|
2020-02-01 15:39:59 -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
|
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
|
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
|
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
|
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
|
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
|
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
|
bc12312f0f
|
macOS: rename most internal uses of "macosx" to "macos".
--HG--
branch : minor
|
2019-12-22 17:54:20 -04:00 |
|
Alex Szpakowski
|
e898d4571a
|
Merge default into minor
--HG--
branch : minor
|
2019-12-20 00:46:32 -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
|
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
|
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
|
1e0a7cad67
|
Fix instanced vertex attributes.
|
2019-10-04 19:28:55 -03:00 |
|
Alex Szpakowski
|
157282ec7e
|
Fix a typo causing mesh attribute instancing to behave weirdly.
|
2019-09-28 00:31:44 -03:00 |
|