Alex Szpakowski
|
22bbe74ed9
Allow BC6 and BC7 compressed DDS files to be loaded into Images.
|
10 years ago |
Alex Szpakowski
|
1978fa9910
Cleaned up a bit of unused code.
|
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
|
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
|
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
|
f973c696f9
Fixed Image:refresh regenerating mipmaps multiple times if mipmap filtering is enabled on an uncompressed image
|
11 years ago |
Alex Szpakowski
|
408a593113
Added support for several specific Canvas formats. Also added love.graphics.hasCanvasFormat.
|
11 years ago |
Alex Szpakowski
|
ce4fdf4ac9
Added sRGB (gamma-correct) support for Images, Canvases, and the main screen.
|
11 years ago |
Alex Szpakowski
|
7556fde5e6
Added antialiasing (MSAA) support to Canvases via a new optional parameter. Added Canvas:getFSAA.
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
|
11 years ago |
Alex Szpakowski
|
c0b28f9d07
Only apply an AMD-specific hack when generating mipmaps on AMD GPUs
|
11 years ago |
Alex Szpakowski
|
43b3629e01
Improved performance of Image:refresh
|
12 years ago |
Alex Szpakowski
|
2710c6c488
Renamed Source:s/getDistance to Source:s/getAttenuationDistances (resolves issue #632).
|
12 years ago |
Alex Szpakowski
|
4fa7347e26
Reduced code duplication in love.graphics.newImage
|
12 years ago |
Alex Szpakowski
|
fb34f5bc9e
Auto-padded NPOT images' texture coordinates are now scaled at draw time via the texture matrix (fixes auto-padded images with Meshes.) Also fixed love.graphics.newQuad.
|
12 years ago |
Alex Szpakowski
|
1e696c4505
Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
|
12 years ago |
Alex Szpakowski
|
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
|
12 years ago |
Alex Szpakowski
|
96a668ecf3
Renamed CompressedData:getType to CompressedData:getFormat
|
12 years ago |
Alex Szpakowski
|
c230098642
Fixed Geometry:getVertexMap to return 1-based vertex indices and made it return the default vertex map instead of nil if no map is set.
|
12 years ago |
Alex Szpakowski
|
d815374a9b
Renamed the 'ModelViewMatrix' and 'ModelViewProjectionMatrix' built-in shader variables to 'TransformMatrix' and 'TransformProjectionMatrix', respectively.
|
12 years ago |
Alex Szpakowski
|
14ae39eec9
Images which are too large for the system they're loaded on use a checkerboard pattern instead of erroring
|
12 years ago |
Alex Szpakowski
|
2128ba321e
Fixed Geometry texture coordinates when using Geometry to draw auto-padded NPOT images (resolves issue #696)
|
12 years ago |
Alex Szpakowski
|
e19ade38ab
Added support for BC4 (aka 3Dc+) compressed textures
|
12 years ago |
Alex Szpakowski
|
454ba9d968
love.graphics.newGeometry now takes an optional draw mode argument ("fan", "strip", or "triangles".) "fan" is the default.
|
12 years ago |
Alex Szpakowski
|
9155b7b0ee
Removed dead code for the now-removed Thread:kill
|
12 years ago |
Alex Szpakowski
|
6e3a7288dd
Improved performance of ImageData:mapPixel (now up to 2x as fast as in 0.8.0!); love.graphics.newImage, Image:refresh, love.window.setIcon, and ImageRasterizers now prevent other threads from modifying the ImageData used in those functions until they're done accessing it
|
12 years ago |
Alex Szpakowski
|
cd97e9ec05
Added Image:getData, returns the original ImageData (or CompressedData) used to create the image
|
12 years ago |
Alex Szpakowski
|
d286f78ec7
Improved error messages when canvas/image creation fails because the size is too big for the system
|
12 years ago |
Alex Szpakowski
|
0a36c41ba0
Removed support for BC7-compressed DDS images (only *very* modern systems support it right now); updated the ddsparse library
|
12 years ago |