Home
last modified time | relevance | path

Searched refs:textureCaps (Results 1 – 13 of 13) sorted by relevance

/external/angle/src/libANGLE/
DCaps.cpp164 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 …]
DCaps.h93 bool DetermineCompressedTextureETCSupport(const TextureCapsMap &textureCaps);
127 void setTextureExtensionSupport(const TextureCapsMap &textureCaps);
/external/angle/src/tests/gl_tests/
DVulkanFormatTablesTest.cpp69 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()
DD3D11FormatTablesTest.cpp46 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/
Drenderer9_utils.cpp422 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 …]
DRenderer9.cpp2548 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local
2549 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm70 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);
DRenderBufferMtl.mm69 const gl::TextureCaps &textureCaps =
71 actualSamples = textureCaps.getNearestSamples(actualSamples);
/external/angle/src/libANGLE/renderer/gl/
Drenderergl_utils.cpp434 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/
Dvk_format_utils.cpp277 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/
Drenderer11_utils.cpp89 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 …]
DTextureStorage11.cpp3663 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()
DRenderer11.cpp2826 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local
2827 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()