mcc
8301bd7dd8
Remerge oculus-mobile branch with master
2018-11-02 18:10:08 -04:00
bjorn
654b894ded
Add lovr.graphics.setProjection;
...
It's not very good. It only takes Transforms and sets the projection
for both eyes. And the projection gets reset at the beginning and
end of lovr.headset.renderTo. It's meant to be a backdoor.
2018-10-26 17:17:18 -07:00
mcc
d17dec1b0e
Graphics now draw, although head tracking is not correct
2018-10-26 01:05:28 -04:00
mcc
5ad8fdd3e3
Fixes as far as running without crashes, no display yet
2018-10-24 23:40:11 -04:00
bjorn
8d076f31c1
Fill accepts UV subrect to use;
2018-09-30 18:58:51 -07:00
bjorn
ea331a12be
Fix bugs;
2018-08-31 23:24:59 -07:00
bjorn
a5256aaa27
Happy little graphics refactors;
2018-08-31 06:03:35 -07:00
bjorn
7c21d77a6e
rm singlepass conf flag; Viewports; getSupported.singlepass;
2018-08-30 04:02:58 -07:00
bjorn
ce2dfb523e
Make window mono by default;
...
The window is now mono by default to make the error screen better and better enable non-stereo uses. The Camera can now request that the window be treated as stereo.
2018-08-29 21:22:13 -07:00
bjorn
590668a8d6
lovrGraphicsBlit;
2018-08-29 21:21:38 -07:00
bjorn
8bb45f4de4
Clean up viewports;
2018-08-29 21:21:07 -07:00
bjorn
21a869cc8b
Clean up;
2018-08-29 21:19:41 -07:00
bjorn
1ea3c84be9
Ugly viewport stuff;
2018-08-29 21:19:07 -07:00
bjorn
7e74441afd
getCanvas; setCanvas; Canvas attachments;
2018-08-29 21:18:33 -07:00
bjorn
7795bb9276
I came in like a wrecking ball;
2018-08-29 21:18:32 -07:00
bjorn
7569b7934f
conf flag for singlepass; Shader fixes;
2018-08-23 12:52:18 -07:00
bjorn
0e0ac05c6f
Attempt towards more comprehensive barriers;
2018-08-11 21:17:22 -07:00
bjorn
9ce462a67f
Image uniforms;
2018-08-11 00:08:34 -07:00
bjorn
d961614184
Attempt automatic glMemoryBarrier;
2018-08-11 00:08:34 -07:00
bjorn
902239c017
lovr.graphics.wait; Barrier;
2018-08-11 00:08:34 -07:00
bjorn
5c65fc811f
Change "drawing" to "rendering" in comments;
2018-08-11 00:08:33 -07:00
bjorn
98e518683a
Add computeshaders to lovr.graphics.getSupported;
2018-08-11 00:08:33 -07:00
bjorn
3b51056870
lovr.graphics.compute;
2018-08-11 00:08:33 -07:00
bjorn
1b7261de5c
lovr.graphics.getSupported;
2018-08-03 11:46:21 -07:00
bjorn
2dc79a48a8
Use single pass stereo rendering when supported;
2018-07-21 05:30:13 -07:00
bjorn
c065bda3f0
Some optimization/profiling of state changes;
2018-07-17 18:49:42 -07:00
bjorn
f1f2c7b401
Yay all opengl is in opengl.c;
2018-07-17 17:21:15 -07:00
bjorn
2cf0e15eb0
Morganization; Fix some Canvas issues;
2018-07-17 17:21:15 -07:00
bjorn
f57810cd7a
Morganization;
2018-07-17 17:21:15 -07:00
bjorn
56bbf1cf56
Organization;
2018-07-17 17:21:15 -07:00
bjorn
b4752dd6a1
Yay no GL in graphics.c;
2018-07-17 17:21:15 -07:00
bjorn
89fe9fa894
Organize limits;
2018-07-17 17:21:15 -07:00
bjorn
4239bc46ea
Refactor graphics stats;
2018-07-17 17:21:14 -07:00
bjorn
0ee5d0b8f2
Anonymous materials for draw calls;
2018-07-17 17:21:14 -07:00
bjorn
fe75c666a9
Simplify lovr.graphics.getWidth/Height;
2018-07-17 17:21:14 -07:00
bjorn
b64489b020
Pipeline stack for graphics state; Simplify clearing;
2018-07-17 17:21:14 -07:00
bjorn
e0063995b3
More data driven primitives;
2018-07-17 17:21:14 -07:00
bjorn
e6e8e137c0
Clean up drawing;
2018-07-17 17:21:14 -07:00
bjorn
322c0bdef7
GpuStats;
2018-07-17 17:21:14 -07:00
bjorn
c35415ba66
Move over texture binding;
2018-07-17 17:21:14 -07:00
bjorn
89c8ee3d06
Begin OpenGL quarantine;
2018-07-17 17:21:14 -07:00
bjorn
f903b6014c
Use arrays for enums instead of maps;
2018-07-04 20:11:52 -07:00
bjorn
57c8dfe146
Clean up includes;
2018-07-04 13:51:35 -07:00
bjorn
6ff7292333
Mostly remove instanced stereo rendering;
2018-06-03 17:18:42 -07:00
bjorn
7273811120
Some extra graphics state diffing;
2018-06-02 15:30:26 -07:00
bjorn
c0ea3240c3
Organize drawing code;
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
8b201838b6
Add lovr.graphics.blit for fullscreen quads;
2018-03-22 09:57:44 -07:00
bjorn
4915ca41cc
Make skyboxes really cool;
2018-03-22 09:57:44 -07:00