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 |
Alex Szpakowski
|
8ffe610659
Added love.graphics.getStats. It returns a table with performance-related graphics statistics. Currently it contains these fields:
|
11 years ago |
Alex Szpakowski
|
53e63d48c9
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
|
11 years ago |
Alex Szpakowski
|
afc505e183
Added stack type enums to love.graphics.push (resolves issue #906.) Current enums are "transform" and "all". "transform" is the default (for compatibility.) When love.graphics.push("all") is used, love.graphics.pop() will restore all love.graphics module state to what it was when push was called.
|
11 years ago |
Alex Szpakowski
|
56653fa946
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
f0fa63ba47
Backported commits 145524a and 7785b4b from minor into default (Added SpriteBatch:flush, deprecated SpriteBatch:bind/unbind, SpriteBatch:flush is called implicitly when the spritebatch is drawn.)
|
11 years ago |
Alex Szpakowski
|
e0f045c310
SpriteBatches are a little more intelligent about how much data they upload to the GPU when they're flushed or drawn, now
|
11 years ago |
Alex Szpakowski
|
9c717cc3a3
Changed SpriteBatch:add/set to do an internal bind, and love.graphics.draw(SpriteBatch) to do an internal unbind. Removed SpriteBatch:bind/unbind, and added SpriteBatch:flush.
|
11 years ago |
Alex Szpakowski
|
e4dc533bb2
Minor code cleanup
|
11 years ago |
Alex Szpakowski
|
40242689b1
Fixed rendering to multiple canvases, removed some redundant OpenGL calls when switching between canvases
|
11 years ago |
Alex Szpakowski
|
7556fde5e6
Added antialiasing (MSAA) support to Canvases via a new optional parameter. Added Canvas:getFSAA.
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
|
11 years ago |
Alex Szpakowski
|
fb34f5bc9e
Auto-padded NPOT images' texture coordinates are now scaled at draw time via the texture matrix (fixes auto-padded images with Meshes.) Also fixed love.graphics.newQuad.
|
12 years ago |
Alex Szpakowski
|
1e696c4505
Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
|
12 years ago |
Alex Szpakowski
|
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
|
12 years ago |