Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCaps.cpp163 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 …]
Dgles_extensions_autogen.h49 void setTextureExtensionSupport(const TextureCapsMap &textureCaps);
DCaps.h91 bool DetermineCompressedTextureETCSupport(const TextureCapsMap &textureCaps);
/third_party/skia/third_party/externals/angle2/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()
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 …]
DRenderer9.cpp2553 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/
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()
114 EXPECT_EQ(isRenderable, textureCaps.textureAttachment) << actualImageVkFormat; in TEST_P()
115 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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp276 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/
Dmtl_format_utils.mm143 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);
DRenderBufferMtl.mm69 const gl::TextureCaps &textureCaps =
71 actualSamples = textureCaps.getNearestSamples(actualSamples);
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/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.cpp3735 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()
DRenderer11.cpp2837 const gl::TextureCaps &textureCaps = getNativeTextureCaps().get(format); in createRenderTarget() local
2838 GLuint supportedSamples = textureCaps.getNearestSamples(samples); in createRenderTarget()