Commit Graph

157 Commits

Author SHA1 Message Date
mcc b146ad422f Add SDS string library from commit 8dc8d6fb373bdc08eb82a72904841998d30b7cf2 2018-11-06 18:39:12 -05:00
mcc 8301bd7dd8 Remerge oculus-mobile branch with master 2018-11-02 18:10:08 -04:00
mcc 428995b54b Controller support (orientation wrong currently) and time/dt support 2018-11-02 17:35:24 -04:00
mcc dd440b2ada Code cleanup after all these changes, fix build 2018-10-28 15:31:27 -04:00
bjorn f6d5bf325a Move lib/dds.h into data/textureData.h; 2018-10-26 16:56:16 -07:00
mcc b892d0143f Remerge oculus mobile and master branches (to get lovrCanvasCreateFromHandle) 2018-10-25 00:06:39 -04:00
mcc 5ad8fdd3e3 Fixes as far as running without crashes, no display yet 2018-10-24 23:40:11 -04:00
bjorn 0f54190a9f rm weird include in dds.h; 2018-10-24 09:42:32 -07:00
mcc 56f8f1e26b Untested merge of Oculus Mobile branch and Oct 2018 lovr master 2018-10-22 10:44:04 -04:00
mcc 1b7942e02f First pass oculus mobile support
First of several commits, this is the state of hg:6b437880cc01 in my private repo. A version of shakesoda's Oculus-desktop support is tied up in this commit.

The oculus mobile version builds lovr as a library. To run it, you need to use a separate repo which includes this one and which builds an Android app.
2018-10-20 15:22:24 -04:00
bjorn a5256aaa27 Happy little graphics refactors; 2018-08-31 06:03:35 -07:00
bjorn 6058fbc5cd Modify GL extensions;
- rm NV_stereo_view_rendering
- rm NV_viewport_array2
- add AMD_vertex_shader_viewport_index
2018-08-30 00:26:10 -07:00
bjorn 3d691ed087 Use defines to shrink stb_image footprint; 2018-08-16 14:21:24 -07:00
bjorn c3823a6f9a ARB_shader_image_load_store; rm opengl es from glad;
This means we had to remove rgb565 and FRAMEBUFFER_INCOMPLETE_DIMENSIONS.
2018-08-11 00:08:34 -07:00
Bjorn Swenson 06379f33ee
Merge pull request #49 from bjornbytes/shader-block
ShaderBlock
2018-08-07 15:17:06 -07:00
bjorn 085ee71d86 ARB_compute_shader; ARB_program_interface_query; ARB_shader_storage_buffer_object; 2018-08-02 15:34:58 -07:00
bjorn 8405bff070 Use stb_truetype instead of FreeType; 2018-08-02 03:41:21 -07:00
bjorn 7d5f2ba75a Add ARB_viewport_array; 2018-07-21 05:29:43 -07:00
bjorn 86c64e73c1 Add GL_NV_stereo_view_rendering; Add GL_NV_viewport_array2; 2018-07-21 03:03:52 -07:00
bjorn bdde8ac4b9 rm OVR_multiview extension; 2018-07-20 18:12:51 -07:00
bjorn 6933914650 Shift around glfw includes; 2018-07-17 17:21:14 -07:00
bjorn 3c623bdc2e Move around texture helpers; 2018-07-17 17:21:14 -07:00
bjorn 89c8ee3d06 Begin OpenGL quarantine; 2018-07-17 17:21:14 -07:00
bjorn 9208474203 Add noise1234; 2018-07-06 18:27:40 -07:00
bjorn 8217cb4abd Disable stb_vorbis stdio functions; 2018-06-17 02:15:36 -07:00
bjorn f976b47b2d Omit stb_vorbis pushdata API; 2018-06-17 02:10:26 -07:00
bjorn 530667716c Add tinycthread; 2018-02-23 18:37:24 -08:00
bjorn 8ad882e7a4 Add VertexData object; 2018-02-10 17:27:29 -08:00
bjorn c538474339 TextureData:encode; 2018-02-08 20:17:50 -08:00
bjorn ef9c4b782d Add missing include to vertex.h; 2018-01-31 22:31:43 -08:00
bjorn 032788003a VertexData; IndexData; 2018-01-27 12:51:41 -08:00
bjorn 66d0e42908 Refactor VertexFormat; 2018-01-26 19:11:40 -08:00
bjorn ea7f3d48a2 Refactor MeshFormat; 2018-01-26 19:01:41 -08:00
mcc 8052896b33 Restart-without-quit support: lovr.event.quit("restart") and return-from-run() both support the string "restart" in place of an exit code. When this happens, the program reruns itself in a new, isolated environment. In Emscripten, no reboot occurs and the program only quits. 2018-01-25 21:32:16 -05:00
bjorn 2a43269222 Add OVR_multiview extension; 2017-11-27 20:53:46 -08:00
bjorn f7d7098098 Add GL_EXT_texture_sRGB extension; 2017-11-23 13:09:40 -08:00
bjorn c69d6a72d8 Mention ddsparse; 2017-08-09 01:57:18 -07:00
bjorn 4e81bc6cd9 Fix Linux glad include; 2017-08-03 00:57:47 -07:00
bjorn 48733f87c4 Just use EMCSRIPTEN instead of LOVR_WEB; 2017-08-01 12:16:09 -07:00
bjorn 6a13ac5ee1 Don't include glad on web; 2017-07-31 02:41:44 -07:00
bjorn 8bf2048cf2 Use header files for lua libraries; 2017-07-23 23:03:13 -07:00
bjorn cb7ac8e656 Add enet; 2017-07-23 23:03:13 -07:00
bjorn d3ac98e248 rm unused code; 2017-07-23 16:24:43 -07:00
bjorn f1141664b6 Mipmap generation; 2017-07-23 16:24:43 -07:00
bjorn 344320a19d Parse DDS; 2017-07-23 16:24:43 -07:00
bjorn b25d345e72 Add compressed texture formats; 2017-07-23 16:24:43 -07:00
bjorn b76480f9f2 Add texture compression and filter extensions; 2017-07-23 16:24:43 -07:00
bjorn e485f7d628 Fix glad in windows; 2017-06-23 19:42:58 -07:00
bjorn e5a311af09 Add glad for windows; 2017-06-23 19:35:49 -07:00
bjorn 52b203240d Fix mapped buffers for WebGL 2; 2017-06-18 16:19:26 -07:00
bjorn 8beac66db0 OpenGL ES3; Remove glad;
Stop using OpenGL extensions and drop support for OpenGL ES2,
WebGL 1, and OpenGL 2.  Remove glad.
2017-06-18 15:55:01 -07:00
bjorn 0f1acae42a WIP; 2017-04-16 16:56:49 -07:00
bjorn 5fa820215e Windows fix; 2017-04-14 01:00:07 -07:00
bjorn 3e58ce4e55 JSON; 2017-04-13 23:11:03 -07:00
bjorn 9eb4d7b393 Move all window code into graphics module; 2017-04-12 19:48:47 -07:00
bjorn 18ffd4e53b glad; 2017-03-31 03:06:15 -07:00
bjorn b84f72f17e Rename vendor to lib; 2017-03-11 02:19:33 -08:00