lovr/src/api
bjorn 709a41a352 Do more rendering work when lovr.draw is missing;
- The lovr.headset.renderTo callback can now be nil, causing an empty frame to be submitted to the compositor.
- lovr.mirror will still be called if lovr.draw is nil.  This means the window will be (correctly?) cleared to the background color now if lovr.draw is nil.

This prevents runtimes from thinking the app is missing/unresponsive when lovr.draw is absent.  To get the old behavior, just don't call lovr.headset.renderTo.
2021-02-05 15:03:06 -07:00
..
api.c api doesn't include util; 2020-12-25 12:50:26 -07:00
api.h api doesn't include util; 2020-12-25 12:50:26 -07:00
l_audio.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_audio_microphone.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_audio_source.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_data.c Easier enums; 2020-09-27 17:13:00 -07:00
l_data_audioStream.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_data_blob.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_data_modelData.c api: try new file naming convention; Tupfile: cleanup; 2019-12-31 19:31:44 -08:00
l_data_rasterizer.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_data_soundData.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_data_textureData.c TextureData:encode returns Blob; rm core/png; 2020-11-12 18:08:05 -07:00
l_event.c KeyCode -> KeyboardKey because X11 conflict; 2020-11-15 22:51:20 +00:00
l_filesystem.c lovr.filesystem.write/append take Blobs; 2021-01-20 10:55:10 -07:00
l_graphics.c Fix MSVC warnings; 2020-11-12 18:08:05 -07:00
l_graphics_canvas.c api: try new file naming convention; Tupfile: cleanup; 2019-12-31 19:31:44 -08:00
l_graphics_font.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_graphics_material.c Easier enums; 2020-09-27 17:13:00 -07:00
l_graphics_mesh.c Fix MSVC warnings; 2020-11-12 18:08:05 -07:00
l_graphics_model.c Easier enums; 2020-09-27 17:13:00 -07:00
l_graphics_shader.c Easier enums; 2020-09-27 17:13:00 -07:00
l_graphics_shaderBlock.c Easier enums; 2020-09-27 17:13:00 -07:00
l_graphics_texture.c Easier enums; 2020-09-27 17:13:00 -07:00
l_headset.c Do more rendering work when lovr.draw is missing; 2021-02-05 15:03:06 -07:00
l_lovr.c Plugins; 2020-12-28 12:37:35 -07:00
l_math.c Create empty curve with specified number of points 2020-11-13 17:53:37 +01:00
l_math_curve.c Optimize Curve:render; 2020-08-28 03:57:39 -06:00
l_math_randomGenerator.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_math_vectors.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_physics.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_physics_collider.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_physics_joints.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_physics_shapes.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_physics_world.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_thread.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_thread_channel.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_thread_thread.c api doesn't include util; 2020-12-25 12:50:26 -07:00
l_timer.c Support Lua 5.2, 5.3, 5.4; 2020-08-19 13:12:57 -06:00