/third_party/flutter/skia/third_party/dawn/ |
D | BUILD.gn | 171 "dawn_native/ProcTable.cpp", 172 "dawn_native/dawn_structs_autogen.h", 173 "dawn_native/dawn_structs_autogen.cpp", 174 "dawn_native/ValidationUtils_autogen.h", 175 "dawn_native/ValidationUtils_autogen.cpp", 187 "dawn_native/opengl/OpenGLFunctionsBase_autogen.cpp", 188 "dawn_native/opengl/OpenGLFunctionsBase_autogen.h", 189 "dawn_native/opengl/opengl_platform_autogen.h", 200 "src/include/dawn_native/DawnNative.h", 201 "src/include/dawn_native/dawn_native_export.h", [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/ |
D | BUILD.gn | 39 "dawn_native/ProcTable.cpp", 40 "dawn_native/dawn_structs_autogen.h", 41 "dawn_native/dawn_structs_autogen.cpp", 42 "dawn_native/ValidationUtils_autogen.h", 43 "dawn_native/ValidationUtils_autogen.cpp", 55 "dawn_native/opengl/OpenGLFunctionsBase_autogen.cpp", 56 "dawn_native/opengl/OpenGLFunctionsBase_autogen.h", 57 "dawn_native/opengl/opengl_platform_autogen.h", 68 "src/include/dawn_native/DawnNative.h", 69 "src/include/dawn_native/dawn_native_export.h", [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ChainUtilsTests.cpp | 22 const dawn_native::PrimitiveDepthClampingState* info = nullptr; in TEST() 23 dawn_native::FindInChain(nullptr, &info); in TEST() 30 dawn_native::PrimitiveDepthClampingState chain1; in TEST() 31 dawn_native::ShaderModuleSPIRVDescriptor chain2; in TEST() 33 const dawn_native::PrimitiveDepthClampingState* info1 = nullptr; in TEST() 34 const dawn_native::ShaderModuleSPIRVDescriptor* info2 = nullptr; in TEST() 35 dawn_native::FindInChain(&chain1, &info1); in TEST() 36 dawn_native::FindInChain(&chain1, &info2); in TEST() 44 dawn_native::PrimitiveDepthClampingState chain1; in TEST() 45 dawn_native::ShaderModuleSPIRVDescriptor chain2; in TEST() [all …]
|
D | LimitsTests.cpp | 21 dawn_native::Limits limits = {}; in TEST() 24 dawn_native::GetDefaultLimits(&limits); in TEST() 32 dawn_native::Limits limits; in TEST() 36 dawn_native::Limits reified = dawn_native::ReifyDefaultLimits(limits); in TEST() 44 dawn_native::Limits limits; in TEST() 48 dawn_native::Limits reified = dawn_native::ReifyDefaultLimits(limits); in TEST() 57 dawn_native::Limits defaults; in TEST() 58 dawn_native::GetDefaultLimits(&defaults); in TEST() 62 dawn_native::Limits required = defaults; in TEST() 68 dawn_native::Limits supported = defaults; in TEST() [all …]
|
D | FeatureTests.cpp | 25 mInstanceBase(dawn_native::InstanceBase::Create()), in FeatureTests() 32 allFeatureNames[i] = FeatureEnumToName(static_cast<dawn_native::Feature>(i)); in GetAllFeatureNames() 38 static_cast<size_t>(dawn_native::Feature::EnumCount); 41 Ref<dawn_native::InstanceBase> mInstanceBase; 42 dawn_native::null::Adapter mAdapterBase; 50 dawn_native::Feature notSupportedFeature = static_cast<dawn_native::Feature>(i); in TEST_F() 56 dawn_native::Adapter adapterWithoutFeature(&mAdapterBase); in TEST_F() 58 dawn_native::DawnDeviceDescriptor deviceDescriptor; in TEST_F() 68 dawn_native::Adapter adapter(&mAdapterBase); in TEST_F() 70 dawn_native::Feature feature = static_cast<dawn_native::Feature>(i); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | VulkanErrorInjectorTests.cpp | 32 mDeviceVk = dawn_native::vulkan::ToBackend(dawn_native::FromAPI(device.Get())); in SetUp() 36 dawn_native::vulkan::Device* mDeviceVk; 59 dawn_native::MaybeError err = CheckVkSuccess( in TEST_P() 81 EXPECT_EQ(dawn_native::AcquireErrorInjectorCallCount(), 0u); in TEST_P() 85 dawn_native::EnableErrorInjector(); in TEST_P() 91 EXPECT_EQ(dawn_native::AcquireErrorInjectorCallCount(), 2u); in TEST_P() 95 dawn_native::InjectErrorAt(0u); in TEST_P() 99 dawn_native::ClearErrorInjector(); in TEST_P() 104 dawn_native::InjectErrorAt(1u); in TEST_P() 108 dawn_native::ClearErrorInjector(); in TEST_P() [all …]
|
D | VulkanImageWrappingTestsDmaBuf.cpp | 31 namespace dawn_native { namespace vulkan { namespace 47 deviceVk = dawn_native::vulkan::ToBackend(dawn_native::FromAPI(device.Get())); in SetUp() 119 dawn_native::vulkan::ExternalImageDescriptorDmaBuf descriptor; in WrapVulkanImage() 135 dawn_native::vulkan::ExternalImageDescriptorDmaBuf descriptor; in WrapVulkanImage() 147 dawn_native::vulkan::WrapVulkanImage(dawnDevice.Get(), &descriptor); in WrapVulkanImage() 163 dawn_native::vulkan::ExternalImageExportInfoDmaBuf exportInfo; in IgnoreSignalSemaphore() 164 …dawn_native::vulkan::ExportVulkanImage(wrappedTexture.Get(), VK_IMAGE_LAYOUT_GENERAL, &exportInfo); in IgnoreSignalSemaphore() 172 dawn_native::vulkan::Device* deviceVk; 270 dawn_native::vulkan::ExternalImageExportInfoDmaBuf exportInfo; in TEST_P() 271 ASSERT_DEVICE_ERROR(bool success = dawn_native::vulkan::ExportVulkanImage( in TEST_P() [all …]
|
D | D3D12ResidencyTests.cpp | 44 dawn_native::d3d12::Device* d3dDevice = in SetUp() 45 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((device.Get()))); in SetUp() 95 dawn_native::AllocationMethod allocationMethod) const { in CheckAllocationMethod() 96 dawn_native::d3d12::Buffer* d3dBuffer = in CheckAllocationMethod() 97 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((buffer.Get()))); in CheckAllocationMethod() 102 dawn_native::d3d12::Buffer* d3dBuffer = in CheckIfBufferIsResident() 103 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((buffer.Get()))); in CheckIfBufferIsResident() 108 return dawn_native::d3d12::ToBackend(dawn_native::FromAPI(device.Get())) in IsUMA() 131 CheckAllocationMethod(bufferSet1[i], dawn_native::AllocationMethod::kSubAllocated)); in TEST_P() 169 EXPECT_TRUE(CheckAllocationMethod(bufferSet1[i], dawn_native::AllocationMethod::kDirect)); in TEST_P() [all …]
|
D | VulkanImageWrappingTestsOpaqueFD.cpp | 28 namespace dawn_native { namespace vulkan { namespace 43 deviceVk = dawn_native::vulkan::ToBackend(dawn_native::FromAPI(device.Get())); in SetUp() 47 ::VkResult CreateImage(dawn_native::vulkan::Device* deviceVk, in CreateImage() 82 ::VkResult AllocateMemory(dawn_native::vulkan::Device* deviceVk, in AllocateMemory() 114 ::VkResult BindMemory(dawn_native::vulkan::Device* deviceVk, in BindMemory() 121 int GetMemoryFd(dawn_native::vulkan::Device* deviceVk, VkDeviceMemory memory) { in GetMemoryFd() 136 void CreateBindExportImage(dawn_native::vulkan::Device* deviceVk, in CreateBindExportImage() 167 dawn_native::vulkan::ExternalImageDescriptorOpaqueFD descriptor; in WrapVulkanImage() 183 dawn_native::vulkan::ExternalImageDescriptorOpaqueFD descriptor; in WrapVulkanImage() 195 dawn_native::vulkan::WrapVulkanImage(dawnDevice.Get(), &descriptor); in WrapVulkanImage() [all …]
|
D | InternalStorageBufferBindingTests.cpp | 47 dawn_native::BindGroupLayoutEntry bglEntry; in CreateComputePipelineWithInternalStorage() 49 bglEntry.buffer.type = dawn_native::kInternalStorageBufferBinding; in CreateComputePipelineWithInternalStorage() 52 dawn_native::BindGroupLayoutDescriptor bglDesc; in CreateComputePipelineWithInternalStorage() 56 dawn_native::DeviceBase* nativeDevice = dawn_native::FromAPI(device.Get()); in CreateComputePipelineWithInternalStorage() 58 Ref<dawn_native::BindGroupLayoutBase> bglRef = in CreateComputePipelineWithInternalStorage() 62 wgpu::BindGroupLayout::Acquire(dawn_native::ToAPI(bglRef.Detach())); in CreateComputePipelineWithInternalStorage()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | LabelTests.cpp | 36 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F() 44 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F() 52 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F() 68 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroupLayout.Get()); in TEST_F() 76 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroupLayout.Get()); in TEST_F() 84 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroupLayout.Get()); in TEST_F() 99 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(buffer.Get()); in TEST_F() 107 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(buffer.Get()); in TEST_F() 115 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(buffer.Get()); in TEST_F() 129 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(commandBuffer.Get()); in TEST_F() [all …]
|
D | GetBindGroupLayoutValidationTests.cpp | 237 EXPECT_TRUE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 240 EXPECT_FALSE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 244 EXPECT_TRUE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 246 EXPECT_FALSE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 250 EXPECT_TRUE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 253 EXPECT_FALSE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 258 EXPECT_FALSE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 261 EXPECT_TRUE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 263 EXPECT_FALSE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() 266 EXPECT_TRUE(dawn_native::BindGroupLayoutBindingsEqualForTesting( in TEST_F() [all …]
|
D | ToggleValidationTests.cpp | 26 const dawn_native::ToggleInfo* toggleInfo = instance->GetToggleInfo(kValidToggleName); in TEST_F() 36 const dawn_native::ToggleInfo* toggleInfo = instance->GetToggleInfo(kInvalidToggleName); in TEST_F() 46 dawn_native::DawnDeviceDescriptor descriptor; in TEST_F() 50 std::vector<const char*> toggleNames = dawn_native::GetTogglesUsed(deviceWithToggle); in TEST_F() 63 dawn_native::DawnDeviceDescriptor descriptor; in TEST_F() 67 std::vector<const char*> toggleNames = dawn_native::GetTogglesUsed(deviceWithToggle); in TEST_F() 80 dawn_native::DawnDeviceDescriptor descriptor; in TEST_F() 84 std::vector<const char*> toggleNames = dawn_native::GetTogglesUsed(deviceWithToggle); in TEST_F()
|
/third_party/flutter/skia/third_party/externals/dawn/src/utils/ |
D | BackendBinding.cpp | 47 void SetupGLFWWindowHintsForBackend(dawn_native::BackendType type) { in SetupGLFWWindowHintsForBackend() 48 if (type == dawn_native::BackendType::OpenGL) { in SetupGLFWWindowHintsForBackend() 58 void DiscoverAdapter(dawn_native::Instance* instance, in DiscoverAdapter() 60 dawn_native::BackendType type) { in DiscoverAdapter() 64 if (type == dawn_native::BackendType::OpenGL) { in DiscoverAdapter() 67 dawn_native::opengl::AdapterDiscoveryOptions adapterOptions; in DiscoverAdapter() 76 BackendBinding* CreateBinding(dawn_native::BackendType type, in CreateBinding() 81 case dawn_native::BackendType::D3D12: in CreateBinding() 86 case dawn_native::BackendType::Metal: in CreateBinding() 91 case dawn_native::BackendType::Null: in CreateBinding() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 38 std::string ParamName(dawn_native::BackendType type) { in ParamName() 40 case dawn_native::BackendType::D3D12: in ParamName() 42 case dawn_native::BackendType::Metal: in ParamName() 44 case dawn_native::BackendType::Null: in ParamName() 46 case dawn_native::BackendType::OpenGL: in ParamName() 48 case dawn_native::BackendType::Vulkan: in ParamName() 55 const char* DeviceTypeName(dawn_native::DeviceType type) { in DeviceTypeName() 57 case dawn_native::DeviceType::DiscreteGPU: in DeviceTypeName() 59 case dawn_native::DeviceType::IntegratedGPU: in DeviceTypeName() 61 case dawn_native::DeviceType::CPU: in DeviceTypeName() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/examples/ |
D | SampleUtils.cpp | 51 static dawn_native::BackendType backendType = dawn_native::BackendType::D3D12; 53 static dawn_native::BackendType backendType = dawn_native::BackendType::Metal; 55 static dawn_native::BackendType backendType = dawn_native::BackendType::OpenGL; 57 static dawn_native::BackendType backendType = dawn_native::BackendType::Vulkan; 63 static std::unique_ptr<dawn_native::Instance> instance; 86 instance = std::make_unique<dawn_native::Instance>(); in CreateCppDawnDevice() 90 dawn_native::Adapter backendAdapter; in CreateCppDawnDevice() 92 std::vector<dawn_native::Adapter> adapters = instance->GetAdapters(); in CreateCppDawnDevice() 94 [](const dawn_native::Adapter adapter) -> bool { in CreateCppDawnDevice() 102 DawnProcTable backendProcs = dawn_native::GetProcs(); in CreateCppDawnDevice() [all …]
|
/third_party/skia/tools/gpu/dawn/ |
D | DawnTestContext.cpp | 86 static wgpu::Device createDevice(const dawn_native::Instance& instance, in createDevice() 87 dawn_native::BackendType type) { in createDevice() 88 DawnProcTable backendProcs = dawn_native::GetProcs(); in createDevice() 91 std::vector<dawn_native::Adapter> adapters = instance.GetAdapters(); in createDevice() 92 for (dawn_native::Adapter adapter : adapters) { in createDevice() 101 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>(); in Create() 106 dawn_native::BackendType type; in Create() 108 dawn_native::opengl::AdapterDiscoveryOptions adapterOptions; in Create() 119 type = dawn_native::BackendType::OpenGL; in Create() 123 type = dawn_native::BackendType::Metal; in Create() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 51 dawn_native::Instance instance; in TEST() 53 dawn_native::vulkan::AdapterDiscoveryOptions options; in TEST() 71 dawn_native::Instance instance; in TEST() 73 dawn_native::vulkan::AdapterDiscoveryOptions options; in TEST() 89 dawn_native::Instance instance; in TEST() 91 dawn_native::d3d12::AdapterDiscoveryOptions options; in TEST() 117 dawn_native::Instance instance; in TEST() 119 dawn_native::d3d12::AdapterDiscoveryOptions options; in TEST() 137 dawn_native::Instance instance; in TEST() 139 dawn_native::metal::AdapterDiscoveryOptions options; in TEST() [all …]
|
/third_party/flutter/skia/tools/gpu/dawn/ |
D | DawnTestContext.cpp | 157 static dawn::Device createDevice(const dawn_native::Instance& instance, in createDevice() 158 dawn_native::BackendType type) { in createDevice() 159 DawnProcTable backendProcs = dawn_native::GetProcs(); in createDevice() 162 std::vector<dawn_native::Adapter> adapters = instance.GetAdapters(); in createDevice() 163 for (dawn_native::Adapter adapter : adapters) { in createDevice() 172 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>(); in Create() 177 dawn_native::BackendType type; in Create() 179 dawn_native::opengl::AdapterDiscoveryOptions adapterOptions; in Create() 190 type = dawn_native::BackendType::OpenGL; in Create() 194 type = dawn_native::BackendType::Metal; in Create() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CMakeLists.txt | 21 add_library(dawn_native ${DAWN_DUMMY_FILE}) target 23 target_compile_definitions(dawn_native PRIVATE "DAWN_NATIVE_IMPLEMENTATION") 25 target_compile_definitions(dawn_native PRIVATE "DAWN_NATIVE_SHARED_LIBRARY") 28 target_sources(dawn_native PRIVATE 29 "${DAWN_INCLUDE_DIR}/dawn_native/DawnNative.h" 30 "${DAWN_INCLUDE_DIR}/dawn_native/dawn_native_export.h" 182 target_link_libraries(dawn_native 194 target_link_libraries(dawn_native PRIVATE spirv-cross-core) 196 target_link_libraries(dawn_native PRIVATE spirv-cross-glsl) 200 target_include_directories(dawn_native PRIVATE ${DAWN_ABSEIL_DIR}) [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | QueueMTL.mm | 15 #include "dawn_native/metal/QueueMTL.h" 18 #include "dawn_native/Buffer.h" 19 #include "dawn_native/CommandValidation.h" 20 #include "dawn_native/Commands.h" 21 #include "dawn_native/DynamicUploader.h" 22 #include "dawn_native/metal/CommandBufferMTL.h" 23 #include "dawn_native/metal/DeviceMTL.h" 27 namespace dawn_native { namespace metal { 48 }} // namespace dawn_native::metal
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ToggleValidationTests.cpp | 27 const dawn_native::ToggleInfo* toggleInfo = instance->GetToggleInfo(kValidToggleName); in TEST_F() 37 const dawn_native::ToggleInfo* toggleInfo = instance->GetToggleInfo(kInvalidToggleName); in TEST_F() 47 dawn_native::DeviceDescriptor descriptor; in TEST_F() 51 std::vector<const char*> toggleNames = dawn_native::GetTogglesUsed(deviceWithToggle); in TEST_F() 64 dawn_native::DeviceDescriptor descriptor; in TEST_F() 68 std::vector<const char*> toggleNames = dawn_native::GetTogglesUsed(deviceWithToggle); in TEST_F()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | DeviceMTL.mm | 15 #include "dawn_native/metal/DeviceMTL.h" 17 #include "dawn_native/BackendConnection.h" 18 #include "dawn_native/BindGroup.h" 19 #include "dawn_native/BindGroupLayout.h" 20 #include "dawn_native/DynamicUploader.h" 21 #include "dawn_native/metal/BufferMTL.h" 22 #include "dawn_native/metal/CommandBufferMTL.h" 23 #include "dawn_native/metal/ComputePipelineMTL.h" 24 #include "dawn_native/metal/PipelineLayoutMTL.h" 25 #include "dawn_native/metal/QueueMTL.h" [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanError.h | 24 namespace dawn_native { namespace vulkan { 37 ::dawn_native::vulkan::CheckVkSuccessImpl( \ 38 ::dawn_native::vulkan::VkResult::WrapUnsafe( \ 43 ::dawn_native::vulkan::CheckVkOOMThenSuccessImpl( \ 44 ::dawn_native::vulkan::VkResult::WrapUnsafe(INJECT_ERROR_OR_RUN( \
|
/third_party/flutter/skia/third_party/externals/dawn/src/fuzzers/ |
D | DawnWireServerAndFrontendFuzzer.cpp | 49 DawnProcTable procs = dawn_native::GetProcs(); in LLVMFuzzerTestOneInput() 61 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>(); in LLVMFuzzerTestOneInput() 64 std::vector<dawn_native::Adapter> adapters = instance->GetAdapters(); in LLVMFuzzerTestOneInput() 67 for (dawn_native::Adapter adapter : adapters) { in LLVMFuzzerTestOneInput() 68 if (adapter.GetBackendType() == dawn_native::BackendType::Null) { in LLVMFuzzerTestOneInput()
|