Commit Graph
66 Commits
Author SHA1 Message Date
Henrik Rydgård 7520c0e273 UWP: Don't try to use dual source blending on D3D9 feature level devices. 2017-03-10 00:12:57 +01:00
Henrik Rydgard 042d09a049 Fix #9390, also unbreak D3D11 screenshots 2017-03-05 20:30:39 +01:00
Henrik Rydgard 116edcb77a Take the D3D11 feature level into account when creating shaders. May help #9369 2017-03-05 12:31:33 +01:00
Henrik Rydgard 85717a981c Show feature levels in System Info, allow lower D3D11 feature levels 2017-03-05 11:05:36 +01:00
Henrik Rydgard 340f0cff2c Prepare for supporting manual screen rotation 2017-03-05 10:54:45 +01:00
Henrik Rydgard e9f2f82863 Windows Mobile 10 D3D11 fixes 2017-03-05 10:15:56 +01:00
Henrik Rydgard 5de190a45f D3D11: Move the responsibility for the swapchain out of the DrawContext so it can be used with differently-managed D3D like with UWP.
Minor cleanups.
2017-02-27 10:10:24 +01:00
Henrik Rydgard c219ae9e63 Further UWP fixes 2017-02-25 09:57:24 +01:00
Henrik Rydgard f5fa238e22 More minor changes to make GPU and native build on UWP later 2017-02-24 20:26:38 +01:00
Henrik Rydgard 79bd01efb8 D3D11: Add support for viewing the depth and stencil buffers in the GE debugger 2017-02-23 16:27:26 +01:00
Henrik Rydgard f24b1495ba Assorted texture format cleanup, prep for supporting D3D11 on Win7 2017-02-22 16:23:04 +01:00
Henrik Rydgard fd20788a67 Missing initialization, warning fixes, fix display of tabs in fast text drawing 2017-02-20 11:21:07 +01:00
Henrik Rydgard eabcb22623 Refactor away SetImageData 2017-02-19 11:02:24 +01:00
Henrik Rydgard d7238c39e9 Disable logic ops, the D3D11 debug layer says they don't work anyway.. 2017-02-18 12:17:51 +01:00
Henrik Rydgard 5a0ee6cc36 Add some plumbing to be able to reach DX11.1 features. 2017-02-18 01:54:28 +01:00
Henrik Rydgard 6a09d45aee D3D11: Add proper checks for B4G4R4A4 format support. Not yet using the checks. 2017-02-18 01:41:08 +01:00
Henrik Rydgard 584650a0c2 Initial preparations for logic op support 2017-02-18 01:41:08 +01:00
Henrik Rydgard e8396b10f9 D3D11: Implement screenshots. 2017-02-18 00:43:02 +01:00
Henrik Rydgard 0e8aeaea3a D3D11: Implement basic framebuffer readback.
Also make debug interfaces more consistent.
2017-02-18 00:07:49 +01:00
Henrik Rydgard 522ac5c739 Add an escape route to D3D9 in case D3D11 fails to initialize. Cleanups. 2017-02-17 19:53:24 +01:00
Henrik Rydgard f8305e8e47 Windows: Add main menu item for Direct3D11 2017-02-17 16:04:00 +01:00
Henrik Rydgard 4538edad14 Work towards enabling shader blending on D3D11 2017-02-17 12:21:18 +01:00
Henrik Rydgard 5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Henrik Rydgard 77d087776c D3D11: Support window resize 2017-02-14 11:21:53 +01:00
Henrik Rydgard 94860b6636 Additional D3D11 fixes 2017-02-13 01:38:52 +01:00
Henrik Rydgård 6033b1ee05 D3D11: Some cleanup. Fix backface culling. Wipeout still looks weird... 2017-02-12 18:29:58 +01:00
Henrik Rydgård 07c88ef2b0 D3D11: Fix reverse colors in drawpixels, fix a potential crash 2017-02-12 12:07:37 +01:00
Henrik Rydgård abbd6cb1d1 Fix DrawActiveTexture, now Buffered Rendering is starting to work 2017-02-12 11:20:55 +01:00
Henrik Rydgard a8dc9360f0 D3D11: Fix clears 2017-02-10 10:32:32 +01:00
Henrik Rydgard 5ee3b534ed More D3D11 improvements 2017-02-10 10:26:18 +01:00
Henrik Rydgard ba95e0f4d9 Initial stab at porting the DX9 backend to D3D11. Not working yet. 2017-02-09 13:28:40 +01:00
Henrik Rydgard 9dd3e18ed4 Fix two minor issues with D3D UI 2017-02-08 17:09:59 +01:00
Henrik Rydgard 096018a163 Texcache: Unify AttachFramebuffer, misc 2017-02-08 15:37:40 +01:00
Henrik Rydgard a846c4f68f More assorted D3D11 fixes. The samplemask in SetBlendState was the problem. 2017-02-08 14:55:03 +01:00
Henrik Rydgard 768c87ebd3 Fix another D3D11 bug, still no dice... 2017-02-08 13:36:20 +01:00
Henrik Rydgard 82f8bfeb66 DrawContext: Remove the old way of setting uniforms 2017-02-08 13:07:38 +01:00
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 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