minor

View source
minor
  • Commit status
  • Contributors
    1. Loading...
Author Commit Message Date Builds
Alex Szpakowski
Add love.data module. - Moved love.math.compress / decompress / decode / encode / hash to love.data. - Changed love.data.compress/decompress to take the format argument first instead of second. - Added love.data.newDataView. Returns a read-only subsection of an existing Data object. - Added love.data.newByteData. Mostly useful in combination with LuaJIT's FFI as it has no extra methods currently. - Added implementation…
Alex Szpakowski
Improve the error message when bad values are given to love.graphics.line. Resolves issue #1345.
Alex Szpakowski
Rename all cases of 'pixel density' to 'DPI scale' in love's APIs.
Alex Szpakowski
Fix a crash on quit if a non-default shader is active when quitting.
Alex Szpakowski
Shader:send now optionally accepts a Data object (with optional byte offset and size parameters). Resolves issue #1343. Also changed the optional 'columnMajor' argument of the matrix variant of Shader:send and Transform:setMatrix to accept enum constants instead. Valid values are "row" and "column".
Bart van Strien
Replace love.graphics.pop("all") with love.graphics.getStackDepth (resolves #1248 again) The pop("all") api was a bit awkward, especially considering there's a push("all") that does something else. I think any use case that benefited from pop("all") benefits from getStackDepth just as much if not more. There is also additional functionality, like being able to find the source of a mismatched push/pop.
Alex Szpakowski
Fix Fixture:getShape. Resolves issue #1319.
Alex Szpakowski
love get* APIs which return tables with fields can optionally accept a table argument to fill in, instead of creating a new table.
Bart van Strien
Add love.graphics.pop("all"), which pops the entire stack (resolves #1248)
Alex Szpakowski
Improve the error message when a type other than a table is given as the 3rd arg to newCanvas.
Bart van Strien
Rename love.physics getObjectList functions to getObjects (resolves #1305) World:getBodyList -> World:getBodies World:getContactList -> World:getContacts World:getJointList -> World:getJoints Body:getFixtureList -> Body:getFixtures Body:getContactList -> Body:getContacts Body:getJointList -> Body:getJoints Marked the old functions as deprecated
Bart van Strien
Fix return type of ParticleSystem:getAreaSpreadIsRelativeDirection, remove optional parameters from ParticleSystem:setAreaSpread (resolves #1340) I opted to remove the optional parameters altogether since they seemed oddly out-of-place. They used to reset the values to defaults when not supplied, and they also weren't returned by getAreaSpread(), so setAreaSpread(getAreaSpread()) actually changed spread parameters. The other option was to remove the separate getters/setters for AreaSpreadIsRelativeDirection and AreaSpreadAngle, and fully r…
Bart van Strien
Add optional timeout values to Channel:supply and Channel:demand (resolves #1344)
Bart van Strien
Error if ParticleSystem's particle lifetime is set to a negative value (resolves #1339)
Alex Szpakowski
PHYSFS_enumerateFiles bug has been fixed post-2.1.0.
Alex Szpakowski
SpriteBatches/Text objects/ParticleSystems: use glBufferData+glBufferSubData instead of glBufferData+glBufferData for orphaning streaming vertex data, on most platforms. Apparently some Android drivers have a problem with the latter.
Alex Szpakowski
Update appveyor to build both 32 bit and 64 bit versions of love for Windows.
Alex Szpakowski
Use PhysFS_getErrorByCode instead of PhysFS_getLastError, when available.
Alex Szpakowski
Update love.filesystem backend to always use PhysFS 2.1+ codepaths when available.
Alex Szpakowski
Remove obsolete code and hopefully fix VS2013 build
Alex Szpakowski
Enable (when available) and improve performance of persistently mapped buffer path for the vertex/index buffers used with automatic batching.
Alex Szpakowski
Fix a Font texture memory leak when love.window.setMode is called (resolves issue #1338).
Alex Szpakowski
Fix deprecation UI opacity when fading out.
Alex Szpakowski
Simplified some compressed image parsing code.
Bart van Strien
Fix cycle detection It used to detect duplicates, not just cycles.
Bart van Strien
Update changelog
Bart van Strien
Added cycle detection to Variant We accidentally enabled nested tables previously, and now it errors properly when the tables contain cycles. Before you'd get (or at least I got) a nice lua stack overflow error.
Alex Szpakowski
Fix the deprecation list UI to respect love.setDeprecationOutput.
Muh Muhten
Use proper type checking for coordinate arguments in love.graphics.points/line/polygon. Resolves issue #1325.
Alex Szpakowski
Hopefully fix the build
Alex Szpakowski
Add love.filesystem.getInfo. Deprecate love.filesystem.exists/isDirectory/isFile/isSymlink/getLastModified/getSize. Resolves issue #641.
Alex Szpakowski
Use different output messages for deprecated methods versus functions.
Alex Szpakowski
Rename love.audio.getSourceCount to getActiveSourceCount and deprecate the old function (resolves issue #1302).
Alex Szpakowski
Rename PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled and deprecate the old methods (resolves issue #1324).
Alex Szpakowski
Rename Source/SoundData/Decoder:getChannels to getChannelCount (resolves issue #1307). Deprecate the old methods rather than completely removing them.
Alex Szpakowski
Fix build
Alex Szpakowski
Add the ability to have formally deprecated functions. Functions which are deprecated will print out a message and show up in a small dialog on-screen, when they're first called. Deprecation output is disabled in fused mode by default, and can be modified with love.setDeprecationOutput(enable).
Alex Szpakowski
Remove an unused variable.
Alex Szpakowski
Rename some internal functionality to better match what it actually is.
Alex Szpakowski
Fast gamma correction functions in shaders are now more accurate. Always use the fast versions by default.
Alex Szpakowski
Workaround for off-by-one line numbers in shader validation errors.
Alex Szpakowski
The default error handler sanitizes error messages to remove non UTF-8 bytes before displaying it. Resolves issue #1330.
Alex Szpakowski
Functions that take a boolean argument now properly type-check for it.
Alex Szpakowski
Remove the undocumented formatted variant of Text:set (Text:setf still exists). Resolves issue #1329.
Alex Szpakowski
Error for invalid constants passed to love.keyboard.isDown/isScancodeDown. Resolves issue #1313.
Alex Szpakowski
Fix FLAC decoder code to compile if someone uncomments it. Resolves issue #1322.
Alex Szpakowski
Add traceback information to the error string generated if a thread causes a Lua error.
Alex Szpakowski
Fix love.graphics.newImage(ImageData). Thanks Santos!
Alex Szpakowski
Add a default love.threaderror callback which just calls error().
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Alex Szpakowski
Add an option to the Windows installer which puts the love directory in the system path variable (issue #878).
Alex Szpakowski
love.filesystem.isFile and isDirectory behave consistently between PhysFS 2.0 and 2.1/3.0 (see issue #641).
Alex Szpakowski
love.image.newImageData(w, h, format, rawbytes) can accept a Data object.
Alex Szpakowski
Images/[Compressed]ImageData can be created using any Data, instead of just files or FileData.
Alex Szpakowski
Rename love.errhand to love.errorhandler (see issue #573). love.errhand will still be called if love.errorhandler doesn't exist, and love defines love.errhand by default rather than love.errorhandler, to prevent hard-to-diagnose problems with existing code that defines love.errhand.
Alex Szpakowski
Rename love.mouse.hasCursor to isCursorSupported (resolves issue #1309).
Alex Szpakowski
boot.lua cleanup and fixes
Kyle McLamb
Cleanup * love.load now takes two arguments. signature: love.load(args, raw_args) * Rename love.arg functions * Use love.arg.getLow instead of reimplementing it like a goof
Kyle McLamb
merge
Kyle McLamb
Update comment
Kyle McLamb
Remove parsed options from the love.load arglist
Alex Szpakowski
Move Color.h from modules/graphics/ to common/
Alex Szpakowski
Fix CMakeLists.txt
Alex Szpakowski
Move decoder-agnostic love.image code out of the magpie backend folder.
Alex Szpakowski
love.graphics.newShader can accept File and FileData arguments (resolves issue #1308).
Alex Szpakowski
Rename love.audio.setMixMode to setMixWithSystem. Fix some copyright notice typos.
Alex Szpakowski
Cleaned up love.graphics.newShader's wrapper code a bit.
Alex Szpakowski
Set non-zero default sampling parameters for RecordingDevices. This allows RecordingDevice:start() with no arguments to work if it's being started for the first time.
Alex Szpakowski
Added a variant of love.graphics.captureScreenshot which takes a single filename parameter. Resolves issue #1293.
Alex Szpakowski
Fix RecordingDevice:start().
Alex Szpakowski
Re-added the no-argument variant of RecordingDevice:start(). It uses the samples / sample rate / bit depth / channel count previously set for the RecordingDevice, and errors if it hasn't been set before.
Alex Szpakowski
Check a couple more vendor strings to determine if an AMD driver is being used.
Alex Szpakowski
Update naming convention for builtin shader matrices. - ClipSpaceFromLocal replaces TransformProjectionMatrix - ViewSpaceFromLocal replaces TransformMatrix - ClipSpaceFromView replaces ProjectionMatrix - ViewNormalFromLocal replaces NormalMatrix
Alex Szpakowski
Rename love.audio.getEffectsList and Source:getEffectsList to getActiveEffects. They now return an empty table instead of nil when there are no active effects, as well.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
RecordingDevice:start has default arguments (resolves issue #1296).
Bart van Strien
Fix replacement when using love.joystick.setGamepadMapping (issue #1298) The broken find code would previously cause the (duplicate) key to be appended to the end, now it successfully replaces the previous value
Alex Szpakowski
require now looks for both .dylib and .so extensions for C dynamic libraries in macOS, instead of just .so. It also now replaces all occurrences of '??' and '?' in the path with the module filename and module name respectively, rather than just the first occurrence.
Bart van Strien
Fix broken audio when attempting to stop or pause multiple sources, when not all of them were playing
Bart van Strien
Add vararg versions of love.audio.play/pause/stop (fixes #1295) The table versions existed already, I guess I forgot about varargs
Alex Szpakowski
Fix love.graphics.circle (thanks xenthral!)
Alex Szpakowski
love.timer.step now returns the calculated dt directly.
Alex Szpakowski
Seed love.math.random when the math module is loaded, instead of in love.run.
Alex Szpakowski
Update stb_image from 2.12 to 2.16.
Alex Szpakowski
Added 'drawcallsbatched' field to the table returned by love.graphics.getStats. It has the number of draw calls that were saved by auto-batching.
Alex Szpakowski
Use vector2 arrays instead of raw float arrays for graphics primitives. Simplifies the code a bit.
Alex Szpakowski
Update license.txt and relicense my .dds file parser code
Alex Szpakowski
love.graphics: move more platform-independent code out of the opengl backend
Alex Szpakowski
Reorganized the ImageData decoding/encoding implementation slightly.
Alex Szpakowski
Small code style cleanup
Alex Szpakowski
Use luaL_check/optinteger instead of luaL_check/optnumber when getting integer arguments to functions. Resolves issue #1251.
Alex Szpakowski
Updated the changelog
Alex Szpakowski
Consolidated Image and Canvas dimension validation code.
Alex Szpakowski
Attempt to fix VS2013 compilation error; fix a couple logic errors in the audio Source implementation.
Alex Szpakowski
Merged in rcoaxil/love-audio/minor (pull request #91) Effects re-made to operate on literal names instead of numerical indices.
raidho36
That should be all.
raidho36
C++11 VLA usage removed, prettifyed naming.
raidho36
Effects re-made to operate on literal names instead of numerical indices. Added buffer count parameter to queueable source constructor. Added getEffectsList function. Internal cleanup.
Alex Szpakowski
Fix Texture:get/setWrap for 3D textures.
Alex Szpakowski
Hopefully work around Array Texture intel GMA driver bug on windows (resolves issue #1265).
Alex Szpakowski
ESSL: always enable standard derivative functionality (dFdx, dFdy, fwidth) when available. Added 'shaderderivatives' graphics feature enum.
Bart van Strien
Disable signal handling in threads (see issue #1042) I don't necessarily like having to do these extra calls whenever threads are spawned (and what happens to signals during the time signal delivery is disabled?) but it seems to fully fix os.execute. NOTE: Also disables signals when loading openal, as it or one of its backends spawns threads internally, and does not disable signals itself.
Bart van Strien
Fix makefile misgeneration when CDPATH is set (fixes #1212)
Alex Szpakowski
Restructured internal code for graphics capabilities. Added love.graphics.getTextureTypes which returns a table of Texture Type to boolean supported fields.
Alex Szpakowski
Error if a window isn't open when love.system.set/getClipboardText are called (resolves issue #1290).
TannerRogalsky
Add bindings for setting and getting a Transform's matrix representation.
Alex Szpakowski
Update glslang
Alex Szpakowski
Cleaned up some graphics code.
Alex Szpakowski
Allow a temporary/internal depth buffer to be used when a Canvas is active, similar to how temporary stencil buffers are allowed. Syntax is setCanvas{canvas [, depth=true, stencil=true]} or setCanvas{canvas, depthstencil=true}.
Alex Szpakowski
Fix crashes on OpenGL ES (thanks xenthral!)
Alex Szpakowski
Fix love.graphics.drawLayer.
Alex Szpakowski
Merged in bjornbytes/love/fix-kerning (pull request #87) Fix newline kerning
Bjorn Swenson
Fix newline kerning;
Alex Szpakowski
Extrude font glyph quads by 1 pixel to add some antialiasing at the edges of the glyphs.
Alex Szpakowski
Fix colors not being applied properly in auto-batched draws
Alex Szpakowski
Fixed BMFont y coordinates.
Alex Szpakowski
Hopefully fixed Font baseline calculation.
Alex Szpakowski
Auto-batched draws (except for love.graphics.print, for now) are affected by 3D transforms.
Alex Szpakowski
Fixed love.graphics.draw(particlesystem, …) to actually use the transformation parameters.
Alex Szpakowski
Clean up love’s internal Vector code a bit, and rename it to Vector2 so it’s more obvious what it is.
Alex Szpakowski
Fix compilation
Alex Szpakowski
Cleaned up texture VRAM usage tracking.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Move more backend-agnostic code out of the love.graphics opengl implementation files.
Alex Szpakowski
Require stencil=true to be specified in setCanvas if stenciling is used while a Canvas is active and there is no custom stencil buffer.
Alex Szpakowski
Moved some backend-agnostic code out of the OpenGL backend of love.graphics.
Alex Szpakowski
Allow calling love.graphics.drawLayer(arraycanvas, layer) when rendering to a different layer of the same Canvas.
Alex Szpakowski
Fix the default mipmap filter of mipmapped Canvases (thanks Shell32).
Alex Szpakowski
Error if a non-2D/affine matrix is used with auto-batched draws, since they perform CPU-side matrix transforms on 2-component vectors.
Alex Szpakowski
Add mipmapping support to Canvases. - Added an optional mipmap index argument to the non-table variant of love.graphics.setCanvas, and an optional ‘mipmap’ field to the table variant. - Canvas:setMipmapFilter now works. - Added Canvas:generateMipmaps. - Added Canvas:getMipmapMode. - Added a new ‘mipmaps’ enum field to the table passed into love.graphics.newCanvas. Accepted values are “none” (default), “manual”, and “auto”. If a Can…
Alex Szpakowski
Add Depth compare / shadow sampler support. Officially this is only supported in glsl3 shaders. - Add Texture:setDepthSampleMode(comparemode). Only works on textures with depth pixel formats. A texture with the depth sample mode set will only work with a depth sampler. - Add DepthImage, DepthArrayImage, and DepthCubeImage sampler keywords to glsl3.
Alex Szpakowski
Add new variants of love.graphics.clear for controlling how the depth and stencil buffers are cleared. - Add love.graphics.clear(r, g, b, a [, stencilvalue, depthvalue]). - Add love.graphics.clear(color1, color2, …, [, stencilvalue, depthvalue]). - Add love.graphics.clear(false, stencilvalue, depthvalue). stencilvalue and depthvalue are either true, false, or a number. True is the default behaviour and clears that buffer to the default value (0 for stencil, 1 for depth), false prevents clearing. …
Alex Szpakowski
Readable depth-stencil Canvases with MSAA are not currently supported.
Alex Szpakowski
Improved the error message when a Canvas with the readable field explicitly set is not supported.
Alex Szpakowski
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.
Alex Szpakowski
Add new non-readable Canvas formats: depth16, depth24, depth32f, depth24stencil8, and depth32fstencil8.
Alex Szpakowski
Add a new “stencil8” pixel format for Canvases (resolves issue #1003). Also fixed Canvas MSAA (resolves issue #1271). stencil-formatted Canvases can’t be drawn, and can only be used as the value for a new ‘depthstencil’ field to the table-argument variant of love.graphics.setCanvas.
Alex Szpakowski
Rename love.graphics.flush to love.graphics.flushBatch. Mesh/Spritebatch/Text:flush already exist and do something a bit different (flush vertices instead of render a pending batch).
Bart van Strien
Fix wrong default reference angle for WeldJoint/PrismaticJoint/RevoluteJoint (fixes #1258)
Bart van Strien
Expose love.event.poll_i Now love.event.poll just returns love.event.poll_i, instead of returning a new c function every call. This means love no longer creates garbage each frame (with an empty project). See pull request #81 for details, and an alternative fix. Thanks @bjornbytes for the pull request, and for finding this issue. Note: in the pull request I also mentioned love.filesystem.lines/File:lines. I haven't "fix…
Alex Szpakowski
Fix a crash when a Source stops playing.
Alex Szpakowski
Fix a crash when loading .pvr compressed texture.
Alex Szpakowski
love.math.randomNormal can be JIT-compiled
Bart van Strien
Remove references to old LOVE_ENABLE_module_implementation defines As far as I know they are no longer used, as autotools was the primary (only) user and it now switches entire modules. I've also taken the opportunity to clean up the default list in src/common/config.h. Oh yeah, and this fixes linux builds not having graphics or audio backends.
Alex Szpakowski
Fix a memory leak when pushing love objects to threads which never load that object’s module (resolves issue #1267). Also fix Variant assignment operator to call release() on the correct object.
Bart van Strien
Oops, some automagic messages ended up on stderr
Bart van Strien
Update autotools build system Make genmodules create a simpler Makefile.am: Instead of generating separate rules for modules and implementations, just create rules for modules and lua libraries Disable selection of non-lua libraries, they will now be built when needed. Also disable selection of implementations, because that was useless anyway. Note: inter-module dependencies aren't dealt with (yet).
Bart van Strien
Make automagic automatically print command output in case an error occurs
Alex Szpakowski
Merged in lognz/love-minor2/particle system new features (pull request #85) Particle System New Features
lognz
Corrected angle not factoring setDirection() into spawn angle
lognz
Particle System new features 2 new Particle System Distribution types: borderellipse - spawns new particles around the border of an elllipse shape defined by dx,dy borderrectangle - spawns new particles around the border of a rectangle shape defined by dx, dy New functions: getAreaSpreadAngle() getAreaSpreadIsRelativeDirection() setAreaSpreadAngle(angle in radians) setAreaSpreadIsRelativeDirection(boolean) setAreaSpread(d…
lognz
2 new area particle distributions: borderellipse and borderrectangle
Alex Szpakowski
Clamp color arguments to [0, 1] in cases where we don’t support values outside of that range internally.
Alex Szpakowski
Fix compilation on iOS. Fix shader compilation on OpenGL ES. Fix (harmless) GL errors on OpenGL ES 2. Resolves issue #1266.
Alex Szpakowski
Fix for gles shader profiles when validating shaders.
Alex Szpakowski
Declare VaryingTexCoords and love_ScreenSize as highp when supported.
Alex Szpakowski
Rename internal “GLSLES” references to “ESSL”.
Alex Szpakowski
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.
Alex Szpakowski
ImageData:paste can copy between ImageData of different formats. Resolves issue #1249.
Alex Szpakowski
Don’t try to create the standard/default array texture shader if array textures are not supported.
Alex Szpakowski
Fix memory leak
Alex Szpakowski
love.graphics.newVolumeImage can now automatically convert a 1xN or Nx1 sheet of square images into layers.
Alex Szpakowski
Use a simpler default video shader.
Alex Szpakowski
love.graphics.drawLayer(canvas, …) now errors if the Canvas is currently active as a render target (matches behaviour of love.graphics.draw).
Alex Szpakowski
Array textures can be easily drawn without a shader (resolves issue #1111). Added love.graphics.drawLayer(texture, layerindex, …). ‘texture’ must be an array texture. Added SpriteBatch:add/setLayer. Added Quad:get/setLayer. This applies to array textures that are drawn without specifying an explicit layer index in the draw call. Added love.graphics.newQuad variants which have layer arguments.
Alex Szpakowski
Implicitly declare VaryingTexCoord and VaryingColor when void effect() is used.
Alex Szpakowski
Removed void effects(…) pixel shader prototype. Added void effect(). Allows calling love.graphics.draw with textures of different types with a custom shader without having an extra sampler2D. effect() takes no arguments and returns nothing, you are responsible for assigning a value to either love_PixelColor or love_Canvases[n] in the function. You can declare ‘MainTex’, which will be whatever texture is used with any Drawable drawn with love.graphics.draw. You can also declare ‘VaryingColor’ and ‘VaryingTexCoord’, which are passed down from the vertex shader by love automatically. love…
Alex Szpakowski
Clean up glVertexAttribPointer calls a bit.
Alex Szpakowski
Fix drawing with >= 16k sprites in a spritebatch on desktops.
Alex Szpakowski
Implement Array, Cubemap, and Volume texture types (issue #1111). - Add love.graphics.newArrayImage, newCubeImage, and newVolumeImage. - Add love.graphics.newCanvas(w, h, layers) and newCanvas(w, h, layers, settings). Add ‘type’ field to the settings table of newCanvas. - Add new love.graphics.setCanvas variants: setCanvas(canvas, slice), and setCanvas(canvastable) where canvastable is in the format: {{canvas1, layer=2}, {canvas2, face=5}} - Add Texture:getTex…
Alex Szpakowski
Merged in TannerRogalsky/love-pristine/update_comment_function_name (pull request #84) function name has changed and comment is out of date
TannerRogalsky
function name has changed and comment is out of date
Alex Szpakowski
Only use opengl debug groups if the LOVE_GRAPHICS_DEBUG environment variable is set to 1.
Alex Szpakowski
Enable OpenGL debug group markers outside of iOS
Bart van Strien
Simplify love.audio's Pool class Move most logic back to Source. Pool now simply contains a list of playing sources and a mutex. Also gets rid of the pause/pauseAtomic duplication in Source, since it can now request a lock from Pool itself.
Alex Szpakowski
Very minor style cleanup
Alex Szpakowski
Potentially fix compilation for MSVC
Alex Szpakowski
Update Xcode project
Bart van Strien
Remove extra whitespace
Bart van Strien
Merged in rcoaxil/love-patches/minor (pull request #75) EFX implemented Approved-by: Bart van Strien Approved-by: Alex Szpakowski
Raidho
naming updated, Filters patched up
Raidho
Named Effect parameters added. Unsupported effects disabled. Unnamed parameter Effect setting is no longer functional.
Raidho
Edited out a few duds.
Raidho
EFX implemented
Alex Szpakowski
Updated license.txt
Raidho
Prettifyed the code exploiting inheritance rules added missing comma, added missing `override`
Raidho
Data:clone ported to minor minor tweaks
TannerRogalsky
Do not attempt to free pointer to scratch buffer
Bart van Strien
Exclude windows folder of glslang on linux
Bart van Strien
Sort changelog
Bart van Strien
Merge default into minor
Alex Szpakowski
Fix text object drawing and a bug in stream buffers used in autobatching
Alex Szpakowski
Fix love.graphics.points when no per-point colors are given
Alex Szpakowski
Fix rendering to only use glDrawElementsInstanced when necessary
Alex Szpakowski
Mark classes as ‘final’
Alex Szpakowski
Move all remaining love.graphics Lua wrapper code out of the opengl implementation folder.
Alex Szpakowski
Move backend-agnostic Mesh and SpriteBatch code out of the opengl implementation folder.
Alex Szpakowski
Move love.graphics Image wrapper code out of the opengl subfolder
Alex Szpakowski
Fix Windows build
Alex Szpakowski
Updated CMakeLists.txt
Alex Szpakowski
Move most of Text and Video love.graphics classes out of the opengl subfolder.
Alex Szpakowski
love.graphics internal Buffer objects are no longer OpenGL-specific.
Alex Szpakowski
Shader code cleanup
Alex Szpakowski
Fix Windows build
Alex Szpakowski
Updated the changelog
Alex Szpakowski
Support instancing on more systems. Note that GLSL 3 may not be supported everywhere that instancing is, and love_InstanceID requires GLSL 3 (but instanced vertex attributes do not).
Alex Szpakowski
Add low-level hardware instancing support to Meshes. Add “instancing” Graphics Feature constant. Add love.graphics.drawInstanced(mesh, instancecount, x, y, …) which draws the mesh multiple times in a single draw call. Each instance of the mesh will appear in the exact same spot unless one of the following are used: - Add an optional vertex attribute step type argument to Mesh:attachAttribute. “pervertex” is the default. “perinstance” causes the at…
Alex Szpakowski
Added support for GLSL 3 shaders (GLSL 3.30 and GLSL ES 3.00). To use GLSL 3 in a shader, the first line of the shader has to be: #pragma language glsl3 glsl1 is the default language. Added “glsl3” graphics feature as part of the table returned by love.graphics.getSupported(). Added love.graphics.validateShader(boolean gles, shadercode). It returns a boolean along with an error string if the shader code has errors for its target language and platform (gles…
Alex Szpakowski
Merge default into minor
Bart van Strien
Clean up autotools build scripts - Removed unused platform/unix/gen-makefile - Added current version as suffix to the built library (now liblove-0.11.0.so, for example) - Added target version to configure.ac - Include .lua files as sources, so they get included in 'make dist'
Alex Szpakowski
Fix font textures in OpenGL ES 3.
Alex Szpakowski
Add a variant of Mesh:setVertexMap which takes a Data object, an index data type (“uint16” or “uint32”), and an optional index count. Thanks Shell32!
Alex Szpakowski
Potentially fix a crash in love.window.setMode.
Alex Szpakowski
Actually merge the latest default into minor…
Alex Szpakowski
Merge default into minor.
Alex Szpakowski
Error instead of crash when Source:setLooping is called on a queueable Source (thanks zorg)
Alex Szpakowski
Font texture atlases can be created in Core Profile GL3.
Alex Szpakowski
Minor pre-emptive fixes for GL3.
Alex Szpakowski
Particle systems use a GLBuffer internally, instead of direct vertex arrays with glDrawElements.
Alex Szpakowski
Fix stenciling…
Alex Szpakowski
Allow disabling stencil capabilities for the main screen in love.window.setMode.
Alex Szpakowski
Fix captureScreenshot when MSAA is used on iOS
Alex Szpakowski
Minor batching fixes and performance improvements
Alex Szpakowski
Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.
Alex Szpakowski
Add C++ side support for unsigned int shader uniforms. Note that the shader languages love currently supports (glsl 1.20, glsl es 1.00) don’t support uints at the moment.
Alex Szpakowski
Happy new year! 🥂
Alex Szpakowski
Minor code cleanup
Alex Szpakowski
Don’t call unnecessary OpenGL APIs in love.graphics.setColor
Alex Szpakowski
love.graphics Video code is upwards-compatible with GL3.
Alex Szpakowski
Work around crappy Android NDK
Alex Szpakowski
Fix iOS build
Alex Szpakowski
More code restructuring. Move all love.graphics functionality that doesn’t call OpenGL out of the OpenGL backend Graphics class.
Alex Szpakowski
Move more love.graphics backend-agnostic module code out of the opengl implementation file.
Alex Szpakowski
Move most graphics Font code out of the opengl subfolder.
Alex Szpakowski
… typo fix
Alex Szpakowski
Add love.graphics.getPixelDensity, gets the pixel density scale of the screen (matches other APIs).
Alex Szpakowski
Revamped and streamlined retina / high-DPI support (resolves issue #1122). With the highdpi window flag enabled on a retina-capable display and OS, content should now appear to the user at the same size and in the same positions as with the flag disabled. As a result, mouse and touch coordinates, Texture and graphics dimensions, and the graphics coordinate system now use pixel density-scaled units instead of pixels. Raw pixel units should generally only be used for thin…
Alex Szpakowski
Cleaned up some duplicated pixel format-related code in Font files.
Alex Szpakowski
Use automatic batching for love.graphics.print/printf. This doesn’t actually improve performance at all in most cases, but it does remove some OpenGL-specific code from the Font files, and reduces the amount of duplicated rendering code. This makes it slightly easier to add support for Core Profile OpenGL 3.
Alex Szpakowski
Unify separate GL/GLES code paths for love’s built in matrices in shaders.
Alex Szpakowski
Improve performance of Shader:send when the Shader is not active. It now defers uploading the uniforms to the program object until the shader becomes active again, instead of activating the shader program and deactivating it each time Shader:send is called.
Alex Szpakowski
Added “none” blend mode. This is equivalent to setBlendMode(“replace”, “premultiplied”) (which also effectively disables blending) but doesn’t require explicitly setting the alpha multiplication mode.
Alex Szpakowski
Use SIMD SSE functionality when available for 4x4 matrix multiplies. Slightly improves performance of large numbers of love.graphics.draw(texture) calls.
Alex Szpakowski
Fix compilation on iOS
Alex Szpakowski
Minor optimizations to love.graphics.draw(texture).
Alex Szpakowski
Fix more Windows compilation issues
Alex Szpakowski
Moved line and shape drawing code out of the opengl folder, since it no longer directly calls any OpenGL functions.
Alex Szpakowski
Fix compilation in VS2013.
Alex Szpakowski
Is MSVC happy with this?
175 commits not shown.