/external/angle/src/libANGLE/ |
D | Caps.cpp | 164 static bool GetFormatSupportBase(const TextureCapsMap &textureCaps, in GetFormatSupportBase() argument 175 const TextureCaps &cap = textureCaps.get(requiredFormats[i]); in GetFormatSupportBase() 206 static bool GetFormatSupport(const TextureCapsMap &textureCaps, in GetFormatSupport() argument 214 return GetFormatSupportBase(textureCaps, requiredFormats, N, requiresTexturing, in GetFormatSupport() 220 static bool DeterminePackedDepthStencilSupport(const TextureCapsMap &textureCaps) in DeterminePackedDepthStencilSupport() argument 226 return GetFormatSupport(textureCaps, requiredFormats, false, false, true, true, false); in DeterminePackedDepthStencilSupport() 230 static bool DetermineReadDepthSupport(const TextureCapsMap &textureCaps) in DetermineReadDepthSupport() argument 236 return GetFormatSupport(textureCaps, requiredFormats, true, false, true, false, false); in DetermineReadDepthSupport() 240 static bool DetermineReadStencilSupport(const TextureCapsMap &textureCaps) in DetermineReadStencilSupport() argument 246 return GetFormatSupport(textureCaps, requiredFormats, false, false, true, false, false); in DetermineReadStencilSupport() [all …]
|
D | Caps.h | 93 bool DetermineCompressedTextureETCSupport(const TextureCapsMap &textureCaps); 127 void setTextureExtensionSupport(const TextureCapsMap &textureCaps);
|
/external/angle/src/tests/gl_tests/ |
D | VulkanFormatTablesTest.cpp | 69 const gl::TextureCaps &textureCaps = renderer->getNativeTextureCaps().get(internalFormat); in TEST_P() local 89 EXPECT_EQ(isTexturable, textureCaps.texturable) << actualImageVkFormat; in TEST_P() 97 EXPECT_EQ(isFilterable, textureCaps.filterable) << actualImageVkFormat; in TEST_P() 112 EXPECT_EQ(isRenderable, textureCaps.textureAttachment) << actualImageVkFormat; in TEST_P() 113 EXPECT_EQ(isRenderable, textureCaps.renderbuffer) << actualImageVkFormat; in TEST_P()
|
D | D3D11FormatTablesTest.cpp | 46 const auto &textureCaps = renderer->getNativeTextureCaps(); in TEST_P() local 55 const auto &textureInfo = textureCaps.get(internalFormat); in TEST_P()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | renderer9_utils.cpp | 422 gl::TextureCaps textureCaps; in GenerateTextureFormatCaps() local 431 textureCaps.texturable = SUCCEEDED(d3d9->CheckDeviceFormat( in GenerateTextureFormatCaps() 436 textureCaps.texturable = in GenerateTextureFormatCaps() 443 textureCaps.filterable = SUCCEEDED( in GenerateTextureFormatCaps() 450 textureCaps.textureAttachment = SUCCEEDED( in GenerateTextureFormatCaps() 455 !textureCaps.textureAttachment) in GenerateTextureFormatCaps() 457 textureCaps.textureAttachment = SUCCEEDED( in GenerateTextureFormatCaps() 461 textureCaps.renderbuffer = textureCaps.textureAttachment; in GenerateTextureFormatCaps() 462 textureCaps.blendable = textureCaps.renderbuffer; in GenerateTextureFormatCaps() 464 textureCaps.sampleCounts.insert(1); in GenerateTextureFormatCaps() [all …]
|
D | Renderer9.cpp | 2548 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local 2549 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_format_utils.mm | 70 gl::TextureCaps textureCaps; 73 if (!OverrideTextureCaps(display, mtlFormat.intendedFormatId, &textureCaps)) 76 textureCaps.filterable = mtlFormat.getCaps().filterable; 77 textureCaps.renderbuffer = 79 textureCaps.texturable = true; 80 textureCaps.textureAttachment = textureCaps.renderbuffer; 81 textureCaps.blendable = mtlFormat.getCaps().blendable; 91 textureCaps.sampleCounts.insert(sampleCount); 97 textureCapsMap.set(mtlFormat.intendedFormatId, textureCaps);
|
D | RenderBufferMtl.mm | 69 const gl::TextureCaps &textureCaps = 71 actualSamples = textureCaps.getNearestSamples(actualSamples);
|
/external/angle/src/libANGLE/renderer/gl/ |
D | renderergl_utils.cpp | 434 gl::TextureCaps textureCaps; in GenerateTextureFormatCaps() local 438 textureCaps.texturable = MeetsRequirements(functions, formatInfo.texture); in GenerateTextureFormatCaps() 439 textureCaps.filterable = in GenerateTextureFormatCaps() 440 textureCaps.texturable && MeetsRequirements(functions, formatInfo.filter); in GenerateTextureFormatCaps() 441 textureCaps.textureAttachment = MeetsRequirements(functions, formatInfo.textureAttachment); in GenerateTextureFormatCaps() 442 textureCaps.renderbuffer = MeetsRequirements(functions, formatInfo.renderbuffer); in GenerateTextureFormatCaps() 443 textureCaps.blendable = textureCaps.renderbuffer || textureCaps.textureAttachment; in GenerateTextureFormatCaps() 453 textureCaps.textureAttachment = true; in GenerateTextureFormatCaps() 454 textureCaps.renderbuffer = true; in GenerateTextureFormatCaps() 462 if (textureCaps.textureAttachment) in GenerateTextureFormatCaps() [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 277 gl::TextureCaps textureCaps; in initialize() local 278 FillTextureFormatCaps(renderer, format.actualImageFormatID, &textureCaps); in initialize() 279 outTextureCapsMap->set(formatID, textureCaps); in initialize() 281 if (textureCaps.texturable) in initialize()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | renderer11_utils.cpp | 89 gl::TextureCaps textureCaps; in GenerateTextureFormatCaps() local 106 textureCaps.texturable = support.query(formatInfo.texFormat, texSupportMask); in GenerateTextureFormatCaps() 107 textureCaps.filterable = in GenerateTextureFormatCaps() 109 textureCaps.textureAttachment = in GenerateTextureFormatCaps() 112 textureCaps.renderbuffer = textureCaps.textureAttachment; in GenerateTextureFormatCaps() 113 textureCaps.blendable = textureCaps.renderbuffer; in GenerateTextureFormatCaps() 128 textureCaps.sampleCounts.insert(1); in GenerateTextureFormatCaps() 142 textureCaps.sampleCounts.insert(sampleCount); in GenerateTextureFormatCaps() 147 return textureCaps; in GenerateTextureFormatCaps() 1391 gl::TextureCaps textureCaps = in GenerateCaps() local [all …]
|
D | TextureStorage11.cpp | 3663 const gl::TextureCaps &textureCaps = in ensureTextureExists() local 3665 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists() 3872 const gl::TextureCaps &textureCaps = in ensureTextureExists() local 3874 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists()
|
D | Renderer11.cpp | 2826 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local 2827 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()
|