Commit Graph
2365 Commits
Author SHA1 Message Date
Henrik Rydgard 9bdae8f32e DrawContext: Use uniform buffers on all platforms (simulated where necessary) 2017-02-08 12:55:58 +01:00
Henrik Rydgard fe1b593c15 DrawContext: Initial implementation of dynamic UBO support 2017-02-08 12:26:48 +01:00
Henrik Rydgard 41fecc8c16 More D3D11 basics. Only dynamic constant buffers left, then it should display the UI. 2017-02-07 19:45:09 +01:00
Henrik Rydgard d78d3bb25f Change the API for updating buffers from the CPU to be cleaner 2017-02-07 19:04:44 +01:00
Henrik Rydgard 534a65c610 Remove thin3d buffer->SetData 2017-02-07 18:42:32 +01:00
Henrik Rydgard 691539b428 Stub new UpdateBuffer API 2017-02-07 18:16:52 +01:00
Henrik Rydgard 099b628097 Initial work on D3D11 buffers 2017-02-07 18:04:31 +01:00
Henrik Rydgard 08cebe99fc D3D11: Fix a bunch of errors. Still no buffers or drawing. 2017-02-07 12:12:05 +01:00
Henrik Rydgard abc80ae770 Enough D3D11 to stumble to the first thin3d draw call. Buffers not implemented yet. 2017-02-07 11:44:44 +01:00
Henrik Rydgard e5c20b47cd Add new headers to "dx9sdk" for D3D11. Enable building of the very early d3d11 code. 2017-02-07 09:29:23 +01:00
Henrik Rydgard 55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard be557fc323 Remove fbo_preferred_z_bitdepth 2017-02-06 11:40:16 +01:00
Henrik Rydgard e42f5e6f46 Rename the fbo_ functions to match the rest of DrawContext. 2017-02-06 11:40:16 +01:00
Henrik Rydgard ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard 948e2284fd VK/D3D11 early prep 2017-02-06 11:40:16 +01:00
Henrik Rydgard f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgard 41f770d815 Move dx_state into gfx/d3d9_state 2017-02-05 20:54:24 +01:00
Henrik Rydgard ba52ba8714 Move global.cpp to native/gfx/d3d9_shader.cpp 2017-02-05 20:50:17 +01:00
Henrik Rydgard a8f69e7d64 More DX cleanup 2017-02-05 20:06:56 +01:00
Henrik RydgårdandGitHub 668023967d Merge pull request #9269 from xebra/hw_tess_gles4
Fix supporting gl_InstanceID.
2017-02-01 15:16:25 +01:00
xebra 7bdfbd81af Fix OES_texture_npot to GL_OES_texture_npot. 2017-02-01 21:38:06 +09:00
Henrik RydgårdandGitHub 9b1315b12c Merge pull request #9266 from xebra/hw_tess_gles4
Fix OES_texture_float to GL_OES_texture_float.
2017-02-01 09:27:45 +01:00
zhyk 0629054783 Do not create thread to handle SDL joystick events in Qt build.
Caused crashes on MacOS Sierra (10.12).
2017-02-01 14:37:36 +08:00
xebra 918bee8801 Add support OES_texture_half_float. 2017-02-01 14:37:03 +09:00
xebra 51c34e8157 Fix OES_texture_float to GL_OES_texture_float. 2017-02-01 12:30:36 +09:00
xebra d6fe5d4ba0 Add supports floating-point-texture into GL extensions. 2017-01-31 23:37:05 +09:00
Henrik Rydgard 5d78fbdf21 Buildfix 2017-01-30 16:03:03 +01:00
Henrik Rydgard 20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgard 5b1b4329fd GL: some extra error checks for texture loading 2017-01-29 14:19:58 +01:00
Henrik Rydgard 363ba8dc16 Quickfix software rendering with the GL backend enabled.
Will make a cleaner solution later. Fixes #9247
2017-01-28 16:55:23 +01:00
Henrik Rydgard 52a4467a46 Disable the GPU mutex in single core mode. On some platforms it's expensive enough to show up in profiles even though it's useless. 2017-01-27 10:17:44 +01:00
Henrik Rydgård f5cef88e14 Workaround for exit crash on Android. Need to rethink this... 2017-01-26 11:57:48 +01:00
Henrik Rydgård ec20cf7f88 QT buildfix attempt 2017-01-24 20:59:47 +01:00
Henrik Rydgård 9d5371a8ba Thin3d: More rigorous handling of RGBA4444 texture formats 2017-01-24 20:59:00 +01:00
Henrik Rydgård 5d6097d33c Add infrastructure for checking for supported DataFormats 2017-01-24 20:59:00 +01:00
Henrik Rydgård 528af8a939 Simplification around textures 2017-01-24 20:59:00 +01:00
Henrik Rydgård d8dbb8389b Make buffer binding more Vulkan/Metal-like 2017-01-24 20:59:00 +01:00
Henrik Rydgård 58ecda4e4b Minor D3D11 work (input layouts) 2017-01-24 20:59:00 +01:00
Henrik Rydgård 411d31ffe0 Typo fix 2017-01-24 20:59:00 +01:00
Henrik Rydgård 8654d42528 DrawContext API change: introduce TextureDesc 2017-01-24 20:59:00 +01:00
Henrik Rydgård d2c4cbacad Delete unnecessary form of CreateTexture 2017-01-24 20:58:59 +01:00
Henrik Rydgård 5e92a94175 Buildfix 2017-01-24 20:58:59 +01:00
Henrik Rydgård 6a7d3a3910 Break out image file management from DrawContext (thin3d) 2017-01-24 20:58:59 +01:00
Henrik Rydgård 4199eb3493 More D3D11 2017-01-24 20:58:59 +01:00
Henrik Rydgård 1c337f72bb Slightly saner way to choose shaders depending on language. More work needed. 2017-01-24 20:58:59 +01:00
Henrik Rydgård c79712d9f9 Thin3D backends can report which shader languages they support 2017-01-24 20:58:59 +01:00
Henrik Rydgård 377561865a A little more D3D11, BlendFactor 2017-01-24 20:58:59 +01:00
Henrik Rydgard a67e3279eb MSVC build: Enable multiprocessor compilation for the glslang project 2017-01-21 17:13:51 +01:00
Henrik Rydgård 3eaa815704 Qt buildfix 2017-01-17 21:20:11 +07:00
Henrik Rydgård 1b158c116c UI: Fix scissor test issues introduced recently 2017-01-17 20:26:48 +07:00