云风
95b4e6eaa5
Use getResourceDesc instead of GetDesc, See #1239 ( #2260 )
...
* Use getResourceDesc instead of GetDesc, See #1239
* Fix MSAA on d3d12
2020-09-09 05:52:13 -07:00
Branimir Karadžić
2996246a90
Cleanup.
2020-09-08 07:42:03 -07:00
Kitchen
14f8a097fc
fix error when create backbuffer with msaa and srgb format ( #2258 )
2020-09-07 08:05:33 -07:00
Бранимир Караџић
86402fec24
Updated version number.
2020-09-05 11:24:50 -07:00
Бранимир Караџић
d1685a366a
Fixed build.
2020-09-03 23:45:20 -07:00
Бранимир Караџић
8f4750b199
Cleanup.
2020-09-02 20:43:47 -07:00
云风
03871f12db
fix gcc warnings ( #2253 )
2020-09-01 20:49:08 -07:00
云风
2480ea3dbe
avoid gcc warnings: cast-function-type ( #2252 )
2020-09-01 20:20:03 -07:00
云风
0e1c095c3b
add *_with_layout APIs ( #2251 )
2020-09-01 20:19:14 -07:00
云风
4d6445896e
Add missing VertexLayoutHandle for C APIs ( #2249 )
2020-09-01 08:36:52 -07:00
Бранимир Караџић
e272a31e19
Better frame buffer validation.
2020-08-27 12:42:37 -07:00
Doug Binks
ab036d2a05
Add support for non main thread rendering for WGL and NSGL when developer provides context ( #2241 )
...
* WGL support for passing a context when using renderFrame on non main thread
* NSGL support for passing a context when using renderFrame on non main thread
* WGL: Moved no window warning and added check prior to calling GetDC
2020-08-25 07:47:46 -07:00
Бранимир Караџић
f20fd61e4f
Revert "[ VK/DX12] Bring setScissor on par with the other renderers ( #2239 )"
...
This reverts commit fbd7e9efd6
.
2020-08-22 09:10:49 -07:00
Julian Xhokaxhiu
fbd7e9efd6
[ VK/DX12] Bring setScissor on par with the other renderers ( #2239 )
2020-08-22 09:09:11 -07:00
kingscallop
b297b48e88
Vulkan validation fixes ( #2205 )
...
When resizing the window, there's a race condition between the
validation of vkCreateSwapchainKHR's arguments and the actual
size of the window.
This ignores the validation warning when vkCreateSwapchainKHR succeeds.
On some graphic drivers vkAcquireNextImage and vkQueuePresentKHR
may return VK_SUBOPTIMAL_KHR. This is being handled as an error, which
leads to those frames being unnecessarily skipped.
2020-08-16 21:08:32 -07:00
kingscallop
cb8f6dfcec
Fixes example 08 when using OpenGL ( #2233 )
...
This example was broken on Windows and Linux when using OpenGL.
The code path when using immutable compressed textures was wrong.
2020-08-16 11:42:42 -07:00
Elliot Cuzzillo
9991b63259
improve explanatory comment about _SRGB backbuffers ( #2230 )
2020-08-13 16:00:35 -07:00
Elliot Cuzzillo
8244fdf54d
only use srgb views into non-srgb backbuffers to enable flip presentation model ( #2229 )
2020-08-13 15:45:45 -07:00
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