dawn-cmake/src/common
Corentin Wallez 2ce4b905b2 dawn_native: Prefix all API methods with API
This means that calling wgpu::Object::DoStuff will translate to a call
to dawn_native::ObjectBase::APIDoStuff. This will clarify the
difference between reentrant calls and internal calls in dawn_native.
Avoiding issues in the future.

This CL only changes the code generator to prefix with "API", performs
renames needed to make the code compile, and adds TODOs for things that
should be fixed in follow-up CLs.

Bug: dawn:723

Change-Id: Ie24471fa093adc4179d33d13323429847d076ecb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45921
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-29 14:02:05 +00:00
..
Alloc.h IWYU: add missing include for size_t 2021-01-11 08:20:02 +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 BUILD.gn: Remove warning suppression for Skia 2021-03-23 16:58:50 +00:00
BitSetIterator.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
CMakeLists.txt Remove usage of deprecated std::codecvt 2021-03-15 12:10:23 +00:00
Compiler.h Add support for multisampled sampling 2020-06-19 16:21:33 +00:00
Constants.h Lower the maxVertexBuffer limit to 8. 2021-02-10 19:47:13 +00:00
CoreFoundationRef.h Use smart Refs for IOKit and CoreFoundation objects. 2020-11-17 11:35:11 +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 Workaround the compile error when calling std::begin on C arrays 2021-03-12 08:22:47 +00:00
GPUInfo.h D3D12: Add workaround for T2T copy issue on Intel GPUs 2021-03-11 19:34:50 +00:00
HashUtils.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
IOKitRef.h Use smart Refs for IOKit and CoreFoundation objects. 2020-11-17 11:35:11 +00:00
LinkedList.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +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 D3D12: Align UBO sizes to 256B. 2020-09-17 23:30:40 +00:00
Math.h Support sampling depth and stencil of combined d/s formats 2020-11-04 15:27:11 +00:00
NSRef.h Metal: Wrap NS classes and protocols in NSRef. 2020-11-16 23:07:56 +00:00
NonCopyable.h Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
PlacementAllocated.h Add SlabAllocator and tests 2020-03-04 17:48:24 +00:00
Platform.h Make common/ compile with Emscripten 2020-07-17 14:52:47 +00:00
RefBase.h RefBase: remove implicit conversion to bool. 2020-11-18 09:10:22 +00:00
RefCounted.cpp dawn_native: Prefix all API methods with API 2021-03-29 14:02:05 +00:00
RefCounted.h dawn_native: Prefix all API methods with API 2021-03-29 14:02:05 +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
SerialMap.h SerialQueue/Map: Take the serial type as type paramater. 2020-09-28 12:28:13 +00:00
SerialQueue.h SerialQueue/Map: Take the serial type as type paramater. 2020-09-28 12:28:13 +00:00
SerialStorage.h Fix MSVC build of SerialStorage.h. 2020-10-08 22:14:39 +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
StackContainer.h Remove usage of the UNIT_TEST macro. 2020-07-09 07:00:32 +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 Make common/ compile with Emscripten 2020-07-17 14:52:47 +00:00
SystemUtils.h Add ScopedEnvironmentVar class for setting env variables in BackendVk 2020-05-28 16:05:04 +00:00
TypeTraits.h Add TypeTraits.h for Dawn's additional type traits. 2021-01-04 15:05:29 +00:00
TypedInteger.h Typeify VertexBufferSlot and VertexAttributeLocation 2020-09-17 19:07:00 +00:00
UnderlyingType.h Add TypedInteger 2020-06-17 22:35:19 +00:00
VertexFormatUtils.cpp Updated VertexFormat enums 2021-02-26 02:20:25 +00:00
VertexFormatUtils.h Updated VertexFormat enums 2021-02-26 02:20:25 +00:00
WindowsUtils.cpp Remove usage of deprecated std::codecvt 2021-03-15 12:10:23 +00:00
WindowsUtils.h Remove usage of deprecated std::codecvt 2021-03-15 12:10:23 +00:00
ityp_array.h ityp_array: Allow using a T whose underlying type is signed. 2021-01-20 20:01:08 +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
ityp_stack_vec.h Add ityp::vector class and unittests 2020-07-14 01:32:43 +00:00
ityp_vector.h Add ityp::vector class and unittests 2020-07-14 01:32:43 +00:00
vulkan_platform.h Reland "Vulkan: Fallback to XCB for Xlib surfaces" 2021-02-11 08:26:38 +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 Reland "Vulkan: Fallback to XCB for Xlib surfaces" 2021-02-11 08:26:38 +00:00