Commit Graph

672 Commits

Author SHA1 Message Date
Triang3l
5c291d0589 [D3D12] Remove unneeded code things from pools 2020-09-17 22:55:16 +03:00
Triang3l
3236d0ae75 [D3D12] Fix DescriptorHeapPool closing comment 2020-09-17 22:01:41 +03:00
Triang3l
1a2462efc2 Merge branch 'master' into vulkan 2020-09-17 21:41:45 +03:00
Triang3l
7c2245bb94 [UI] Remove GraphicsUploadBufferPool double include 2020-09-17 21:39:11 +03:00
Triang3l
189a38826f [UI] UploadBufferPool common code 2020-09-17 21:37:44 +03:00
Triang3l
26b01e9c31 Merge branch 'master' into vulkan 2020-09-15 23:22:17 +03:00
Triang3l
2cebd3cabe [D3D12] Unify UploadBufferPool page size (2 MB), add alignment parameter 2020-09-15 22:13:53 +03:00
Triang3l
dfbe36a8aa [UI/D3D12] Small refactoring, allow BeginSwap to return false if no surface 2020-09-14 23:27:19 +03:00
Triang3l
203bf64d88 [Vulkan] Context, remove Volk 2020-09-13 17:51:00 +03:00
Triang3l
dfa181a529 [Vulkan] Provider init, Android platform defines 2020-09-06 22:08:36 +03:00
Triang3l
df1db5c627 [D3D12] Make the feature list in the log sorted again 2020-09-06 22:08:36 +03:00
Triang3l
fed33be62b [D3D12] Non-zeroed heaps on 2004 2020-09-06 22:08:36 +03:00
Triang3l
524201eca4 [GPU/D3D12] Letterboxing cropping to action-safe area 2020-09-06 22:08:36 +03:00
Triang3l
acb1fc059f [D3D12] Make the feature list in the log sorted again 2020-09-06 00:57:00 +03:00
Triang3l
38e0cc4941 [D3D12] Non-zeroed heaps on 2004 2020-09-06 00:52:30 +03:00
Triang3l
0be0eb2b38 [GPU/D3D12] Letterboxing cropping to action-safe area 2020-09-05 17:47:32 +03:00
Triang3l
7b93670dbd [Vulkan] Remove old Vulkan code, change shaders directory, create empty Vulkan backend 2020-08-31 21:44:29 +03:00
Triang3l
1e9ee8f43b [D3D12] Change most subsystem pointers to references 2020-08-30 22:07:35 +03:00
Triang3l
c5dd7403f0 [D3D12] Change swap chain format to BGRA 2020-08-30 18:59:53 +03:00
Triang3l
deff124ce5 [D3D12] Add xenia-ui-window-d3d12-demo 2020-08-30 16:56:06 +03:00
Triang3l
dffdf92e39 [Vulkan] Remove stillborn vk project 2020-08-22 23:31:52 +03:00
Triang3l
0c13b239fd [D3D12] DXILConv disassembly dumping option 2020-08-22 23:15:50 +03:00
Triang3l
bd5f77bc3b [GPU] Common resolve code based on compute shaders, swap MSAA samples 1 and 2, change ROV write rounding, random refactoring 2020-08-09 21:33:10 +03:00
Joel Linn
993393a939 [ImGui] Fix context initialization.
Every context after the first wasn't initialized properly.
2020-07-12 08:56:45 -05:00
Triang3l
79413345af [C++17] static constexpr variables are implicitly inline now 2020-07-11 16:44:57 +03:00
Triang3l
713f26b5c8 [D3D12] Use typed buffers for texture untiling, calculate guest address once per thread 2020-07-03 20:03:53 +03:00
Triang3l
40e335e2a9 [D3D12] Bindless textures/samplers 2020-06-19 23:52:33 +03:00
Triang3l
cf0ddc7549 [D3D12] Disable the proper D3D12 warning about render targets 2020-05-17 13:32:19 +03:00
Triang3l
b7a5c24bb1 [D3D12] d3d12_break_on_error + fix PerformSwap descriptor heap wrap 2020-05-17 00:26:04 +03:00
Triang3l
8f91e580f4 [D3D12] d3d12_queue_priority cvar 2020-05-04 18:55:31 +03:00
Triang3l
62919330b9 [D3D12] Add missing initialization failure handling 2020-05-04 17:15:51 +03:00
Joel Linn
6a1c134cf3 [UI] Capture mouse. 2020-04-23 15:44:58 -05:00
Joel Linn
d1315438f3 [HID] Extend demo to show keystrokes. 2020-04-23 15:44:58 -05:00
Joel Linn
3d2982e845 [ImGui] Fix drawing lines.
ImGui does not orientate triangles.
Culling must not be applied in immediate drawer.
2020-04-19 01:38:58 +02:00
gibbed
2cc473f60b [UI] Initialize handle in ImmediateTexture. 2020-04-13 12:57:14 -05:00
gibbed
112c66df69 [UI] Fix window file drop handling. 2020-04-10 08:33:53 -05:00
gibbed
ed04d96e67 Avoid using '#' format spec for X hex numbers.
Avoid using '#' format spec for X (uppercase) hex numbers, as it
results in output like "0XABCDEF" instead of "0xABCDEF".
2020-04-09 11:25:08 -05:00
Sandy Carter
c8e64da4eb filesystem: use std for PathExists
Remove custom platform implementation of `PathExists` and replace uses
with `std::filesystem::exists`.
2020-04-09 09:44:48 -05:00
gibbed
a48bb71c2f Overhaul logging. 2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445 C++17ification.
C++17ification!

- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
  std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
Triang3l
c7cb964b4e [D3D12] Recompile immediate_ps after the change to SampleLevel 2020-02-20 08:57:16 +03:00
Silent
d3a73022fd [UI] Remove MAX_PATH limit from WM_DROPFILES
Also required const-ifying a file drop message.
2020-02-09 14:02:22 -06:00
Joel Linn
f0723c211b [UI] Fix frame leak on context loss. 2020-02-05 09:48:31 -06:00
Joel Linn
2c99228041 [UI] Use ticks as frame time instead of file time.
File time is not as accurate as its resolution suggests.
This results in a zero time delta between frames for high fps.
2020-02-05 09:48:31 -06:00
gibbed
43cef29c6d [UI] Disable saving of imgui INI file.
By default imgui saves an INI file named 'imgui.ini' to the current directory,
which is undesired behavior. Until we can properly specify a full path to
a good location, disable saving of the INI file.
2019-11-30 18:54:15 -06:00
Joel Linn
03d5455a2f [imgui] Fixes to work with new api.
- Font atlas is now owned by context.
- Switch from deprecated io.RenderDrawListsFn callback to dedicated call in window.cc.
- Replaced deprecated ImGuiCol_ModalWindowDarkening with ImGuiCol_ModalWindowDimBg.
- Replaced deprecated SetScrollHere() with SetScrollHereY().
- Replaced deprecated GetContentRegionAvailWidth() with GetContentRegionAvail().x.
- Replaced deprecated ShowTestWindow() with ShowDemoWindow().
- Replaced deprecated ImGuiCol_ChildWindowBg with ImGuiCol_ChildBg.
- Replaced deprecated SetNextTreeNodeOpen() with SetNextItemOpen().
2019-11-20 08:05:40 -06:00
Joel Linn
1985169924 [imgui] Make code compile with new imgui. 2019-11-20 08:05:40 -06:00
Triang3l
d4a5a57867 [D3D12] Remove command_list.h inclusion 2019-11-06 08:08:49 +03:00
Triang3l
c8f3c93802 [D3D12] Don't create multiple command lists as they're just encoders 2019-11-06 08:06:12 +03:00
Triang3l
9deb710607 [D3D12] CP: Framework for multiple command lists per frame 2019-10-31 23:33:11 +03:00