Commit Graph

2892 Commits

Author SHA1 Message Date
James Fulop
276598ad50 fixes for d3d12 texture update (#2220)
---
* support for compressed textures
* support for emulated textures
* fix for incorrect copyable footprint dims
2020-07-28 07:49:22 -07:00
Бранимир Караџић
825ce15d1f Cleanup. 2020-07-27 21:55:54 -07:00
Бранимир Караџић
18a7fa7f72 Cleanup. 2020-07-27 16:56:27 -07:00
Бранимир Караџић
046e930636 Cleanup. 2020-07-27 16:47:19 -07:00
Бранимир Караџић
725438583e DXGI: Fixed allow tear. 2020-07-27 14:57:34 -07:00
Бранимир Караџић
f89520db89 Cleanup. 2020-07-26 21:00:32 -07:00
Wencey Wang
1f53c6c246 Fix reference release (#2217)
* Fix reference release

* Use DX_RELEASE
2020-07-26 20:59:45 -07:00
Бранимир Караџић
81a2b8d46a Validate is texture created as readback. 2020-07-26 09:38:06 -07:00
Бранимир Караџић
679730fc4e Cleanup. 2020-07-25 16:24:24 -07:00
Wencey Wang
8524982c30 add SwapChainPanel support (#2215) 2020-07-25 16:17:05 -07:00
Бранимир Караџић
0123831126 Fixed release build. 2020-07-24 20:35:08 -07:00
Бранимир Караџић
486fdecbcc Cleanup. 2020-07-24 14:55:03 -07:00
Edu Garcia
f95a596851 Don't call vkCmdEndDebugUtilsLabelEXT when unsupported (#2211)
Validation will swamp your logs with a warning on every call
2020-07-24 08:58:31 -07:00
James Fulop
a40c3e6d45 add missing semicolon (#2207) 2020-07-22 20:31:08 -07:00
Cedric Guillemet
3d06fbe815 re-init metal swapchain when providing a new native window handle (#2206) 2020-07-22 08:47:57 -07:00
kingscallop
ff9f624b9b Improves handling of window resizes on vulkan (avoids crashes) (#2123)
* Improves handling of window resizes on vulkan (avoids crashes)

* Change to previous commit as requested.
Rebased and added refresh swapchain check inside updateResolution(),
similar to renderer_d3d12.cpp.
2020-07-18 13:41:35 -07:00
kingscallop
6093250a3b Fix crash on window minimize on vulkan renderer (#2204)
On some platforms (Windows) the framebuffer size becomes 0x0 when
the window is minimized. This leads to a validation error and
subsequently crashes.

This change correctly cleans up semaphores and the swapchain.
2020-07-18 11:42:53 -07:00
Бранимир Караџић
4f3d1875e6 Cleanup. 2020-07-17 19:59:43 -07:00
Бранимир Караџић
7f7e165bf2 Updated version number. 2020-07-15 10:42:46 -07:00
Julian Xhokaxhiu
daec25b6d0 OpenGL: Disable scissor testing while blitting framebuffers when MSAA is enabled (#2200) 2020-07-14 07:47:48 -07:00
Бранимир Караџић
7479651dc8 Added ability to disable discrete GPU selection. 2020-07-06 12:29:05 -07:00
Бранимир Караџић
006548e00f Fixes for D3D12 on Linux. 2020-07-02 19:50:09 -07:00
BorisShir
290ffcf341 Fixing problem with Android armv7 optmization which causes alignment violation (#2188)
* Fixing problem with Android armv7 optmization which causes alignment violation
2020-06-30 08:30:30 -07:00
Бранимир Караџић
5b05c6c09e Cleanup. 2020-06-24 17:57:35 -07:00
Gary Hsu
34fbc579ea Fix some uninitialized variables (#2182) 2020-06-24 15:44:43 -07:00
Бранимир Караџић
a95ddd1c0c Reemoved use of old LineReader. 2020-06-20 15:14:54 -07:00
Бранимир Караџић
d5d3d29e9c Cleanup. 2020-06-20 14:29:25 -07:00
Бранимир Караџић
54e4b60055 Cleanup. 2020-06-20 14:05:18 -07:00
Бранимир Караџић
7f333698cc Cleanup. 2020-06-20 13:20:20 -07:00
Бранимир Караџић
ce4fecc53e Cleanup. 2020-06-19 20:39:19 -07:00
Бранимир Караџић
38ac02695d Fixed emscripten build. 2020-06-19 20:36:44 -07:00
Бранимир Караџић
3f6d049470 Fixed Emscripten function calls. 2020-06-19 09:31:32 -07:00
Бранимир Караџић
6af3f28935 Cleanup. 2020-06-18 21:22:09 -07:00
Бранимир Караџић
d86c16213e Cleanup. 2020-06-18 21:20:01 -07:00
Бранимир Караџић
4f0ff97ec7 Fixed build. 2020-06-17 23:17:47 -07:00
Бранимир Караџић
2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
Бранимир Караџић
ee78de075c Cleanup. 2020-06-16 08:25:54 -07:00
Бранимир Караџић
5b42be38ec Cleanup. 2020-06-15 16:21:55 -07:00
Бранимир Караџић
867b47bd40 Cleanup. 2020-06-15 10:34:47 -07:00
Бранимир Караџић
0f8c6aed5c Fixed max encoders in single-threaded mode bug. 2020-06-15 10:30:51 -07:00
Justin Murray
86bd3ad9ad Broadened bypass mechanism for bgfx default headers in the OpenGL renderer. This reflects the fact that, if the first line of a shader is already a #version declaration, we never want to write lines above that regardless of what version is declared. (#2168) 2020-06-12 21:16:06 -07:00
Бранимир Караџић
ad09986c6c Cleanup. 2020-06-06 14:49:46 -07:00
Julian Xhokaxhiu
7c24f1bc24 Fix Intel GPU initialization context (#2161)
This will fix some weird green lines appearing only on Intel GPUs, while using OpenGL.
2020-06-06 21:45:39 +00:00
Бранимир Караџић
05dcebb53a Removed useless check. 2020-06-06 09:13:56 -07:00
juj
75384ccfe1 Add checks for Emscripten API return values to make sure API calls are not failing (#2160) 2020-06-05 07:34:11 -07:00
Бранимир Караџић
10dfece7ec VK: Fixed caps. 2020-06-03 20:38:34 -07:00
Бранимир Караџић
0ca67d5940 VK: Detect maxTextureLayers. 2020-06-03 19:04:15 -07:00
Бранимир Караџић
40d7c6e98f Cleanup. 2020-06-03 18:13:52 -07:00
Бранимир Караџић
d5f6a34a78 Updated version number. 2020-06-03 17:59:11 -07:00
Бранимир Караџић
8065659e90 Added configurable minimum resource command buffer size. 2020-06-03 17:58:54 -07:00