bjorn
6f96ee65da
Finish primitive restart;
2019-01-04 18:01:01 -08:00
bjorn
67727b092b
Start primitive restart;
2019-01-04 18:01:01 -08:00
bjorn
6382c1f71c
Cleanup;
2019-01-04 18:01:01 -08:00
bjorn
1068dd1081
Rework cylinder;
2019-01-04 18:01:01 -08:00
bjorn
ea3a77a73a
Many batching improvements; Refactoring;
2019-01-04 18:01:01 -08:00
bjorn
d66057ee70
Avoid redundant strlen in font printing;
2019-01-04 18:01:01 -08:00
bjorn
fae7786c8d
Simplify Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
1c5d73e3da
Make more GPU functions static;
2019-01-04 18:01:01 -08:00
bjorn
ffd7a1202c
rm lovrCanvasIsDirty;
2019-01-04 18:01:01 -08:00
bjorn
709a91ac56
rm Shader.dirty;
2019-01-04 18:01:01 -08:00
bjorn
09832dab8f
rm Mesh.dirty;
2019-01-04 18:01:01 -08:00
bjorn
111cfafaf2
rm lovrMeshDraw;
2019-01-04 18:01:01 -08:00
bjorn
c87645e8ef
Put non-opengl-specific stuff in their own files;
2019-01-04 18:01:01 -08:00
bjorn
fbcee9ac9c
rm lovrTextureGetId;
2019-01-04 18:01:01 -08:00
bjorn
55e889824f
lovrGpuSubmit;
2019-01-04 18:01:01 -08:00
bjorn
62645cde28
Pipeline -> 4 bytes; lineWidth -> uint8_t;
2019-01-04 18:01:01 -08:00
bjorn
561805450d
rm Pipeline.dirty;
2019-01-04 18:01:01 -08:00
bjorn
498c25a544
Move Shader out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
c99527ec2e
Move pointSize out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
9f79dd95f4
Move font out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
29748dc0db
Move color out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
dffcc8c295
Move Canvas out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
030c765c6b
Move backgroundColor out of Pipeline;
2019-01-04 18:01:01 -08:00
bjorn
2ceb474b04
DrawCommand -> DrawRequest;
2019-01-04 18:01:01 -08:00
bjorn
779e28353d
Rebuild math.lua.h;
2019-01-04 02:19:10 -08:00
bjorn
4f716499b0
Fix declspec for math functions;
...
LuaJIT can't find math functions on windows unless they are exported.
2019-01-04 02:18:21 -08:00
bjorn
355aa9612c
Fix redundant lovrAudio initialization;
2018-12-19 02:43:10 -08:00
bjorn
551bf12edd
Minor cleanup;
2018-12-19 02:03:24 -08:00
bjorn
eca8a71c84
Allocate files on the stack when possible;
2018-12-19 01:49:15 -08:00
bjorn
086f7f4e47
lovrRelease frees objects instead of destructor;
...
That way objects allocated on the stack can be destroyed.
2018-12-19 01:41:01 -08:00
bjorn
5b52a91778
mv ref->free ref->destructor;
2018-12-19 01:33:47 -08:00
bjorn
4c9b02a6ff
Release builtin ShaderBlock;
2018-12-19 01:32:54 -08:00
bjorn
9803e9916f
Use naming convention for destructor;
2018-12-19 01:04:42 -08:00
bjorn
155a0c1449
lovr*Create -> lovr*Init; lovr*Create macro;
2018-12-19 01:04:42 -08:00
bjorn
60a12a6b7e
Rename thread module init/destroy;
2018-12-19 01:04:42 -08:00
bjorn
c63c49338a
Make opengl graphics structs more accessible;
2018-12-19 01:04:42 -08:00
bjorn
58950aa20e
_lovrAlloc throws on OOM;
2018-12-19 01:04:42 -08:00
bjorn
ab8e86b9a5
Fix vec3() in LuaJIT;
2018-12-17 20:14:10 -08:00
bjorn
68a0bf4a10
mat4:transformPoint;
2018-12-17 20:07:19 -08:00
bjorn
b0a146919f
Add vec3:length;
2018-12-17 19:32:43 -08:00
bjorn
25b47e62a8
rm Material isDefault;
2018-12-17 14:16:48 -08:00
bjorn
1fb2d6be02
Always use pushliteral when possible;
2018-12-15 21:45:32 -08:00
bjorn
ad10f3bc37
Fix rgb10a2 constant;
2018-12-15 17:35:57 -08:00
bjorn
63f4fa261b
Flush before Canvas resolve;
2018-12-14 16:02:30 -08:00
bjorn
e6b7c41860
Improve lovrDrawData uniform names;
2018-12-14 16:02:25 -08:00
bjorn
28a53e8df5
Sort uniforms in ShaderBlocks;
2018-12-14 16:02:21 -08:00
bjorn
6dae6ecd07
Remove unnecessary breaks in lovrShaderCreateDefault;
2018-12-14 16:02:18 -08:00
bjorn
b34ed206e0
Fix lovrBufferDestroy when Buffer is persistent;
2018-12-14 16:02:11 -08:00
bjorn
762cc64e09
Fix OpenVR events;
...
There was a problem where we were relying on module initialization ordering. Now that modules are initialized in an arbitrary order, we can't guarantee that event will be loaded before headset.
2018-12-14 14:42:35 -08:00
bjorn
3972ddc2ad
rm Cabin;
2018-12-14 10:58:03 -08:00