Home
last modified time | relevance | path

Searched refs:deviceDescriptor (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DFeatureTests.cpp58 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/
DValidationTest.cpp198 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/
DDawnNativeTest.cpp73 dawn_native::DawnDeviceDescriptor deviceDescriptor; in CreateTestDevice() local
74 deviceDescriptor.forceDisabledToggles.push_back("disallow_unsafe_apis"); in CreateTestDevice()
76 return adapter.CreateDevice(&deviceDescriptor); in CreateTestDevice()
DDawnTest.cpp925 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/
DDawnNative.cpp62 DawnDevice Adapter::CreateDevice(const DeviceDescriptor* deviceDescriptor) { in CreateDevice() argument
63 return reinterpret_cast<DawnDevice>(mImpl->CreateDevice(deviceDescriptor)); in CreateDevice()
DDevice.cpp452 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()
DDevice.h157 void ApplyToggleOverrides(const DeviceDescriptor* deviceDescriptor);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDeviceInitializationTests.cpp64 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/
DDawnNative.cpp126 WGPUDevice Adapter::CreateDevice(const DawnDeviceDescriptor* deviceDescriptor) { in CreateDevice() argument
127 return ToAPI(mImpl->CreateDevice(deviceDescriptor)); in CreateDevice()
DDevice.cpp1143 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()
DDevice.h443 void ApplyToggleOverrides(const DawnDeviceDescriptor* deviceDescriptor);
444 void ApplyFeatures(const DawnDeviceDescriptor* deviceDescriptor);
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanImageWrappingTestsDmaBuf.cpp315 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()
DVulkanImageWrappingTestsOpaqueFD.cpp386 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/
DDawnTest.cpp377 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/
DDawnNative.h87 DawnDevice CreateDevice(const DeviceDescriptor* deviceDescriptor = nullptr);
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h131 WGPUDevice CreateDevice(const DawnDeviceDescriptor* deviceDescriptor = nullptr);