Commit Graph

21020 Commits

Author SHA1 Message Date
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
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
9b439e4c43 Remove Thin3D prefix on more things 2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgård
88ad1cb3d8 Attempt to workaround #9190 2016-12-27 11:55:45 +01:00
Henrik Rydgård
619f91866a Merge pull request #9184 from hrydgard/d3d11-groundwork
Some preparations for D3D11
2016-12-25 18:17:40 +01:00
Henrik Rydgård
9a29626ad0 Buildfix for Qt 2016-12-25 16:28:19 +01:00
Henrik Rydgård
9658c8dd5c Basic D3D11 context setup code 2016-12-25 11:37:26 +01:00
Henrik Rydgård
b60ad37146 Remove blend and sampler state presets, they didn't save any code 2016-12-25 11:37:23 +01:00
Henrik Rydgård
97d029972e Rename SetTextures to BindTextures 2016-12-25 11:31:33 +01:00
Henrik Rydgård
1c0c755b03 Extract RasterState from thin3d, for easier d3d11 porting 2016-12-25 11:31:33 +01:00
Henrik Rydgård
4a3938958c Thin3D: Unified DataFormat enum 2016-12-25 11:31:33 +01:00
Henrik Rydgård
92db2b0ac0 Update dx9sdk submodule (moved some dx11 headers out of the way) 2016-12-25 11:24:19 +01:00
Henrik Rydgård
ae709ed1dd Fix bug in word wrapper 2016-12-25 11:08:27 +01:00
Henrik Rydgård
d97b3d6d23 Merge pull request #9182 from adenovan/crosslinks
crosslink database & product id database
2016-12-24 11:15:21 +01:00
Gde Made Novan Priambhada
bb973545e1 crosslink database & product id database 2016-12-24 05:46:50 +08:00
Henrik Rydgard
d43b3ef73f Minor cleanup in thin3d 2016-12-22 13:25:42 +01:00
Henrik Rydgård
e3bca489be Merge pull request #9179 from hrydgard/more-gpu-centralization
More gpu centralization
2016-12-22 10:43:32 +01:00
Florent Castelli
47ee86ebc4 Merge pull request #9180 from hrydgard/glew_fix
cmake: Fix system GLEW usage
2016-12-22 00:29:14 +01:00
Florent Castelli
c35f6c160b cmake: Fix system GLEW usage 2016-12-21 22:53:28 +01:00
Henrik Rydgard
c96bc7b649 Update glslang submodule 2016-12-21 20:50:25 +01:00
Henrik Rydgard
dc5c0c0d2d Centralize ProcessEvent 2016-12-21 20:02:05 +01:00
Henrik Rydgard
7634ff7f09 Centralize a few more functions, fix DX9 2016-12-21 18:51:19 +01:00
Henrik Rydgard
98ebf9ed6f Centralize PerformStencil* and Invalidate* functions 2016-12-21 18:33:08 +01:00
Henrik Rydgard
866d4a645f Centralize "PerformMemory*" functions 2016-12-21 18:26:06 +01:00
Henrik Rydgard
e15cba0e1b Centralize "Resized()" 2016-12-21 18:13:58 +01:00
Henrik Rydgard
7e46a153c0 Centralize DoBlockTransfer between the GPUs.
Required adding a pointer to the framebuffer manager and texture cache in
GPUCommon, which took a little bit of refactoring.
2016-12-21 18:07:17 +01:00
Henrik Rydgard
bb4920298b ios/ViewController.mm : Add a comment about a future optimization 2016-12-21 17:40:33 +01:00
Henrik Rydgard
49ce7178f5 Fix bug when showing shader IDs in the shader viewer 2016-12-21 15:50:20 +01:00
Henrik Rydgård
8222a66d00 Merge pull request #8950 from hrydgard/audio-linear-interpolation
WIP: SasAudio: Implement linear interpolation
2016-12-20 23:27:22 +01:00
Henrik Rydgard
1e095951dd Replace while loop with division (technically a right shift). 2016-12-20 22:02:40 +01:00
Henrik Rydgard
ff4b99dd97 Replace for-loop with multiplication 2016-12-20 21:52:25 +01:00