Alex Szpakowski
|
4cd725cee6
Added love.window.close (resolves issue #1059), and renamed love.window.isCreated to love.window.isOpen.
|
10 years ago |
Alex Szpakowski
|
e27400de30
The add and subtract blend modes no longer modify the destination framebuffer's alpha.
|
10 years ago |
Alex Szpakowski
|
d8fd1413d6
Renamed the internal 'Matrix' class to 'Matrix4'.
|
10 years ago |
Alex Szpakowski
|
88c8e0c071
Added an optional (true by default) boolean argument to love.graphics.setBlendMode to specify whether alpha should be multiplied with rgb when blending.
|
10 years ago |
Alex Szpakowski
|
ed3f419747
Prevent redundant calls to glEnable/DisableVertexAttribArray. This should hopefully fix a performance regression compared to 0.9.2 as well.
|
10 years ago |
Alex Szpakowski
|
c82ccbb89b
love.graphics.setColor no longer uses the main per-vertex color attribute. This lets it affect the color of ParticleSystems, and SpriteBatches and Meshes even when they use custom per-vertex colors.
|
10 years ago |
Alex Szpakowski
|
2dc8a8ea45
Cleaned up some index buffer code.
|
10 years ago |
Alex Szpakowski
|
0f986b10aa
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
|
10 years ago |
muddmaker
|
0119e47f87
Make roudned rectangle a variant of rectangle
|
10 years ago |
muddmaker
|
cb3ae86726
Add rx and ry parameters to roudnedRectangle
|
10 years ago |
muddmaker
|
439cc65382
Fix typo
|
10 years ago |
muddmaker
|
fbc419fda6
Add eclipse and roundedRectangle to love.graphics
|
10 years ago |
Alex Szpakowski
|
33e1d2736d
Removed restrictions preventing sRGB and non-sRGB canvases from being used together when doing multi-canvas rendering.
|
10 years ago |
Alex Szpakowski
|
d8a68d6ce1
Updated iOS-specific graphics code to use the latest SDL changes.
|
10 years ago |
Alex Szpakowski
|
2844499ef7
Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
|
10 years ago |
Alex Szpakowski
|
cf0968fc6d
Avoid some VC++ compiler warnings
|
10 years ago |
Dermoumi Sid
|
6a07823224
Fixed shearing resetting transformations
|
10 years ago |
Alex Szpakowski
|
a29b349014
Added love.math.compress(data, format [, level]) and love.math.decompress(compresseddata) / love.math.decompress(compressedstring, format).
|
10 years ago |
Alex Szpakowski
|
e237ed2432
love.graphics.discard now accepts a table of booleans indicating which of the active canvases to discard (matches love.graphics.clear.)
|
10 years ago |
Alex Szpakowski
|
d31168c0e0
Cleaned up some graphics code.
|
10 years ago |
Alex Szpakowski
|
06ef263537
Added OpenGL debug groups for most graphics operations when love is built in debug mode for iOS. The Xcode frame capture tool uses them to create nice visual groups for OpenGL function calls.
|
10 years ago |
Alex Szpakowski
|
468127eed4
Added a variant of love.graphics.clear which accepts a color table argument for each active canvas, allowing it to clear active canvases to different colors without having to call love.graphics.setCanvas.
|
10 years ago |
Alex Szpakowski
|
b1f4beac56
Fixed the internal color mask state not being updated when love.graphics.setColorMask is called.
|
10 years ago |
Alex Szpakowski
|
4ef0d257e9
Added an optional font hinting argument to love.graphics.newFont / love.font.newRasterizer when loading TrueType fonts. Resolves issue #963.
|
10 years ago |
Alex Szpakowski
|
275a9a300f
Multi-canvas rendering (love.graphics.setCanvas with multiple canvases) now allows canvases with different formats, if the system supports it. Added 'multicanvasformats' to the table returned by love.graphics.getSupported.
|
10 years ago |
Alex Szpakowski
|
3fea174008
Cleaned up some shader code.
|
10 years ago |
Alex Szpakowski
|
9a2bf4b210
Fixed the check for OpenGL extensions that support glInvalidateFramebuffer to check for GL_ARB_invalidate_subdata instead of GL_ARB_ES3_compatibility.
|
10 years ago |
Alex Szpakowski
|
b52b9c7a2b
Added love.graphics.discard, which discards the contents of the screen (or currently active Canvas.)
|
10 years ago |
Alex Szpakowski
|
1326ae9a5d
Added love.graphics.clearStencil, which only clears the stencil buffer.
|
10 years ago |
Alex Szpakowski
|
3efcf3901b
Removed Canvas:clear. love.graphics.clear now accepts r,g,b,a values (and defaults to 0,0,0,0 with no arguments given.) love.graphics.clear clears the content of the currently active Canvas(es.)
|
10 years ago |