/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | FeatureTests.cpp | 58 dawn_native::DawnDeviceDescriptor deviceDescriptor; in TEST_F() local 60 deviceDescriptor.requiredFeatures = std::vector<const char*>(1, featureName); in TEST_F() 61 WGPUDevice deviceWithFeature = adapterWithoutFeature.CreateDevice(&deviceDescriptor); in TEST_F() 73 dawn_native::DawnDeviceDescriptor deviceDescriptor; in TEST_F() local 74 deviceDescriptor.requiredFeatures = {featureName}; in TEST_F() 76 dawn_native::FromAPI(adapter.CreateDevice(&deviceDescriptor)); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ValidationTest.cpp | 198 dawn_native::DawnDeviceDescriptor deviceDescriptor; in CreateTestDevice() local 199 deviceDescriptor.forceDisabledToggles.push_back("disallow_unsafe_apis"); in CreateTestDevice() 202 deviceDescriptor.forceEnabledToggles.push_back(toggle.c_str()); in CreateTestDevice() 206 deviceDescriptor.forceDisabledToggles.push_back(toggle.c_str()); in CreateTestDevice() 209 return adapter.CreateDevice(&deviceDescriptor); in CreateTestDevice()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnNativeTest.cpp | 73 dawn_native::DawnDeviceDescriptor deviceDescriptor; in CreateTestDevice() local 74 deviceDescriptor.forceDisabledToggles.push_back("disallow_unsafe_apis"); in CreateTestDevice() 76 return adapter.CreateDevice(&deviceDescriptor); in CreateTestDevice()
|
D | DawnTest.cpp | 925 dawn_native::DawnDeviceDescriptor deviceDescriptor = {}; in SetUp() local 926 deviceDescriptor.forceEnabledToggles = mParam.forceEnabledWorkarounds; in SetUp() 927 deviceDescriptor.forceDisabledToggles = mParam.forceDisabledWorkarounds; in SetUp() 928 deviceDescriptor.requiredFeatures = GetRequiredFeatures(); in SetUp() 933 deviceDescriptor.requiredLimits = reinterpret_cast<WGPURequiredLimits*>(&requiredLimits); in SetUp() 936 deviceDescriptor.forceDisabledToggles.push_back("disallow_unsafe_apis"); in SetUp() 942 deviceDescriptor.forceEnabledToggles.push_back(info->name); in SetUp() 949 deviceDescriptor.forceDisabledToggles.push_back(info->name); in SetUp() 953 mWireHelper->RegisterDevice(mBackendAdapter.CreateDevice(&deviceDescriptor)); in SetUp()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | DawnNative.cpp | 62 DawnDevice Adapter::CreateDevice(const DeviceDescriptor* deviceDescriptor) { in CreateDevice() argument 63 return reinterpret_cast<DawnDevice>(mImpl->CreateDevice(deviceDescriptor)); in CreateDevice()
|
D | Device.cpp | 452 void DeviceBase::ApplyToggleOverrides(const DeviceDescriptor* deviceDescriptor) { in ApplyToggleOverrides() argument 453 ASSERT(deviceDescriptor); in ApplyToggleOverrides() 455 for (const char* toggleName : deviceDescriptor->forceEnabledToggles) { in ApplyToggleOverrides() 461 for (const char* toggleName : deviceDescriptor->forceDisabledToggles) { in ApplyToggleOverrides()
|
D | Device.h | 157 void ApplyToggleOverrides(const DeviceDescriptor* deviceDescriptor);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DeviceInitializationTests.cpp | 64 dawn_native::DawnDeviceDescriptor deviceDescriptor = {}; in TEST_F() local 65 device = wgpu::Device::Acquire(adapter.CreateDevice(&deviceDescriptor)); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | DawnNative.cpp | 126 WGPUDevice Adapter::CreateDevice(const DawnDeviceDescriptor* deviceDescriptor) { in CreateDevice() argument 127 return ToAPI(mImpl->CreateDevice(deviceDescriptor)); in CreateDevice()
|
D | Device.cpp | 1143 void DeviceBase::ApplyFeatures(const DawnDeviceDescriptor* deviceDescriptor) { in ApplyFeatures() argument 1144 ASSERT(deviceDescriptor); in ApplyFeatures() 1145 ASSERT(GetAdapter()->SupportsAllRequestedFeatures(deviceDescriptor->requiredFeatures)); in ApplyFeatures() 1148 deviceDescriptor->requiredFeatures); in ApplyFeatures() 1595 void DeviceBase::ApplyToggleOverrides(const DawnDeviceDescriptor* deviceDescriptor) { in ApplyToggleOverrides() argument 1596 ASSERT(deviceDescriptor); in ApplyToggleOverrides() 1598 for (const char* toggleName : deviceDescriptor->forceEnabledToggles) { in ApplyToggleOverrides() 1605 for (const char* toggleName : deviceDescriptor->forceDisabledToggles) { in ApplyToggleOverrides()
|
D | Device.h | 443 void ApplyToggleOverrides(const DawnDeviceDescriptor* deviceDescriptor); 444 void ApplyFeatures(const DawnDeviceDescriptor* deviceDescriptor);
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | VulkanImageWrappingTestsDmaBuf.cpp | 315 deviceDescriptor.forceEnabledToggles = GetParam().forceEnabledWorkarounds; in SetUp() 316 deviceDescriptor.forceDisabledToggles = GetParam().forceDisabledWorkarounds; in SetUp() 319 dawn_native::vulkan::ToBackend(backendAdapter->CreateDevice(&deviceDescriptor)); in SetUp() 325 dawn_native::DawnDeviceDescriptor deviceDescriptor; member in dawn_native::vulkan::VulkanImageWrappingUsageTests 694 dawn_native::vulkan::ToBackend(backendAdapter->CreateDevice(&deviceDescriptor)); in TEST_P()
|
D | VulkanImageWrappingTestsOpaqueFD.cpp | 386 deviceDescriptor.forceEnabledToggles = GetParam().forceEnabledWorkarounds; in SetUp() 387 deviceDescriptor.forceDisabledToggles = GetParam().forceDisabledWorkarounds; in SetUp() 390 dawn_native::vulkan::ToBackend(backendAdapter->CreateDevice(&deviceDescriptor)); in SetUp() 421 dawn_native::DawnDeviceDescriptor deviceDescriptor; member in dawn_native::vulkan::VulkanImageWrappingUsageTests 800 dawn_native::vulkan::ToBackend(backendAdapter->CreateDevice(&deviceDescriptor)); in TEST_P()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 377 dawn_native::DeviceDescriptor deviceDescriptor; in SetUp() local 378 deviceDescriptor.forceEnabledToggles = GetParam().forceEnabledWorkarounds; in SetUp() 379 deviceDescriptor.forceDisabledToggles = GetParam().forceDisabledWorkarounds; in SetUp() 380 backendDevice = backendAdapter.CreateDevice(&deviceDescriptor); in SetUp()
|
/third_party/flutter/skia/third_party/externals/dawn/src/include/dawn_native/ |
D | DawnNative.h | 87 DawnDevice CreateDevice(const DeviceDescriptor* deviceDescriptor = nullptr);
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/ |
D | DawnNative.h | 131 WGPUDevice CreateDevice(const DawnDeviceDescriptor* deviceDescriptor = nullptr);
|