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
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
Alex Szpakowski
656668b8c8
Particle systems use a GLBuffer internally, instead of direct vertex arrays with glDrawElements.
...
--HG--
branch : minor
2017-01-05 20:27:47 -04:00
Alex Szpakowski
e445c50af8
Fix stenciling…
...
--HG--
branch : minor
2017-01-05 20:22:50 -04:00
Alex Szpakowski
5243fb5a85
Allow disabling stencil capabilities for the main screen in love.window.setMode.
...
--HG--
branch : minor
2017-01-05 19:40:18 -04:00
Alex Szpakowski
3adc9b45be
Fix captureScreenshot when MSAA is used on iOS
...
--HG--
branch : minor
2017-01-05 14:50:03 +00:00
Alex Szpakowski
a653bfa104
Minor batching fixes and performance improvements
...
--HG--
branch : minor
2017-01-04 22:57:56 -04:00
Alex Szpakowski
551dc423a2
Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.
...
--HG--
branch : minor
2017-01-03 23:49:29 -04:00
evan yeung
8d269226c0
Let the love.filesystem loader support the template path for multiple interrogation mark.
2017-01-04 02:26:22 +00:00
evan yeung
9b77dbe262
Let the love.filesystem loader support the template path for multiple interrogation mark.
2017-01-04 01:56:27 +00:00
Alex Szpakowski
8899c03651
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.
...
--HG--
branch : minor
2017-01-02 20:41:07 -04:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski
bdd51d547f
Minor code cleanup
...
--HG--
branch : minor
2017-01-02 01:21:22 -04:00
Alex Szpakowski
548293e100
Don’t call unnecessary OpenGL APIs in love.graphics.setColor
...
--HG--
branch : minor
2017-01-02 01:02:15 -04:00
Alex Szpakowski
66749e874f
love.graphics Video code is upwards-compatible with GL3.
...
--HG--
branch : minor
2017-01-01 21:58:13 -04:00
Alex Szpakowski
75fbc210dc
Work around crappy Android NDK
...
--HG--
branch : minor
2017-01-01 13:06:31 -04:00