Alex Szpakowski
|
603c3e43d5
Moved line and shape drawing code out of the opengl folder, since it no longer directly calls any OpenGL functions.
|
8 years ago |
Alex Szpakowski
|
0d2e08baff
Implement automatic batching for points, lines, shapes, and images/quads.
|
8 years ago |
Bart van Strien
|
24a7a3d367
Merge minor into dynamiccore2
|
8 years ago |
Alex Szpakowski
|
f85ee6b504
Add some more graphics feature and limit queries (resolves issue #1234).
|
8 years ago |
Bart van Strien
|
d967a755e5
Make love::Type handle type names
|
8 years ago |
Bart van Strien
|
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
|
8 years ago |
Alex Szpakowski
|
1eed86426b
Merge default into minor
|
9 years ago |
Alex Szpakowski
|
901cc362df
Added 'shaderswitches' to love.graphics.getStats.
|
9 years ago |
Alex Szpakowski
|
cc1b9bc619
Moved most love.math functions out of the Math class, since they're pure functions.
|
9 years ago |
Alex Szpakowski
|
cf4b409302
Renamed some things.
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
b48117544d
Added "lighten" and "darken" blend modes (resolves issue #443).
|
9 years ago |
Alex Szpakowski
|
a42341aa73
Added a new variant of love.graphics.arc: arc(drawmode, arcmode, x, y, radius, angle1, angle2 [, points]).
|
9 years ago |
Alex Szpakowski
|
48345bd58c
Changed the optional 'multiply alpha' boolean argument in love.graphics.setBlendMode to be an enum with constants 'alphamultiply' and 'premultiplied'.
|
9 years ago |
Alex Szpakowski
|
0a059814e7
Revamped love.graphics.stencil and love.graphics.setStencilTest:
|
9 years ago |
Alex Szpakowski
|
4c82c96369
Added a new texture wrap mode "clampzero", which outputs transparent black (or opaque black for textures without an alpha channel) rather than the texture's edge colors, when it's drawn or sampled from outside of its regular texture coordinate range.
|
9 years ago |
Alex Szpakowski
|
a81621df82
Removed the 'multicanvas' GraphicsFeature constant since it's redundant (the love.graphics.getSystemLimits().multicanvas number can be used instead.)
|
9 years ago |
Alex Szpakowski
|
d215d8a91e
Reworked sRGB / gamma-correct APIs:
|
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
|
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
|
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 |
Alex Szpakowski
|
970704c2b7
Added Text objects via love.graphics.newText(font [, textstring]). Reworked the internal code of Font objects to use fewer individual textures and less VRAM per object, and to be compatible with OpenGL ES. Slightly improved the performance of love.graphics.print and love.graphics.printf.
|
10 years ago |
Alex Szpakowski
|
a7e4148869
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
71c71985d3
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
8ffe610659
Added love.graphics.getStats. It returns a table with performance-related graphics statistics. Currently it contains these fields:
|
11 years ago |
Alex Szpakowski
|
2b70d84611
Replaced the old stencil API with love.graphics.drawStencil(stencilfunc), love.graphics.setStencilTest(enable, invert), and love.graphics.getStencilTest.
|
11 years ago |
Alex Szpakowski
|
53e63d48c9
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
afc505e183
Added stack type enums to love.graphics.push (resolves issue #906.) Current enums are "transform" and "all". "transform" is the default (for compatibility.) When love.graphics.push("all") is used, love.graphics.pop() will restore all love.graphics module state to what it was when push was called.
|
11 years ago |
Alex Szpakowski
|
d52bab4221
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
|
11 years ago |