Alex Szpakowski
|
b1c028a4d3
Merge branch '12.0' into GraphicsBuffer
|
5 years ago |
Alex Szpakowski
|
aa636381d0
Fix MSAA texture creation logic
|
5 years ago |
Alex Szpakowski
|
694bc9c5b7
rename love_Canvases to love_RenderTargets in shaders.
|
5 years ago |
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
|
2572f0c7a1
Meshes expose GraphicsBuffers, part 2
|
5 years ago |
Alex Szpakowski
|
1bc2b947fc
Rename Attributes struct to VertexAttributes
|
5 years ago |
Alex Szpakowski
|
ee5304ba53
Remove vertex namespace
|
5 years ago |
Alex Szpakowski
|
b0232a4a6b
Initial work on unified graphics buffers representing different types of data.
|
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 |