Alex Szpakowski
df540cedea
Enable OpenGL debug group markers outside of iOS
...
--HG--
branch : minor
2017-02-12 16:40:54 -04:00
Bart van Strien
03b863d788
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.
--HG--
branch : minor
2017-02-11 21:41:22 +01:00
Alex Szpakowski
7b6e1523b4
Very minor style cleanup
...
--HG--
branch : minor
2017-02-11 15:47:30 -04:00
Alex Szpakowski
218950fe76
Potentially fix compilation for MSVC
...
--HG--
branch : minor
2017-02-11 15:18:04 -04:00
Alex Szpakowski
28b2192ef5
Update Xcode project
...
--HG--
branch : minor
2017-02-11 15:14:39 -04:00
Bart van Strien
42b8249b60
Remove extra whitespace
...
--HG--
branch : minor
2017-02-11 20:12:44 +01:00
Bart van Strien
cbaf9e047b
Merged in rcoaxil/love-patches/minor (pull request #75 )
...
EFX implemented
Approved-by: Bart van Strien
Approved-by: Alex Szpakowski
--HG--
branch : minor
2017-02-11 19:04:53 +00:00
Alex Szpakowski
ded5d4d413
Updated license.txt
...
--HG--
branch : minor
2017-02-11 00:02:07 -04:00
Raidho
8572a33880
Prettifyed the code exploiting inheritance rules
...
added missing comma, added missing `override`
--HG--
branch : minor
2017-02-10 18:36:47 +03:00
Raidho
6ea1ebde9c
Data:clone ported to minor
...
minor tweaks
--HG--
branch : minor
2017-02-10 06:19:53 +03:00
Tanner Rogalsky
bc6a2db22f
Do not attempt to free pointer to scratch buffer
...
--HG--
branch : minor
2017-02-07 15:23:53 -05:00
Raidho
94b4d2bdef
naming updated, Filters patched up
...
--HG--
branch : minor
2017-02-07 03:15:05 +03:00
Bart van Strien
2b4cd99c96
Exclude windows folder of glslang on linux
...
--HG--
branch : minor
2017-02-04 20:18:42 +01:00
Bart van Strien
6db676d149
Sort changelog
...
--HG--
branch : minor
2017-01-31 15:46:05 +01:00
Bart van Strien
edbd4309f8
Merge default into minor
...
--HG--
branch : minor
2017-01-31 15:43:36 +01:00
Bart van Strien
ab7b3a8125
Update changelog
2017-01-31 15:32:42 +01:00
Alex Szpakowski
f2597168a2
Fix text object drawing and a bug in stream buffers used in autobatching
...
--HG--
branch : minor
2017-01-30 22:11:26 -04:00
Alex Szpakowski
a3ae0e2279
Fix love.graphics.points when no per-point colors are given
...
--HG--
branch : minor
2017-01-29 17:47:29 -04:00
Alex Szpakowski
98493d9844
Fix rendering to only use glDrawElementsInstanced when necessary
...
--HG--
branch : minor
2017-01-29 16:13:41 -04:00
Alex Szpakowski
7d7f8e0a92
Mark classes as ‘final’
...
--HG--
branch : minor
2017-01-29 02:06:17 -04:00
Alex Szpakowski
8558d7894c
Move all remaining love.graphics Lua wrapper code out of the opengl implementation folder.
...
--HG--
branch : minor
2017-01-29 01:19:37 -04:00
Alex Szpakowski
c0e66eba83
Move backend-agnostic Mesh and SpriteBatch code out of the opengl implementation folder.
...
--HG--
branch : minor
2017-01-29 01:05:20 -04:00
Alex Szpakowski
3616470a0a
Move love.graphics Image wrapper code out of the opengl subfolder
...
--HG--
branch : minor
2017-01-29 00:20:16 -04:00
Alex Szpakowski
4a3319245b
Fix Windows build
...
--HG--
branch : minor
2017-01-28 23:19:45 -04:00
Alex Szpakowski
673bcf4a7f
Updated CMakeLists.txt
...
--HG--
branch : minor
2017-01-28 21:39:30 -04:00
Alex Szpakowski
13af754d3d
Move most of Text and Video love.graphics classes out of the opengl subfolder.
...
--HG--
branch : minor
2017-01-28 21:37:09 -04:00
Alex Szpakowski
d990044288
love.graphics internal Buffer objects are no longer OpenGL-specific.
...
--HG--
branch : minor
2017-01-28 19:26:57 -04:00
Alex Szpakowski
470098b7e6
Shader code cleanup
...
--HG--
branch : minor
2017-01-27 23:19:04 -04:00
Alex Szpakowski
e360346c21
Fix Windows build
...
--HG--
branch : minor
2017-01-22 23:39:32 -04:00
Alex Szpakowski
7f9ec24dae
Updated the changelog
...
--HG--
branch : minor
2017-01-22 22:50:37 -04:00
Alex Szpakowski
c764f9f206
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).
...
--HG--
branch : minor
2017-01-22 21:18:06 -04:00
Alex Szpakowski
bea7cfdaab
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 attribute to be per-instance instead of per-vertex, when the mesh is drawn.
- Add love_InstanceID as a built-in read only int variable in GLSL 3 vertex shaders. It is always 0 except when a Mesh is drawn with more than 1 instance specified in the draw call. It can be used to manually compute or index into per-instance values in a shader.
--HG--
branch : minor
2017-01-22 20:52:11 -04:00
Alex Szpakowski
731b5d5cf0
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 or desktop).
Implemented support for Core Profile OpenGL 3.3 in love.graphics.
--HG--
branch : minor
2017-01-22 18:54:04 -04:00
Alex Szpakowski
a6669a8bb2
Merge default into minor
...
--HG--
branch : minor
2017-01-21 12:06:35 -04:00
Alex Szpakowski
f45c6a0d74
Fix a crash related to love.graphics.push and love.window.setMode.
2017-01-21 12:03:43 -04:00
Alex Szpakowski
01ff7d1275
Merged in Mastificate/love (pull request #77 )
...
Fix infinite loop bug with bezier curves
2017-01-16 16:51:36 -04:00
Bart van Strien
ff336041a9
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'
--HG--
branch : minor
2017-01-15 22:07:51 +01:00
Bart van Strien
a9a294beb3
Rebuild boot.lua.h
2017-01-15 20:26:21 +01:00
Bart van Strien
2aff0b1199
Remove executable bit from source files
2017-01-15 20:21:38 +01:00
Alex Szpakowski
44dc4bb2a2
Fix font textures in OpenGL ES 3.
...
--HG--
branch : minor
2017-01-15 11:15:52 -04:00
Alex Szpakowski
734be1afad
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!
...
--HG--
branch : minor
2017-01-14 20:35:56 -04:00
Alex Szpakowski
73e5111335
Potentially fix a crash in love.window.setMode.
...
--HG--
branch : minor
2017-01-14 01:20:07 -04:00
Mastificate
93a15ce983
added error handling for bezier curves and fixed infinite loop bugs
2017-01-13 19:28:09 -05:00
Alex Szpakowski
28ed5e5a4b
Actually merge the latest default into minor…
...
--HG--
branch : minor
2017-01-12 22:55:19 -04:00
Alex Szpakowski
c5b7a07064
Merge default into minor.
...
--HG--
branch : minor
2017-01-12 22:52:24 -04:00
Bart van Strien
9316d84028
Add (optional) copy-to-clipboard functionality to the error handler
...
Based on pull request #74 by raidho
2017-01-11 11:44:50 +01:00
Alex Szpakowski
06cb7a6db6
Error instead of crash when Source:setLooping is called on a queueable Source (thanks zorg)
...
--HG--
branch : minor
2017-01-09 22:37:49 -04:00
Raidho
42f89153ae
Named Effect parameters added. Unsupported effects disabled.
...
Unnamed parameter Effect setting is no longer functional.
--HG--
branch : minor
2017-01-06 08:41:27 +03:00
Alex Szpakowski
22c4d1ae79
Font texture atlases can be created in Core Profile GL3.
...
--HG--
branch : minor
2017-01-05 23:25:20 -04:00
Alex Szpakowski
8c204efafb
Minor pre-emptive fixes for GL3.
...
--HG--
branch : minor
2017-01-05 22:33:10 -04:00