Alex Szpakowski
|
2222bb37d2
|
Removed gl.bindTexture, so it won't get accidentally used.
--HG--
branch : minor
|
2016-10-21 23:42:09 -03:00 |
|
Alex Szpakowski
|
14f1afa446
|
Reduce redundant glActiveTexture calls.
--HG--
branch : minor
|
2016-10-21 22:19:16 -03:00 |
|
Alex Szpakowski
|
d1c5edd792
|
Prevent redundant glBindBuffer calls.
--HG--
branch : minor
|
2016-10-20 21:50:48 -03:00 |
|
Alex Szpakowski
|
901cc362df
|
Added 'shaderswitches' to love.graphics.getStats.
|
2016-04-02 18:14:52 -03:00 |
|
Alex Szpakowski
|
8b07bad15e
|
Fixed the build.
|
2016-03-20 22:36:54 -03:00 |
|
Alex Szpakowski
|
9ebd759851
|
Don't call glGetFloat every time love.graphics.getSystemLimits is called.
|
2016-03-20 22:00:24 -03:00 |
|
Alex Szpakowski
|
abd3c64bc5
|
Moved another AMD-specific driver bug workaround to the OpenGL Bugs struct.
|
2016-01-13 21:43:00 -04:00 |
|
Alex Szpakowski
|
6d6d805858
|
Workaround for love.graphics.clear + love.graphics.setCanvas AMD driver bug, take two.
|
2016-01-09 23:40:04 -04:00 |
|
Alex Szpakowski
|
4f093e7fac
|
Added a workaround for an AMD driver bug where setCanvas + clear + setCanvas doesn't work.
|
2016-01-09 17:14:05 -04:00 |
|
Alex Szpakowski
|
46a2e7b85c
|
Happy new year! 🎉
|
2016-01-01 00:05:06 -04:00 |
|
Alex Szpakowski
|
538f3869c5
|
Don't query the current texture bindings when initializing OpenGL.
|
2015-12-24 15:53:50 -05:00 |
|
Alex Szpakowski
|
6036454a20
|
Fixed up some code.
|
2015-11-30 02:26:59 -04:00 |
|
Alex Szpakowski
|
4c82c96369
|
Added a new texture wrap mode "clampzero", which outputs transparent black (or opaque black for textures without an alpha channel) rather than the texture's edge colors, when it's drawn or sampled from outside of its regular texture coordinate range.
|
2015-11-30 02:22:20 -04:00 |
|
Alex Szpakowski
|
890802c0a3
|
Use a more descriptive error message if love.graphics.newImage fails because the OpenGL texture can't be created.
|
2015-10-15 14:42:57 -03:00 |
|
Martin Felis
|
f6448116cc
|
Fixed OpenGL ES function loading on some Android devices.
|
2015-08-13 19:44:52 -03:00 |
|
Alex Szpakowski
|
af06203a4a
|
Moved the appveyor script to a subfolder and updated it to properly choose Visual Studio 2012 and to create a post-build zip file.
|
2015-06-28 21:39:56 -03:00 |
|
Alex Szpakowski
|
d8fd1413d6
|
Renamed the internal 'Matrix' class to 'Matrix4'.
|
2015-06-26 19:34:05 -03:00 |
|
Alex Szpakowski
|
247daa85b5
|
Added a couple comments documenting why some codepaths have been chosen.
|
2015-06-24 22:25:55 -03:00 |
|
Alex Szpakowski
|
4c571e8fd7
|
Prevent redundant shader uniform uploads for built-in uniforms when OpenGL ES 2 is used.
As a result, the graphics primitive drawing functions (e.g. love.graphics.rectangle) are now more efficient on mobile devices.
|
2015-06-24 22:04:19 -03:00 |
|
Alex Szpakowski
|
ed3f419747
|
Prevent redundant calls to glEnable/DisableVertexAttribArray. This should hopefully fix a performance regression compared to 0.9.2 as well.
|
2015-06-23 20:55:23 -03:00 |
|
Alex Szpakowski
|
c82ccbb89b
|
love.graphics.setColor no longer uses the main per-vertex color attribute. This lets it affect the color of ParticleSystems, and SpriteBatches and Meshes even when they use custom per-vertex colors.
|
2015-06-21 11:20:26 -03:00 |
|
Alex Szpakowski
|
33e1d2736d
|
Removed restrictions preventing sRGB and non-sRGB canvases from being used together when doing multi-canvas rendering.
|
2015-04-25 21:32:10 -03:00 |
|
Alex Szpakowski
|
d8a68d6ce1
|
Updated iOS-specific graphics code to use the latest SDL changes.
|
2015-04-13 12:26:54 -03:00 |
|
Alex Szpakowski
|
d31168c0e0
|
Cleaned up some graphics code.
|
2015-03-20 00:16:36 -03:00 |
|
Alex Szpakowski
|
a36dbc3d49
|
Only update the shader point size in OpenGL ES 2 when it's been modified, rather than before every draw.
|
2015-03-17 17:24:45 -03:00 |
|
Alex Szpakowski
|
06ef263537
|
Added OpenGL debug groups for most graphics operations when love is built in debug mode for iOS. The Xcode frame capture tool uses them to create nice visual groups for OpenGL function calls.
|
2015-03-16 22:55:58 -03:00 |
|
Alex Szpakowski
|
4ef0d257e9
|
Added an optional font hinting argument to love.graphics.newFont / love.font.newRasterizer when loading TrueType fonts. Resolves issue #963.
Accepted values are "normal", "light", "mono", and "none".
|
2015-03-07 22:05:37 -04:00 |
|
Alex Szpakowski
|
4dc73959a6
|
Hopefully fixed a major bug related to using Shader:send with textures.
|
2015-03-06 02:08:33 -04:00 |
|
Alex Szpakowski
|
06fa7bd7a4
|
Don't enable SDL_GL_FRAMEBUFFER_SRGB_CAPABLE in Linux when creating the window, to work around a potential bug. sRGB windows are still possible even without that.
|
2015-03-03 17:48:19 -04:00 |
|
Alex Szpakowski
|
8277eb9abd
|
Renamed the internal OpenGL buffer class from VertexBuffer to GLBuffer.
|
2015-03-03 02:21:28 -04:00 |
|
Alex Szpakowski
|
3fea174008
|
Cleaned up some shader code.
--HG--
branch : minor
|
2015-03-02 15:18:12 -04:00 |
|
Alex Szpakowski
|
b9c90e8a6f
|
Fixed the background color for the error screen, and updated LodePNG to the latest version.
--HG--
branch : minor
|
2015-02-27 21:20:31 -04:00 |
|
Alex Szpakowski
|
3efcf3901b
|
Removed Canvas:clear. love.graphics.clear now accepts r,g,b,a values (and defaults to 0,0,0,0 with no arguments given.) love.graphics.clear clears the content of the currently active Canvas(es.)
--HG--
branch : minor
|
2015-02-27 03:47:25 -04:00 |
|
Alex Szpakowski
|
f83c2db471
|
Cleaned up the Canvas code.
--HG--
branch : minor
|
2015-02-26 17:06:09 -04:00 |
|
Alex Szpakowski
|
2cc53bb85c
|
Added Canvas MSAA support in OpenGL ES 2 on iOS and when ANGLE is used on Windows.
--HG--
branch : minor
|
2015-02-24 03:07:46 -04:00 |
|
Alex Szpakowski
|
517ee44e84
|
Fixed Canvases on iOS, added support for Canvas MSAA on OpenGL ES 3.
--HG--
branch : minor
|
2015-02-24 02:36:32 -04:00 |
|
Alex Szpakowski
|
ebc68023a7
|
Fix many warnings about implicit integer conversions when compiling for 64 bits.
--HG--
branch : minor
|
2015-02-20 01:20:08 -04:00 |
|
Alex Szpakowski
|
67aede6bc0
|
Merged default into minor
--HG--
branch : minor
|
2015-02-02 01:13:21 -04:00 |
|
Alex Szpakowski
|
ea2e45f4e2
|
Renamed love.mouse.setRelative to love.mouse.setRelativeMode, removed some unused OpenGL code.
|
2015-01-31 23:17:37 -04:00 |
|
Alex Szpakowski
|
6c11443a04
|
Fixed graphics initialization crashing love when OpenGL ES 2 is used.
--HG--
branch : minor
|
2015-01-30 04:24:31 -04:00 |
|
Alex Szpakowski
|
5df56d041a
|
Added GLSL ES 1.00 (OpenGL ES 2) shader support.
--HG--
branch : minor
|
2015-01-20 22:31:54 -04:00 |
|
Alex Szpakowski
|
1124612c1f
|
Some work towards OpenGL ES 2+ support for love 0.10.
--HG--
branch : minor
|
2015-01-19 23:32:16 -04:00 |
|
Alex Szpakowski
|
a7e4148869
|
Merged default into minor
--HG--
branch : minor
|
2015-01-16 15:47:26 -04:00 |
|
Alex Szpakowski
|
c7b45b3505
|
Updated copyright for the new year
|
2014-12-31 19:32:43 -04:00 |
|
Alex Szpakowski
|
60eceadc0a
|
Added "mirroredrepeat" wrap mode.
|
2014-12-22 19:16:36 -04:00 |
|
Alex Szpakowski
|
5eb37d30f7
|
Cleaned up and simplified some graphics code.
--HG--
branch : minor
|
2014-10-26 15:31:32 -03:00 |
|
Alex Szpakowski
|
6f6bf6a2bb
|
Merged default into minor
--HG--
branch : minor
|
2014-08-30 22:08:10 -03:00 |
|
Alex Szpakowski
|
40c6821048
|
Removed some dead code and fixed luax_pushtype when the object argument is null.
|
2014-08-28 00:48:32 -03:00 |
|
Alex Szpakowski
|
b59e088d6c
|
Hopefully fixed the Windows build (see issue #921.)
--HG--
branch : minor
|
2014-08-27 08:17:40 -03:00 |
|
Alex Szpakowski
|
626701fc2b
|
Merged default into minor
--HG--
branch : minor
|
2014-08-26 23:23:17 -03:00 |
|