Alex Szpakowski
|
ad1fbbf3ea
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
b876255442
Cleaned up some graphics code.
|
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
|
5df56d041a
Added GLSL ES 1.00 (OpenGL ES 2) shader support.
|
10 years ago |
Alex Szpakowski
|
8067d42df2
Canvases now have OpenGL ES support, updated Texture:setWrap to return false for repeat wrap modes in non-power-of-two textures if OpenGL ES 2 is used and the implementation doesn't have support for repeat on NPOT textures.
|
10 years ago |
Alex Szpakowski
|
18ab3973e8
Added support for ETC2/EAC compressed textures. Changed the CompressedFormat enum names to capitalize the format names (e.g. "PVR1rgba4" instead of "pvr1rgba4".) Improved sRGB support for compressed textures.
|
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
|
8edb90a719
Added support for loading BMFont bitmap font files with love.graphics.newFont (see issue #190.) Some esoteric BMFont features are not supported.
|
11 years ago |
Alex Szpakowski
|
34688e929e
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
b70f72acb3
Fixed a couple potential memory leaks if love.graphics.newShader causes an error, and cleaned up some shader-related code.
|
11 years ago |
Alex Szpakowski
|
aba33bf2e7
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
3d7a3c2c3c
Improved the error message when a misspelled filename is given to love.graphics.newShader (resolves issue #928.)
|
11 years ago |
Alex Szpakowski
|
3a51f0ad08
Changed the love.graphics internal code to always use a default shader when none is set externally, and replaced the deprecated OpenGL vertex attribute code with the equivalent generic vertex attribute functions.
|
11 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
|
19bbf6d3ff
Merged bartbes/love-experiments/stencil-functions into minor
|
11 years ago |
Alex Szpakowski
|
9b1f7d7a6e
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
d5ccdc040a
Cleaned up some Proxy-related code.
|
11 years ago |
Alex Szpakowski
|
da7cd267ea
Changed luax_pushtype to retain the pushed object itself, but only if the object isn't in the Lua state already.
|
11 years ago |
Alex Szpakowski
|
0749272632
Renamed love.graphics.drawStencil to love.graphics.stencil.
|
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
|
aa05664d4c
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
014b9a46e5
Updated the Lua wrapper code for modules to account for cases where the module's instance is removed from memory completely and recreated during the program's lifetime.
|
11 years ago |
Alex Szpakowski
|
75cf164507
Error when the second argument to love.graphics.newImage isn't a table.
|
11 years ago |
Alex Szpakowski
|
a1d67f0788
Replaced love.graphics.isSupported and love.graphics.getSystemLimit with love.graphics.getSupported and love.graphics.getSystemLimits, which return tables with graphics feature / system limit enum names as keys, and support status / limit numbers as values.
|
11 years ago |
Alex Szpakowski
|
e3f9c0dca4
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
d11ccd0e69
Added love.graphics.getCanvasFormats and love.graphics.getCompressedImageFormats, and removed love.graphics.hasCanvasFormat.
|
11 years ago |