dawn-cmake/src/common
Corentin Wallez 8a9919980f Don't leak buffers if MapAtCreation fails.
This required changing DeviceBase::CreateBufferImpl to return
ResultOrError<Ref<BufferBase>>

Bug: chromium:1103154
Change-Id: I1a5811d293333b6ef29c988a08f2f1f84ac65702
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24500
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-07-08 19:45:40 +00:00
..
Assert.cpp fuzzing: When fuzzing, always ASSERT, and abort() instead of SIGTRAP 2019-12-19 16:07:58 +00:00
Assert.h Rename NXT -> Dawn in the comments 2018-07-18 22:54:06 +02:00
BUILD.gn Broaden -Wno-tautological-type-limit-compare 2020-07-02 09:21:08 +00:00
BitSetIterator.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
CMakeLists.txt Add TypedInteger 2020-06-17 22:35:19 +00:00
Compiler.h Add support for multisampled sampling 2020-06-19 16:21:33 +00:00
Constants.h Added constraints for too large uniform buffer bindings 2020-06-30 18:49:20 +00:00
DynamicLib.cpp Rename src/common macros NXT_* to DAWN_* 2018-07-18 22:54:06 +02:00
DynamicLib.h Rename the copyright authors from NXT to Dawn 2018-07-18 22:54:06 +02:00
GPUInfo.cpp Skip Float16 TextureFormatTests on Swiftshader 2020-04-09 08:16:30 +00:00
GPUInfo.h Skip Float16 TextureFormatTests on Swiftshader 2020-04-09 08:16:30 +00:00
HashUtils.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
LinkedList.h Fix ASAN violation when a heap outlives the ResidencyManager 2020-04-16 23:59:03 +00:00
Log.cpp Namespace Log.h/cpp in dawn:: 2019-12-06 18:21:39 +00:00
Log.h Namespace Log.h/cpp in dawn:: 2019-12-06 18:21:39 +00:00
Math.cpp Reland "D3D12: Stage BindGroups on CPU descriptor heaps." 2020-04-06 22:07:42 +00:00
Math.h Reland "D3D12: Stage BindGroups on CPU descriptor heaps." 2020-04-06 22:07:42 +00:00
PlacementAllocated.h Add SlabAllocator and tests 2020-03-04 17:48:24 +00:00
Platform.h Allow compilation of Dawn on Android 2019-11-28 09:40:54 +00:00
RefCounted.cpp Don't leak buffers if MapAtCreation fails. 2020-07-08 19:45:40 +00:00
RefCounted.h Allow Ref<Derived> -> Ref<Base> assignment, and move operations 2020-04-22 20:34:00 +00:00
Result.cpp Add an implementation of Result<const T*, E*> 2019-07-17 19:01:50 +00:00
Result.h Use Ref<TextureBase> instead of TextureBase* in more places 2020-04-23 19:47:12 +00:00
Serial.h Rename the copyright authors from NXT to Dawn 2018-07-18 22:54:06 +02:00
SerialMap.h Factor SerialQueue into SerialQueue and SerialMap 2018-11-28 17:30:12 +00:00
SerialQueue.h Add Create/ReleaseStagingBuffer to DynamicUploader 2019-06-05 16:16:37 +00:00
SerialStorage.h Memory manager: buffer uploads (D3D) - Part 1 2019-01-29 00:10:07 +00:00
SlabAllocator.cpp Slab-allocate Metal bind groups 2020-03-13 22:50:00 +00:00
SlabAllocator.h Slab-allocate Metal bind groups 2020-03-13 22:50:00 +00:00
SwapChainUtils.h Make dawn_native public headers and dawn_wsi use webgpu.h 2019-10-24 23:55:37 +00:00
SystemUtils.cpp Add ScopedEnvironmentVar class for setting env variables in BackendVk 2020-05-28 16:05:04 +00:00
SystemUtils.h Add ScopedEnvironmentVar class for setting env variables in BackendVk 2020-05-28 16:05:04 +00:00
TypedInteger.h Use TypedInteger for BindGroupIndex 2020-06-20 01:30:32 +00:00
UnderlyingType.h Add TypedInteger 2020-06-17 22:35:19 +00:00
ityp_array.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
ityp_bitset.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
ityp_span.h Add TypedInteger 2020-06-17 22:35:19 +00:00
vulkan_platform.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
windows_with_undefs.h d3d12_platform: ensure windows.h macros don't cause compile errors 2020-06-01 13:58:22 +00:00
xlib_with_undefs.h Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00