/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Caps.cpp | 163 static bool GetFormatSupportBase(const TextureCapsMap &textureCaps, in GetFormatSupportBase() argument 174 const TextureCaps &cap = textureCaps.get(requiredFormats[i]); in GetFormatSupportBase() 205 static bool GetFormatSupport(const TextureCapsMap &textureCaps, in GetFormatSupport() argument 213 return GetFormatSupportBase(textureCaps, requiredFormats, N, requiresTexturing, in GetFormatSupport() 219 static bool DeterminePackedDepthStencilSupport(const TextureCapsMap &textureCaps) in DeterminePackedDepthStencilSupport() argument 225 return GetFormatSupport(textureCaps, requiredFormats, false, false, true, true, false); in DeterminePackedDepthStencilSupport() 229 static bool DetermineReadDepthSupport(const TextureCapsMap &textureCaps) in DetermineReadDepthSupport() argument 235 return GetFormatSupport(textureCaps, requiredFormats, true, false, true, false, false); in DetermineReadDepthSupport() 239 static bool DetermineReadStencilSupport(const TextureCapsMap &textureCaps) in DetermineReadStencilSupport() argument 245 return GetFormatSupport(textureCaps, requiredFormats, false, false, true, false, false); in DetermineReadStencilSupport() [all …]
|
D | gles_extensions_autogen.h | 49 void setTextureExtensionSupport(const TextureCapsMap &textureCaps);
|
D | Caps.h | 91 bool DetermineCompressedTextureETCSupport(const TextureCapsMap &textureCaps);
|
/third_party/skia/third_party/externals/angle2/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() 441 if (textureCaps.texturable && (formatInfo.colorEncoding == GL_SRGB)) in GenerateTextureFormatCaps() 443 textureCaps.texturable = in GenerateTextureFormatCaps() 453 textureCaps.filterable = SUCCEEDED( in GenerateTextureFormatCaps() 460 textureCaps.textureAttachment = SUCCEEDED( in GenerateTextureFormatCaps() 463 if (textureCaps.textureAttachment && (formatInfo.colorEncoding == GL_SRGB)) in GenerateTextureFormatCaps() 465 textureCaps.textureAttachment = SUCCEEDED(d3d9->CheckDeviceFormat( in GenerateTextureFormatCaps() 471 !textureCaps.textureAttachment) in GenerateTextureFormatCaps() [all …]
|
D | Renderer9.cpp | 2553 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local 2554 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()
|
/third_party/skia/third_party/externals/angle2/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() 114 EXPECT_EQ(isRenderable, textureCaps.textureAttachment) << actualImageVkFormat; in TEST_P() 115 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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 276 gl::TextureCaps textureCaps; in initialize() local 277 FillTextureFormatCaps(renderer, format.mActualSampleOnlyImageFormatID, &textureCaps); in initialize() 279 if (textureCaps.texturable) in initialize() 289 outTextureCapsMap->set(intendedFormatID, textureCaps); in initialize() 294 FillTextureFormatCaps(renderer, format.mActualRenderableImageFormatID, &textureCaps); in initialize() 295 outTextureCapsMap->set(intendedFormatID, textureCaps); in initialize() 296 if (textureCaps.texturable) in initialize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_format_utils.mm | 143 gl::TextureCaps textureCaps; 146 if (!OverrideTextureCaps(display, mtlFormat.intendedFormatId, &textureCaps)) 149 textureCaps.filterable = mtlFormat.getCaps().filterable; 150 textureCaps.renderbuffer = 152 textureCaps.texturable = true; 153 textureCaps.textureAttachment = textureCaps.renderbuffer; 154 textureCaps.blendable = mtlFormat.getCaps().blendable; 164 textureCaps.sampleCounts.insert(sampleCount); 170 textureCapsMap.set(mtlFormat.intendedFormatId, textureCaps);
|
D | RenderBufferMtl.mm | 69 const gl::TextureCaps &textureCaps = 71 actualSamples = textureCaps.getNearestSamples(actualSamples);
|
/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/skia/third_party/externals/angle2/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 | 3735 const gl::TextureCaps &textureCaps = in ensureTextureExists() local 3737 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists() 3952 const gl::TextureCaps &textureCaps = in ensureTextureExists() local 3954 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists()
|
D | Renderer11.cpp | 2837 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local 2838 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()
|