Alex Szpakowski
|
84d5d8b636
Move decoder-agnostic love.image code out of the magpie backend folder.
|
8 years ago |
Alex Szpakowski
|
217552b5ff
love.graphics.newShader can accept File and FileData arguments (resolves issue #1308).
|
8 years ago |
Alex Szpakowski
|
17cf7bba83
Cleaned up love.graphics.newShader's wrapper code a bit.
|
8 years ago |
Alex Szpakowski
|
5ef6730497
Added a variant of love.graphics.captureScreenshot which takes a single filename parameter. Resolves issue #1293.
|
8 years ago |
Alex Szpakowski
|
b3d4443f9d
Added 'drawcallsbatched' field to the table returned by love.graphics.getStats.
|
8 years ago |
Alex Szpakowski
|
c37e9ed6bf
Use vector2 arrays instead of raw float arrays for graphics primitives. Simplifies the code a bit.
|
8 years ago |
Alex Szpakowski
|
34ebe18f14
Use luaL_check/optinteger instead of luaL_check/optnumber when getting integer arguments to functions. Resolves issue #1251.
|
8 years ago |
Alex Szpakowski
|
54a049e206
Restructured internal code for graphics capabilities. Added love.graphics.getTextureTypes which returns a table of Texture Type to boolean supported fields.
|
8 years ago |
Alex Szpakowski
|
45de7cebb6
Cleaned up some graphics code.
|
8 years ago |
Alex Szpakowski
|
9fe81ad922
Allow a temporary/internal depth buffer to be used when a Canvas is active, similar to how temporary stencil buffers are allowed.
|
8 years ago |
Alex Szpakowski
|
ac697ddb0f
Clean up love’s internal Vector code a bit, and rename it to Vector2 so it’s more obvious what it is.
|
8 years ago |
Alex Szpakowski
|
621fb24ba1
Require stencil=true to be specified in setCanvas if stenciling is used while a Canvas is active and there is no custom stencil buffer.
|
8 years ago |
Alex Szpakowski
|
70b32c47ce
Error if a non-2D/affine matrix is used with auto-batched draws, since they perform CPU-side matrix transforms on 2-component vectors.
|
8 years ago |
Alex Szpakowski
|
7161d600b7
Add mipmapping support to Canvases.
|
8 years ago |
Alex Szpakowski
|
a0ef2ac28b
Add Depth compare / shadow sampler support. Officially this is only supported in glsl3 shaders.
|
8 years ago |
Alex Szpakowski
|
0001b4695e
Add new variants of love.graphics.clear for controlling how the depth and stencil buffers are cleared.
|
8 years ago |
Alex Szpakowski
|
43172bd3f6
Add optional ‘readable’ boolean field to the table passed into love.graphics.newCanvas. Added new variant of love.graphics.getCanvasFormats which takes a ‘readable’ boolean.
|
8 years ago |
Alex Szpakowski
|
018a3831cb
Add a new “stencil8” pixel format for Canvases (resolves issue #1003).
|
8 years ago |
Alex Szpakowski
|
08a377ff30
Rename love.graphics.flush to love.graphics.flushBatch.
|
8 years ago |
Bart van Strien
|
b205b8a020
Remove references to old LOVE_ENABLE_module_implementation defines
|
8 years ago |
Alex Szpakowski
|
0fde3fde35
Add new variants of love.graphics.print/printf which accept a Font argument, rather than relying on global love.graphics state to determine the Font to use.
|
8 years ago |
Alex Szpakowski
|
b44e6b2156
love.graphics.newVolumeImage can now automatically convert a 1xN or Nx1 sheet of square images into layers.
|
8 years ago |
Alex Szpakowski
|
66b299822a
Array textures can be easily drawn without a shader (resolves issue #1111).
|
8 years ago |
Alex Szpakowski
|
73fd45558b
Implement Array, Cubemap, and Volume texture types (issue #1111).
|
8 years ago |
Tanner Rogalsky
|
bc6a2db22f
Do not attempt to free pointer to scratch buffer
|
8 years ago |
Alex Szpakowski
|
8558d7894c
Move all remaining love.graphics Lua wrapper code out of the opengl implementation folder.
|
8 years ago |