Home
last modified time | relevance | path

Searched refs:deviceCaps (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dtexture_format_table_utils.h21 inline bool OnlyFL11_1Plus(const Renderer11DeviceCaps &deviceCaps) in OnlyFL11_1Plus() argument
23 return (deviceCaps.featureLevel >= D3D_FEATURE_LEVEL_11_1); in OnlyFL11_1Plus()
26 inline bool OnlyFL10Plus(const Renderer11DeviceCaps &deviceCaps) in OnlyFL10Plus() argument
28 return (deviceCaps.featureLevel >= D3D_FEATURE_LEVEL_10_0); in OnlyFL10Plus()
31 inline bool OnlyFL9_3(const Renderer11DeviceCaps &deviceCaps) in OnlyFL9_3() argument
33 return (deviceCaps.featureLevel == D3D_FEATURE_LEVEL_9_3); in OnlyFL9_3()
36 inline bool SupportsFormat(DXGI_FORMAT format, const Renderer11DeviceCaps &deviceCaps) in SupportsFormat() argument
44 if (d3d11_gl::GetMaximumClientVersion(deviceCaps).major > 2) in SupportsFormat()
59 fullSupport = ((deviceCaps.B5G6R5support & mustSupport) == mustSupport) && in SupportsFormat()
60 deviceCaps.B5G6R5maxSamples >= minimumRequiredSamples; in SupportsFormat()
[all …]
Dtexture_format_table.cpp18 const Format &Format::getSwizzleFormat(const Renderer11DeviceCaps &deviceCaps) const in getSwizzleFormat()
20 return (swizzleFormat == internalFormat ? *this : Format::Get(swizzleFormat, deviceCaps)); in getSwizzleFormat()
Dtexture_format_table.h49 static const Format &Get(GLenum internalFormat, const Renderer11DeviceCaps &deviceCaps);
51 const Format &getSwizzleFormat(const Renderer11DeviceCaps &deviceCaps) const;
Dtexture_format_table_autogen.cpp31 const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &deviceCaps) in Get() argument
70 if (OnlyFL10Plus(deviceCaps)) in Get()
121 if (SupportsFormat(DXGI_FORMAT_B5G6R5_UNORM, deviceCaps)) in Get()
220 if (OnlyFL11_1Plus(deviceCaps)) in Get()
1631 if (OnlyFL10Plus(deviceCaps)) in Get()
1682 if (OnlyFL10Plus(deviceCaps)) in Get()
1717 if (OnlyFL10Plus(deviceCaps)) in Get()
1768 if (OnlyFL10Plus(deviceCaps)) in Get()
2731 if (SupportsFormat(DXGI_FORMAT_B5G6R5_UNORM, deviceCaps)) in Get()
2766 if (SupportsFormat(DXGI_FORMAT_B5G5R5A1_UNORM, deviceCaps)) in Get()
[all …]
Drenderer11_utils.cpp2491 void InitializeFeatures(const Renderer11DeviceCaps &deviceCaps, in InitializeFeatures() argument
2502 bool isFeatureLevel9_3 = (deviceCaps.featureLevel <= D3D_FEATURE_LEVEL_9_3); in InitializeFeatures()
2507 capsVersion = d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion); in InitializeFeatures()
2518 bool driverVersionValid = deviceCaps.driverVersion.valid(); in InitializeFeatures()
2521 WORD part1 = HIWORD(deviceCaps.driverVersion.value().LowPart); in InitializeFeatures()
2522 WORD part2 = LOWORD(deviceCaps.driverVersion.value().LowPart); in InitializeFeatures()
2582 isAMD && !(deviceCaps.featureLevel < D3D_FEATURE_LEVEL_10_1)); in InitializeFeatures()
2587 !deviceCaps.supportsVpRtIndexWriteFromVertexShader); in InitializeFeatures()
DImage11.cpp133 const Renderer11DeviceCaps &deviceCaps = mRenderer->getRenderer11DeviceCaps(); in isDirty() local
134 const auto &formatInfo = d3d11::Format::Get(mInternalFormat, deviceCaps); in isDirty()
Drenderer11_utils.h308 void InitializeFeatures(const Renderer11DeviceCaps &deviceCaps,
/external/angle/src/libANGLE/renderer/d3d/d3d9/
Drenderer9_utils.cpp507 D3DCAPS9 deviceCaps; in GenerateCaps() local
508 if (FAILED(d3d9->GetDeviceCaps(adapter, deviceType, &deviceCaps))) in GenerateCaps()
534 caps->max2DTextureSize = std::min(deviceCaps.MaxTextureWidth, deviceCaps.MaxTextureHeight); in GenerateCaps()
559 ((D3DSHADER_VERSION_MAJOR(deviceCaps.PixelShaderVersion) >= 3) ? deviceCaps.MaxPointSize in GenerateCaps()
608 ((deviceCaps.VertexShaderVersion >= D3DVS_VERSION(3, 0)) ? MAX_VERTEX_OUTPUT_VECTORS_SM3 in GenerateCaps()
614 if (deviceCaps.VertexShaderVersion >= D3DVS_VERSION(3, 0) && in GenerateCaps()
631 ((deviceCaps.PixelShaderVersion >= D3DPS_VERSION(3, 0)) ? MAX_PIXEL_CONSTANT_VECTORS_SM3 in GenerateCaps()
666 extensions->elementIndexUintOES = deviceCaps.MaxVertexIndex >= (1 << 16); in GenerateCaps()
689 !(deviceCaps.TextureCaps & D3DPTEXTURECAPS_POW2) && in GenerateCaps()
690 !(deviceCaps.TextureCaps & D3DPTEXTURECAPS_CUBEMAP_POW2) && in GenerateCaps()
[all …]
DRenderer9.cpp2370 D3DCAPS9 deviceCaps; in isRemovedDeviceResettable() local
2371 HRESULT result = d3d9Ex->GetDeviceCaps(mAdapter, mDeviceType, &deviceCaps); in isRemovedDeviceResettable()