Alex Szpakowski
|
0a3adc0839
Unify pixel format enums for ImageData, CompressedImageData, and Canvas into a single PixelFormat enum.
|
il y a 8 ans |
Alex Szpakowski
|
3e80ec2257
Render pass API. Replaces love.graphics.setCanvas and friends.
|
il y a 8 ans |
Alex Szpakowski
|
b8b670e0ae
Simplify Drawable code
|
il y a 8 ans |
Alex Szpakowski
|
7c4edf2efc
love.graphics object creation functions (love.graphics.new*) now cause an error instead of hard-crashing, if called when the window has not been created yet.
|
il y a 9 ans |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
il y a 9 ans |
Alex Szpakowski
|
5bdd858487
Fixed compiler warnings when new versions of FreeType are used.
|
il y a 9 ans |
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.
|
il y a 9 ans |
Alex Szpakowski
|
d215d8a91e
Reworked sRGB / gamma-correct APIs:
|
il y a 10 ans |
Alex Szpakowski
|
d8fd1413d6
Renamed the internal 'Matrix' class to 'Matrix4'.
|
il y a 10 ans |
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.
|
il y a 10 ans |
Alex Szpakowski
|
3ced9ca38f
Added one- and two-channel Canvas formats: r8, rg8, r16f, rg16f, r32f, and rg32f.
|
il y a 10 ans |
Alex Szpakowski
|
3830a0969c
Moved the Texture and Quad Lua wrapper files out of the opengl graphics implementation folder.
|
il y a 10 ans |
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.)
|
il y a 10 ans |
Alex Szpakowski
|
f83c2db471
Cleaned up the Canvas code.
|
il y a 10 ans |
Alex Szpakowski
|
e8ce59038f
Renamed Canvas:getImageData to Canvas:newImageData (see issue #1001.)
|
il y a 10 ans |
Alex Szpakowski
|
8239d472d4
Removed Canvas:getPixel and added optional x/y/width/height arguments to Canvas:getImageData to specify a sub-rectangle (see issue #1001.)
|
il y a 10 ans |
Alex Szpakowski
|
1aaa8737ab
Merged default into minor
|
il y a 10 ans |
Alex Szpakowski
|
59e1cf23e8
Probably fixed the Windows build
|
il y a 10 ans |
Alex Szpakowski
|
622b737019
Merged default into minor
|
il y a 10 ans |
Alex Szpakowski
|
813061c0e0
Fix the stencil buffer in Canvases when the graphics driver uses a MSAA value for the Canvas' buffers that's greater than the number of requested MSAA samples.
|
il y a 10 ans |
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.
|
il y a 10 ans |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
il y a 10 ans |
Alex Szpakowski
|
8ffe610659
Added love.graphics.getStats. It returns a table with performance-related graphics statistics. Currently it contains these fields:
|
il y a 11 ans |
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.
|
il y a 11 ans |
Alex Szpakowski
|
23d3cbc2e2
Renamed all cases of FSAA to the more accurately-named MSAA. The FSAA names (canvas:getFSAA, t.window.fsaa, etc.) still exist for now, for backwards-compatibility.
|
il y a 11 ans |
Alex Szpakowski
|
5658a2440b
Added some comments describing the formats in the Canvas::Format enum.
|
il y a 11 ans |
Alex Szpakowski
|
4aeba24e94
Fixed the rg11b10f canvas format, removed rgb9e5 due to lack of real support, improved love.graphics.hasCanvasFormat to do extra checks
|
il y a 11 ans |
Alex Szpakowski
|
408a593113
Added support for several specific Canvas formats. Also added love.graphics.hasCanvasFormat.
|
il y a 11 ans |
Alex Szpakowski
|
ce4fdf4ac9
Added sRGB (gamma-correct) support for Images, Canvases, and the main screen.
|
il y a 11 ans |
Alex Szpakowski
|
40242689b1
Fixed rendering to multiple canvases, removed some redundant OpenGL calls when switching between canvases
|
il y a 11 ans |