Alex Szpakowski
|
018a3831cb
Add a new “stencil8” pixel format for Canvases (resolves issue #1003).
|
8 years ago |
Alex Szpakowski
|
cb9aa857d7
Don’t try to create the standard/default array texture shader if array textures are not supported.
|
8 years ago |
Alex Szpakowski
|
66b299822a
Array textures can be easily drawn without a shader (resolves issue #1111).
|
8 years ago |
Alex Szpakowski
|
f3f6b10ac8
Clean up glVertexAttribPointer calls a bit.
|
8 years ago |
Alex Szpakowski
|
73fd45558b
Implement Array, Cubemap, and Volume texture types (issue #1111).
|
8 years ago |
Alex Szpakowski
|
c0e66eba83
Move backend-agnostic Mesh and SpriteBatch code out of the opengl implementation folder.
|
8 years ago |
Alex Szpakowski
|
d990044288
love.graphics internal Buffer objects are no longer OpenGL-specific.
|
8 years ago |
Alex Szpakowski
|
abb72cb813
Happy new year! 🥂
|
8 years ago |
Alex Szpakowski
|
f12596dd19
More code restructuring.
|
8 years ago |
Alex Szpakowski
|
0d2e08baff
Implement automatic batching for points, lines, shapes, and images/quads.
|
8 years ago |
Bart van Strien
|
d967a755e5
Make love::Type handle type names
|
8 years ago |
Bart van Strien
|
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
|
8 years ago |
Alex Szpakowski
|
14f1afa446
Reduce redundant glActiveTexture calls.
|
8 years ago |
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 |