739 Commits

Author SHA1 Message Date
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
Henrik Rydgård
e47138a5f3 Warning fixes 2017-01-17 20:26:48 +07:00
Henrik Rydgård
901ccc9486 Buildfixes 2017-01-17 18:57:04 +07:00
Henrik Rydgård
a1016b646e SmallWindow on Windows: Recreate fonts when DPI changes, fixing the worst overlap issues. 2017-01-17 17:57:32 +07:00
Henrik Rydgård
0be02f6de0 Improve smallwindow detection, code cleanup. 2017-01-17 17:21:00 +07:00
Henrik Rydgård
2caf21a960 A max font-string texture width of 1024 is not enough pixels in 250% DPI... 2017-01-16 21:21:31 +07:00
Henrik Rydgård
8b5048be72 Fix high-DPI rendering/input on Windows 2017-01-16 20:53:41 +07:00
Henrik Rydgård
8ebb91b16a Update glslang (see #9178) 2016-12-29 22:52:32 +01:00
Henrik Rydgård
39408a4adc A bit more D3D11 2016-12-27 11:59:16 +01:00
Henrik Rydgård
5af8b152e1 Further buildfixes 2016-12-27 11:59:12 +01:00
Henrik Rydgård
674937a520 Extend some enums with potentially useful values 2016-12-27 11:59:12 +01:00
Henrik Rydgård
e4f18dd220 D3D9 color mask support (merge with above) 2016-12-27 11:59:11 +01:00
Henrik Rydgård
6fef65b8f1 Another non-Windows buildfix 2016-12-27 11:59:11 +01:00
Henrik Rydgård
10e4d4db14 Draw: Preliminary stencil implementation. Two-sided only implemented for Vulkan. 2016-12-27 11:59:11 +01:00
Henrik Rydgård
cbf4e5f38c Implement colormask 2016-12-27 11:59:11 +01:00
Henrik Rydgård
2952588a54 Add a selection of device caps to check for features. Unfinished. 2016-12-27 11:59:11 +01:00
Henrik Rydgård
13153cb3c3 Buildfix draw_text on non-Windows 2016-12-27 11:59:11 +01:00
Henrik Rydgård
9f2e83b66c Bundle up more state in the pipeline object. Lets us get rid of Vulkan's pipeline cache. 2016-12-27 11:59:11 +01:00
Henrik Rydgård
8d84fb75c7 Remove ShaderSet presets 2016-12-27 11:59:10 +01:00
Henrik Rydgård
1ed7f0d7fd More modern way to specify vertex data format (inputlayout) 2016-12-27 11:59:10 +01:00
Henrik Rydgård
166243e0fd Make pipelines bound state 2016-12-27 11:59:10 +01:00
Henrik Rydgård
4462a8cc99 Rename ShaderSet to Pipeline. Get rid of scissorEnable setting (scissor is always enabled). 2016-12-27 11:59:10 +01:00
Henrik Rydgård
e56f251f74 Make ShaderSet support more than just fshader/vshader 2016-12-27 11:59:10 +01:00
Henrik Rydgård
3de4a38527 More renaming to match 2016-12-27 11:59:10 +01:00
Henrik Rydgård
cce1ee332b More complete DataFormat enum 2016-12-27 11:59:10 +01:00
Henrik Rydgård
425940b433 More renaming 2016-12-27 11:59:07 +01:00
Henrik Rydgård
c7c541f926 Add DepthStencilStateDesc 2016-12-27 11:59:06 +01:00