Alex Szpakowski
|
d1c5edd792
Prevent redundant glBindBuffer calls.
|
8 years ago |
Alex Szpakowski
|
b8b670e0ae
Simplify Drawable code
|
8 years ago |
Alex Szpakowski
|
25376ba310
Added SpriteBatch:setDrawRange(start, count) and SpriteBatch:getDrawRange.
|
9 years ago |
Alex Szpakowski
|
e9ac008f43
Merge default into minor
|
9 years ago |
Alex Szpakowski
|
3e678fc462
Fix SpriteBatch:setBufferSize to keep old sprite data if it can fit (resolves issue #1204).
|
9 years ago |
Alex Szpakowski
|
d4e701b434
SpriteBatch:add will now automatically increase the maximum size of the SpriteBatch if there's no more room.
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
3c1c13793e
Added SpriteBatch:attachAttribute(attributename, mesh), which lets SpriteBatches use per-vertex information from a vertex attribute in a Mesh when drawing.
|
9 years ago |
Alex Szpakowski
|
7ebef76b24
Added love.window.setScreenSaverEnabled and love.window.isScreenSaverEnabled (resolves issue #1088.)
|
9 years ago |
Alex Szpakowski
|
a45c1332a7
Cleaned up some Mesh and SpriteBatch code.
|
10 years ago |
Alex Szpakowski
|
bfef97c48a
Slightly reduced the CPU usage of SpriteBatch:add, Text:add, and love.graphics.draw(ParticleSystem).
|
10 years ago |
Alex Szpakowski
|
d8fd1413d6
Renamed the internal 'Matrix' class to 'Matrix4'.
|
10 years ago |
Alex Szpakowski
|
ed3f419747
Prevent redundant calls to glEnable/DisableVertexAttribArray. This should hopefully fix a performance regression compared to 0.9.2 as well.
|
10 years ago |
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.
|
10 years ago |
Alex Szpakowski
|
2dc8a8ea45
Cleaned up some index buffer code.
|
10 years ago |
Alex Szpakowski
|
2844499ef7
Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
|
10 years ago |
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.
|
10 years ago |
Alex Szpakowski
|
e2652fddc1
Updated the readme.
|
10 years ago |
Alex Szpakowski
|
8277eb9abd
Renamed the internal OpenGL buffer class from VertexBuffer to GLBuffer.
|
10 years ago |
Alex Szpakowski
|
3830a0969c
Moved the Texture and Quad Lua wrapper files out of the opengl graphics implementation folder.
|
10 years ago |
Alex Szpakowski
|
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
|
10 years ago |
Alex Szpakowski
|
a7e4148869
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
aba33bf2e7
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
c6896dfc4e
Consolidated some duplicate code in SpriteBatch:add.
|
11 years ago |
Alex Szpakowski
|
5dda0c08eb
Slightly improved the performance of SpriteBatch:setBufferSize.
|
11 years ago |
Bart van Strien
|
97cacf1b2d
Merge default into minor
|
11 years ago |
Alex Szpakowski
|
77bec45b4a
Fixed SpriteBatch:setBufferSize.
|
11 years ago |
Alex Szpakowski
|
3a51f0ad08
Changed the love.graphics internal code to always use a default shader when none is set externally, and replaced the deprecated OpenGL vertex attribute code with the equivalent generic vertex attribute functions.
|
11 years ago |
Alex Szpakowski
|
71c71985d3
Merged default into minor
|
11 years ago |