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 |
Alex Szpakowski
|
f83c2db471
Cleaned up the Canvas code.
|
10 years ago |
Alex Szpakowski
|
517ee44e84
Fixed Canvases on iOS, added support for Canvas MSAA on OpenGL ES 3.
|
10 years ago |
Alex Szpakowski
|
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
|
10 years ago |
Alex Szpakowski
|
e137c9327b
Fixed a GL error on startup when OpenGL ES is used.
|
10 years ago |
Alex Szpakowski
|
ac2b03e8a4
Added love.graphics.isActive. love.graphics function calls (and method calls on objects created via love.graphics) are only guaranteed to work when isActive is true, otherwise bad things might happen (the program crashing, for example.)
|
10 years ago |
Alex Szpakowski
|
67aede6bc0
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
f6bd177f84
A debug print statement snuck in there...
|
10 years ago |
Alex Szpakowski
|
9cf1868b81
Fixed the point style and color mask getting reset in love.window.setMode (thanks Shell32)
|
10 years ago |
Alex Szpakowski
|
665cdc4ae7
Moved the default Font logic from the graphics.lua script to the Graphics and Font module C++ code. Moved love.graphics.setNewFont from the graphics.lua script to the Graphics module Lua wrapper code. Moved the Vera.ttf data from the graphics.lua script to its own file inside the Font module.
|
10 years ago |
Alex Szpakowski
|
ad1fbbf3ea
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
cf60cf89fc
De-namespaced a class, to make it less verbose.
|
10 years ago |
Alex Szpakowski
|
222d4cfdc8
Maybe fixed Windows build?
|
10 years ago |
Alex Szpakowski
|
b876255442
Cleaned up some graphics code.
|
10 years ago |
Alex Szpakowski
|
b4bacb38a6
Fixed love.graphics.getShader() to return nil when no shader is set, fixed a potential (harmless) OpenGL error when OpenGL ES is used.
|
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 |