Commit History

Author SHA1 Message Date
  Alex Szpakowski 36e99b4880 Fix an OpenGL error when an sRGB image is created with mipmaps in OpenGL ES 2. 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 dfdd52e499 Added support for ETC1 and PVR1 compressed textures contained in KTX, PKM, and PVR files. 10 years ago
  Alex Szpakowski 1124612c1f Some work towards OpenGL ES 2+ support for love 0.10. 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 c4a1457603 Fixed Image:setMipmapFilter keeping bad state around if it errors. 10 years ago
  Alex Szpakowski 8dba668ce9 Merged default into minor 10 years ago
  Alex Szpakowski 22bbe74ed9 Allow BC6 and BC7 compressed DDS files to be loaded into Images. 10 years ago
  Alex Szpakowski 5eb37d30f7 Cleaned up and simplified some graphics code. 10 years ago
  Alex Szpakowski a9630811d8 Fixed a logic error making compressed textures with no mipmaps trigger a Lua error when they're loaded into an Image. 11 years ago
  Alex Szpakowski d1bdc9a7e2 Images and Canvases are now drawn using GL_TRIANGLE_FAN instead of GL_QUADS, for future compatibility with GLES and core GL3+. 11 years ago
  Alex Szpakowski 8a7481eaa3 Added optional xoffset/yoffset/width/height arguments to Image:refresh, to specify a sub-rectangle. Specifying a small sub-rectangle can improve the performance of Image:refresh. 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 766939bdd5 Removed mipmapping restriction on non-power-of-two Images. 11 years ago
  Alex Szpakowski 1978fa9910 Cleaned up a bit of unused code. 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 5f6ee50541 Replaced the GLee OpenGL function loader with a modified version of GLAD (resolves issue #728.) 11 years ago
  Alex Szpakowski 53e63d48c9 Merged default into minor 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 8483ea31a1 Changed love.graphics.newImage's optional second argument to be a table of flags. Current flags are 'mipmaps' and 'srgb'. 11 years ago
  Alex Szpakowski bfa3ec9369 Merged default into minor 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 53b20b63a5 Merged default into minor 11 years ago
  Alex Szpakowski 408a593113 Added support for several specific Canvas formats. Also added love.graphics.hasCanvasFormat. 11 years ago
  Alex Szpakowski caa61563cc OpenGL 2.1 is now required to use love.graphics (resolves issue #779.) 11 years ago
  Alex Szpakowski ce4fdf4ac9 Added sRGB (gamma-correct) support for Images, Canvases, and the main screen. 11 years ago