View source
minor
  • Commit status
  • Contributors
    1. Loading...
Author Commit Message Date Builds
Alex Szpakowski
Clamp all color arguments to [0, 1] in cases where values outside that range don't make sense (fixed-point color values & sRGB colors). Closes issue #1315.
Alex Szpakowski
Mark SDL implementations of love.window methods with 'override'.
Alex Szpakowski
Fix love.window.isMaximized. Add love.window.restore and love.window.isMinimized (resolves issue #1354).
Alex Szpakowski
Add an Xcode 9 generated file.
Alex Szpakowski
Clean up unused temporary Canvases after a few frames.
Alex Szpakowski
Use a more efficient method of streaming automatically batched vertices on AMD Windows and Linux systems.
Bart van Strien
Use a seekless implementation of File:lines/love.filesystem.lines The previous algorithm would seek every time. This meant that although reading from a filesystem would be quick (especially with disk caching), but reading from a zip would be extremely slow. The new version is rouhgly as fast on a filesystem, but appears not to slow down on zips at all. Not in my tests, at least.
Bart van Strien
Regenerate boot.lua.h Because of course that went wrong. I'm not sure whether it's the merge's fault, or the merged in boot.lua.h was outdated. Either way, here we are.
Bart van Strien
Merged in SoniEx2/love/minor (pull request #96) Improve argument handling
Bart van Strien
Make love.run and love.errhand return a function for their main loop instead (resolves #1268) This way lua code can stop every iteration (usually frame), and return to the c++ code, so love can work in environments with co-operative multithreading like emscripten. It may be interesting to see if we can make this optional, so this only happens on platforms that require it, but I doubt it's significant in the grand scheme of things.
Alex Szpakowski
Update changelog
Alex Szpakowski
Move the implementation for Graphics::flushStreamDraws out of the opengl backend
Alex Szpakowski
Abstracted lower level drawing code, moved all type-specific drawing code out of opengl backend, deleted obsolete files
Alex Szpakowski
Fix windows build
Alex Szpakowski
Make internal vertex attribute code less OpenGL-specific.
Alex Szpakowski
Fix build?
Alex Szpakowski
Cleaned up some vertex data-related code.
Alex Szpakowski
Fix a crash on quit if a deprecated function was used.
Alex Szpakowski
Fix error output when a shader stage fails to compile.
Alex Szpakowski
Fix building for macOS and iOS
Alex Szpakowski
Make love.run's code style more consistent.
Alex Szpakowski
Restructured some Shader code. Added runtime temporary caching and sharing of shader stages. Resolves issue #1235.
Bart van Strien
Suppress unused variable warning on linux
Bart van Strien
Reduce template instantiations of std::vector<std::string> The new StringMap code for luax_enumerror causes code to be generated for std::vector. By using an extern template (an old feature standardised in c++11) we can instantiate it once instead, in StringMap.cpp.
Bart van Strien
Faster video seeking By using our current position (if known), we shrink the search area.
Bart van Strien
Catch up on video faster Previously every (internal) update the decoder would advance 0 or 1 frame. Now it will advance until it catches up. Like before, if it takes too many steps (5) before catching up, it seeks instead. This should mostly mean seeking forwards has less latency.
Bart van Strien
Fixes for video files that do not have the video as first stream, and better EOS detection
Bart van Strien
Split theora::VideoStream into OggDemuxer and TheoraVideoStream This makes the internal API more modular, but the split also forces a cleaner implementation. It also means the OggDemuxer is now responsible for the ogg-specific stuff like seeking and (ogg-specific) type detection. Backported from the love.video-vpx branch of love-experiments
Alex Szpakowski
Error instead of crashing when a frequency of 0 is set on a MouseJoint. Resolves issue #1197.
Bart van Strien
Make VERTEX/PIXEL shader defines result in themselves This means you can use VERTEX or PIXEL in your shader code without them disappearing (and getting a vague error). It's still not necessarily a good idea to use them as names, but at least it doesn't mysteriously break now.
Bart van Strien
Add optional channel parameter to SoundData:getSample/setSample (resolves #1346) If omitted they work as before, if specified it handles the interleaving internally.
Bart van Strien
Show (short) list of possible enum values when an invalid value is encountered (resolves #1318) All enum errors have (hopefully) been changed to a luax_enumerror, which has a fixed error message. If additionally a list of valid options is passed, it lists that in the error message. For every enum error with few options I've implemented this using a getConstants call. This solution has been designed specifically to reduce the number of template instantiations (as I've been told that was a co…
Alex Szpakowski
Backed out changeset 1b487edea8a8
Alex Szpakowski
Small graphics code cleanup
Alex Szpakowski
Move boot.lua into src/modules/love/
Alex Szpakowski
Update Xcode/clang warnings to the latest recommended settings.
Alex Szpakowski
Fix Channel:push and other functions that accept love objects and store them in Variants internally. Cleaned up Variant code a bit.
Alex Szpakowski
Simplified an internal Variant constructor to be more intuitive to use.
Alex Szpakowski
Add variant of love.graphics.captureScreenshot which takes a Channel argument.
Alex Szpakowski
Fix copy/paste error in the love.filesystem.isDirectory deprecation message.
Bart van Strien
Fix compilation with lua 5.2 and 5.3 Mostly to have the lua53 "library" work with both lua 5.1 and lua 5.3. Additionally fixes two other incompatibilities.
Bart van Strien
Update autotools build for the luautf8 → lua53 rename Additionally add the library as a dependency for the love.data module
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…
217 commits not shown.