Alex Szpakowski
|
453322678c
Rename internal uses of canvas to texture/render target
|
5 years ago |
Alex Szpakowski
|
12c90b3dca
Merge Image and Canvas GL backend classes into new common Texture class.
|
5 years ago |
Alex Szpakowski
|
17f77407bb
Replace internal C++ newImage and newCanvas methods with newTexture
|
5 years ago |
Alex Szpakowski
|
258129738f
Remove graphics::Canvas and graphics::Image
|
5 years ago |
Alex Szpakowski
|
b71eaf73cc
Replaced some references to Image and Canvas with Texture.
|
5 years ago |
Alex Szpakowski
|
63c5df6aa7
Begin unification of Canvases and Images.
|
5 years ago |
Alex Szpakowski
|
b46b3ed552
Move some Canvas code to Texture, devirtualize Texture::draw.
|
5 years ago |
Alex Szpakowski
|
f9248d478c
Refactor sampler state parameters for textures.
|
5 years ago |
Alex Szpakowski
|
f24b1aa377
Move internal Slices class from Image to Texture
|
5 years ago |
Alex Szpakowski
|
6c447ab4f6
Clean up some common Image and Canvas code.
|
5 years ago |
Alex Szpakowski
|
5f9b5a21d0
Merge default into minor
|
5 years ago |
Alex Szpakowski
|
fc4847c69d
Update copyright for the new year
|
5 years ago |
Alex Szpakowski
|
361cefbb05
Add new wrap mode "clampone". Pixels sampled outside of [0, 1] are white (1, 1, 1, 1).
|
5 years ago |
Alex Szpakowski
|
6c662ade41
Fix disabling blending,
|
5 years ago |
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.
|
5 years ago |
Alex Szpakowski
|
efa2bd7837
Consolidate some internal graphics state definitions into a new renderstate file.
|
5 years ago |
Alex Szpakowski
|
f3b52f66fe
Update the internal naming convention for pixel formats.
|
5 years ago |
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.
|
5 years ago |
Alex Szpakowski
|
37c579929b
Add support for GLSL 4.30 and GLSL ES 3.10, via #pragma language glsl4.
|
5 years ago |
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!)
|
5 years ago |
Alex Szpakowski
|
55d4dc0f9e
Restructure some internal vertex buffer binding code to be closer to how graphics APIs actually behave.
|
6 years ago |
Alex Szpakowski
|
09cd3b68c9
Explicitly disable color FBO attachments where possible for depth/stencil canvases. Potentially fixes issue #1470
|
6 years ago |
Alex Szpakowski
|
74dcc41b38
Cleaned up love.graphics Image code for determining whether the image's pixel format is supported.
|
6 years ago |
Alex Szpakowski
|
0752f27bdf
Update copyright year for 2019
|
6 years ago |
Alex Szpakowski
|
364718fa46
Android: potentially work around a Qualcomm Adreno driver bug which prevented videos from being loaded into vram.
|
6 years ago |
Alex Szpakowski
|
93372b87a8
Fix love.graphics.clear(colortable) when no Canvas is active.
|
7 years ago |
Alex Szpakowski
|
cfa30167ca
Fix hash map collisions when setting canvases.
|
7 years ago |
Alex Szpakowski
|
39201af79f
Improve the error message when an invalid layer or face index is given in love.graphics.setMode.
|
7 years ago |
Bart van Strien
|
e80247c191
Happy new year! ✨
|
7 years ago |
Alex Szpakowski
|
dd59803ad3
Error when invalid setting names are used in the tables passed to love.graphics.newCanvas and newImage. See issue #1312.
|
7 years ago |