| /third_party/skia/third_party/externals/angle2/util/ |
| H A D | EGLPlatformParameters.h | 40 EGLint deviceType) in EGLPlatformParameters() 44 deviceType(deviceType) in EGLPlatformParameters() 50 EGLint deviceType, in EGLPlatformParameters() 55 deviceType(deviceType), in EGLPlatformParameters() 61 return std::tie(renderer, majorVersion, minorVersion, deviceType, presentPath, in tie() 77 EGLint deviceType = EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE; member
|
| /third_party/mindspore/test/unittest/ |
| H A D | nnrt_delegate_unit_test.cpp | 83 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST() local 84 printf("==========deviceType:%d\n", deviceType); in HWTEST() 86 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in HWTEST() 94 deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST() 95 printf("==========deviceType:%d\n", deviceType); in HWTEST() 96 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in HWTEST() 106 deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST() 107 printf("==========deviceType in HWTEST() [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
| H A D | renderer9_utils.cpp | 418 D3DDEVTYPE deviceType, in GenerateTextureFormatCaps() 432 adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps() 437 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, in GenerateTextureFormatCaps() 439 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, in GenerateTextureFormatCaps() 444 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, in GenerateTextureFormatCaps() 447 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, in GenerateTextureFormatCaps() 454 d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_QUERY_FILTER, in GenerateTextureFormatCaps() 461 d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_RENDERTARGET, in GenerateTextureFormatCaps() 466 adapter, deviceType, adapterFormat, D3DUSAGE_QUERY_SRGBWRITE, D3DRTYPE_TEXTURE, in GenerateTextureFormatCaps() 474 d3d9->CheckDeviceFormat(adapter, deviceType, adapterForma in GenerateTextureFormatCaps() 416 GenerateTextureFormatCaps(GLenum internalFormat, IDirect3D9 *d3d9, D3DDEVTYPE deviceType, UINT adapter, D3DFORMAT adapterFormat) GenerateTextureFormatCaps() argument 497 GenerateCaps(IDirect3D9 *d3d9, IDirect3DDevice9 *device, D3DDEVTYPE deviceType, UINT adapter, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions, gl::Limitations *limitations) GenerateCaps() argument [all...] |
| H A D | renderer9_utils.h | 67 D3DDEVTYPE deviceType,
|
| /third_party/mindspore/test/utils/ |
| H A D | model_utils.cpp | 48 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(cpuDeviceInfo); in AddContextDeviceCPU() local 49 printf("==========deviceType:%d\n", deviceType); in AddContextDeviceCPU() 50 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_CPU); in AddContextDeviceCPU() 87 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in AddContextDeviceNNRT() local 88 printf("==========deviceType:%d\n", deviceType); in AddContextDeviceNNRT() 89 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in AddContextDeviceNNRT()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
| H A D | FunctionsGL.cpp | 135 EGLint deviceType = in initialize() local 151 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize() 169 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize() 187 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
| H A D | CLDeviceImpl.cpp | 17 CLDeviceImpl::Info::Info(cl::DeviceType deviceType) : type(deviceType) {} in Info() argument
|
| H A D | CLPlatformImpl.h | 56 cl::DeviceType deviceType,
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | Device.cpp | 48 egl::Error Device::CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice) in CreateDevice() argument 55 if (deviceType == EGL_D3D11_DEVICE_ANGLE) in CreateDevice() 57 newDeviceImpl.reset(new rx::DeviceD3D(deviceType, nativeDevice)); in CreateDevice()
|
| H A D | CLPlatform.cpp | 182 cl_int Platform::getDeviceIDs(DeviceType deviceType, in getDeviceIDs() argument 190 if (IsDeviceTypeMatch(deviceType, device->getInfo().type)) in getDeviceIDs() 235 DeviceType deviceType, in CreateContextFromType() 244 return Object::Create<Context>(errorCode, *platform, std::move(propArray), deviceType, notify, in CreateContextFromType() 234 CreateContextFromType(const cl_context_properties *properties, DeviceType deviceType, ContextErrorCB notify, void *userData, cl_int &errorCode) CreateContextFromType() argument
|
| H A D | CLPlatform.h | 38 cl_int getDeviceIDs(DeviceType deviceType, 51 DeviceType deviceType,
|
| H A D | Device.h | 44 static egl::Error CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice);
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
| H A D | DeviceD3D.cpp | 19 DeviceD3D::DeviceD3D(GLint deviceType, void *nativeDevice) in DeviceD3D() argument 20 : mDevice(nativeDevice), mDeviceType(deviceType), mIsInitialized(false) in DeviceD3D()
|
| H A D | DeviceD3D.h | 21 DeviceD3D(EGLint deviceType, void *nativeDevice);
|
| /third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
| H A D | tcuANGLEPlatform.cpp | 164 eglw::EGLAttrib deviceType, in initAttribs() 173 if (deviceType != EGL_DONT_CARE) in initAttribs() 176 attribs.push_back(deviceType); in initAttribs() 163 initAttribs(eglw::EGLAttrib type, eglw::EGLAttrib deviceType, eglw::EGLAttrib majorVersion, eglw::EGLAttrib minorVersion) initAttribs() argument
|
| H A D | tcuANGLEPlatform.h | 58 eglw::EGLAttrib deviceType = -1,
|
| /third_party/skia/third_party/externals/angle2/src/common/vulkan/ |
| H A D | vulkan_icd.cpp | 271 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) 276 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU &&
|
| /third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
| H A D | EGLDisplayPowerPreferenceTest.cpp | 103 GLenum deviceType = GetParam().getDeviceType(); in initializeDisplayWithPowerPreference() local 113 displayAttributes.push_back(deviceType); in initializeDisplayWithPowerPreference()
|
| H A D | EGLRobustnessTest.cpp | 38 if (platform.deviceType != EGL_DONT_CARE) 41 displayAttributes.push_back(platform.deviceType);
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
| H A D | CLPlatformCL.h | 32 cl::DeviceType deviceType,
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
| H A D | CLPlatformVk.h | 30 cl::DeviceType deviceType,
|
| H A D | CLPlatformVk.cpp | 78 cl::DeviceType deviceType, in createContextFromType() 77 createContextFromType(cl::Context &context, cl::DeviceType deviceType, bool userSync, cl_int &errorCode) createContextFromType() argument
|
| /third_party/vulkan-loader/tests/ |
| H A D | loader_regression_tests.cpp | 2555 props.deviceType = dev_type; in FillInRandomDeviceProps() 2808 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST() 2814 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST() 2820 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST() 2826 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU); in TEST() 2832 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU); in TEST() 2838 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_CPU); in TEST() 2924 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST() 2931 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST() 2938 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GP in TEST() [all...] |
| H A D | loader_phys_dev_inst_ext_tests.cpp | 49 props.deviceType = static_cast<VkPhysicalDeviceType>(rand() % 5); in FillInRandomDeviceProps() 116 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST() 154 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST() 183 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST() 218 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST() 263 ASSERT_EQ(props.deviceType, props in TEST() [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
| H A D | angle_test_configs.cpp | 44 return eglParameters.deviceType; in getDeviceType() 49 return eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE; in isSwiftshader() 147 switch (pp.eglParameters.deviceType) in operator <<()
|