bjorn
426b907294
Release sources when audio module is destroyed;
2018-03-24 00:29:58 -07:00
bjorn
9ffd7888c6
Add _XOPEN_SOURCE definition for linux;
2018-03-23 19:38:30 -07:00
bjorn
bdc9b63b8a
Fix lots of memory leaks;
...
Especially when restarting or using threads.
2018-03-23 19:31:45 -07:00
bjorn
f94f0cd6c8
Add validation for texture creation;
2018-03-22 11:34:27 -07:00
bjorn
f9ce6d3425
Mesh:setVertexMap accepts a Blob for fast updates;
2018-03-22 11:22:06 -07:00
bjorn
471540433c
Add Canvas:newTextureData;
2018-03-22 11:15:17 -07:00
bjorn
1ad00328c1
Add a flag for autogenerating Canvas mipmaps;
2018-03-22 10:58:53 -07:00
bjorn
5fd20cc955
Fix lovr.filesystem.setRequirePath;
2018-03-22 10:39:31 -07:00
bjorn
adee0a3012
Replace dots with slashes instead of question marks;
...
In filesystem loader.
2018-03-22 10:07:19 -07:00
bjorn
95da07d165
Stereo canvases;
...
Canvases can be created with the "stereo" flag to make it a stereo
Canvas. If a Canvas is stereo, everything rendered to it will be
rendered to the left and right halves of it, using left/right
view and projection matrices. Headset drivers will use stereo
Canvases to improve performance.
2018-03-22 09:57:44 -07:00
bjorn
c0ea3240c3
Organize drawing code;
2018-03-22 09:57:44 -07:00
bjorn
8e5061f918
Disable depth test in lovr.graphics.fill;
2018-03-22 09:57:44 -07:00
bjorn
be699aa132
Normal matrix is an array;
2018-03-22 09:57:44 -07:00
bjorn
334e218e4c
Diff render target state better;
2018-03-22 09:57:44 -07:00
bjorn
988d8c7d23
Rename blit to fill;
2018-03-22 09:57:44 -07:00
bjorn
db756f347f
Add comment;
2018-03-22 09:57:44 -07:00
bjorn
3ed16a0a68
Work around driver bug to fix error screen;
2018-03-22 09:57:44 -07:00
bjorn
8a408cd45b
Ignore uniform blocks when inspecting shader uniforms;
2018-03-22 09:57:44 -07:00
bjorn
20983c860b
Send lovrEye to fragment shaders;
2018-03-22 09:57:44 -07:00
bjorn
5feb47c5b7
Remove eye argument from lovr.draw;
2018-03-22 09:57:44 -07:00
bjorn
b266d0316c
Update camera UBO when popping a layer;
2018-03-22 09:57:44 -07:00
bjorn
8b201838b6
Add lovr.graphics.blit for fullscreen quads;
2018-03-22 09:57:44 -07:00
bjorn
8bcaacd63c
Resolve MSAA properly;
2018-03-22 09:57:44 -07:00
bjorn
2cbd565522
Fix texture submit bounds; Fix layer canvas bug;
2018-03-22 09:57:44 -07:00
bjorn
4915ca41cc
Make skyboxes really cool;
2018-03-22 09:57:44 -07:00
bjorn
8e0519058d
Use quad for cube skyboxes;
2018-03-22 09:57:44 -07:00
bjorn
e6a76e2a61
rm MatrixType;
2018-03-22 09:57:44 -07:00
bjorn
d317502ffd
Small UBO cleanup;
2018-03-22 09:57:44 -07:00
bjorn
2def650abd
Refactor layers/displays;
2018-03-22 09:57:44 -07:00
bjorn
221015677f
Nogame screen align;
2018-03-22 09:57:44 -07:00
bjorn
ddb22aef0e
Refactor headset offset;
2018-03-22 09:57:44 -07:00
bjorn
1f1232505e
Uniform buffer objects for matrices;
...
Still hacky.
2018-03-22 09:57:44 -07:00
bjorn
3064eff017
Hack everything but it mostly works;
2018-03-22 09:57:44 -07:00
bjorn
5a74b8765b
Change default window size;
2018-03-22 09:57:44 -07:00
bjorn
1cd1b5e11d
Use a Mesh for primitives;
2018-03-22 09:46:26 -07:00
bjorn
4c2cd458ad
calloc is cool;
2018-03-21 15:36:02 -07:00
bjorn
87d5cb6456
Cache shader attribute IDs;
2018-03-21 15:36:02 -07:00
bjorn
d77b139d21
Make Mesh more lightweight;
2018-03-21 15:36:00 -07:00
bjorn
d2e0642b59
Use calloc in lovrAlloc;
2018-03-21 12:56:16 -07:00
bjorn
4b82a12b15
Add lovr.filesystem.getWorkingDirectory;
2018-03-19 16:52:17 -07:00
bjorn
fdb3a29a05
Add separate x/y scale to lovr.graphics.plane;
2018-03-19 13:09:03 -07:00
bjorn
f6a9f8ee19
lovr.headset.setMirrored works with fake driver;
2018-03-19 12:05:04 -07:00
bjorn
d5ed4aef43
Set C standard version to C99 in CMakeLists;
...
This requires CMake 3.1.0.
2018-03-17 14:44:13 -07:00
bjorn
05413adf74
Make detaching attributes more flexible;
2018-03-13 17:53:09 -07:00
bjorn
6fb977b5bb
Improve Mesh VAO state diffing;
...
Also permit empty tables for vertex formats.
2018-03-13 16:12:12 -07:00
bjorn
dd3644bafd
Add bounds checking to Shader:send with Blobs;
2018-03-12 13:27:14 -07:00
bjorn
d8c18f1535
Shader:send supports Blobs;
2018-03-12 11:25:28 -07:00
bjorn
8be201c040
Add default lovr.threaderror callback;
2018-03-12 10:37:45 -07:00
bjorn
a8545f75dc
Rename getShapeList to getShapes; Fix getJoints;
2018-03-12 10:10:10 -07:00
bjorn
a83ecff838
Fix warning;
2018-03-11 16:28:39 -07:00