/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | format_map_autogen.cpp | 512 bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat) in ValidES3FormatCombination() argument 523 switch (internalFormat) in ValidES3FormatCombination() 534 switch (internalFormat) in ValidES3FormatCombination() 545 switch (internalFormat) in ValidES3FormatCombination() 556 switch (internalFormat) in ValidES3FormatCombination() 567 switch (internalFormat) in ValidES3FormatCombination() 578 switch (internalFormat) in ValidES3FormatCombination() 597 switch (internalFormat) in ValidES3FormatCombination() 608 switch (internalFormat) in ValidES3FormatCombination() 619 switch (internalFormat) in ValidES3FormatCombination() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | format_map_autogen.cpp | 649 bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat) in ValidES3FormatCombination() argument 660 switch (internalFormat) in ValidES3FormatCombination() 672 switch (internalFormat) in ValidES3FormatCombination() 684 switch (internalFormat) in ValidES3FormatCombination() 696 switch (internalFormat) in ValidES3FormatCombination() 716 switch (internalFormat) in ValidES3FormatCombination() 730 switch (internalFormat) in ValidES3FormatCombination() 741 switch (internalFormat) in ValidES3FormatCombination() 760 switch (internalFormat) in ValidES3FormatCombination() 771 switch (internalFormat) in ValidES3FormatCombination() [all …]
|
D | formatutils.h | 209 GLenum internalFormat; member 255 explicit Format(GLenum internalFormat); 258 explicit Format(const InternalFormat &internalFormat); 259 Format(GLenum internalFormat, GLenum type); 276 const InternalFormat &GetSizedInternalFormatInfo(GLenum internalFormat); 277 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat, GLenum type); 281 GLenum GetUnsizedFormat(GLenum internalFormat); 284 bool CompressedFormatRequiresWholeImage(GLenum internalFormat); 300 ANGLE_INLINE int GetNativeVisualID(const InternalFormat &internalFormat) in GetNativeVisualID() argument 305 angle::android::GLInternalFormatToNativePixelFormat(internalFormat.internalFormat); in GetNativeVisualID() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | Format.cpp | 69 Format internalFormat; in BuildFormatTable() local 70 internalFormat.format = format; in BuildFormatTable() 71 internalFormat.isRenderable = renderable; in BuildFormatTable() 72 internalFormat.isCompressed = false; in BuildFormatTable() 73 internalFormat.isSupported = true; in BuildFormatTable() 74 internalFormat.aspect = Format::Aspect::Color; in BuildFormatTable() 75 internalFormat.blockByteSize = byteSize; in BuildFormatTable() 76 internalFormat.blockWidth = 1; in BuildFormatTable() 77 internalFormat.blockHeight = 1; in BuildFormatTable() 78 AddFormat(internalFormat); in BuildFormatTable() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 1109 st_choose_format(struct st_context *st, GLenum internalFormat, in st_choose_format() argument 1121 if (_mesa_is_compressed_format(st->ctx, internalFormat) in st_choose_format() 1131 if (_mesa_is_enum_format_unsized(internalFormat) && format != 0 && in st_choose_format() 1140 internalFormat) { in st_choose_format() 1152 if (internalFormat == GL_RGB) in st_choose_format() 1153 internalFormat = GL_RGB10; in st_choose_format() 1154 else if (internalFormat == GL_RGBA) in st_choose_format() 1155 internalFormat = GL_RGB10_A2; in st_choose_format() 1159 if (internalFormat == GL_RGB) in st_choose_format() 1160 internalFormat = GL_RGB5; in st_choose_format() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_table_autogen.cpp | 30 internalFormat = GL_ALPHA16F_EXT; in initialize() 38 internalFormat = GL_A1RGB5_ANGLEX; in initialize() 50 internalFormat = GL_ALPHA32F_EXT; in initialize() 58 internalFormat = GL_ALPHA8_EXT; in initialize() 66 internalFormat = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; in initialize() 78 internalFormat = GL_COMPRESSED_RGBA_ASTC_10x10_KHR; in initialize() 90 internalFormat = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; in initialize() 102 internalFormat = GL_COMPRESSED_RGBA_ASTC_10x5_KHR; in initialize() 114 internalFormat = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; in initialize() 126 internalFormat = GL_COMPRESSED_RGBA_ASTC_10x6_KHR; in initialize() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Format.cpp | 163 Format internalFormat; in BuildFormatTable() local 164 internalFormat.format = format; in BuildFormatTable() 165 internalFormat.isRenderable = renderable; in BuildFormatTable() 166 internalFormat.isCompressed = false; in BuildFormatTable() 167 internalFormat.isSupported = true; in BuildFormatTable() 168 internalFormat.supportsStorageUsage = supportsStorageUsage; in BuildFormatTable() 169 internalFormat.aspects = Aspect::Color; in BuildFormatTable() 170 internalFormat.componentCount = componentCount; in BuildFormatTable() 171 AspectInfo* firstAspect = internalFormat.aspectInfo.data(); in BuildFormatTable() 196 AddFormat(internalFormat); in BuildFormatTable() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | glformats.c | 832 is_astc_2d_format(GLenum internalFormat) in is_astc_2d_format() argument 834 switch (internalFormat) { in is_astc_2d_format() 873 is_astc_3d_format(GLenum internalFormat) in is_astc_3d_format() argument 875 switch (internalFormat) { in is_astc_3d_format() 906 _mesa_is_astc_format(GLenum internalFormat) in _mesa_is_astc_format() argument 908 return is_astc_2d_format(internalFormat) || in _mesa_is_astc_format() 909 is_astc_3d_format(internalFormat); in _mesa_is_astc_format() 916 _mesa_is_etc2_format(GLenum internalFormat) in _mesa_is_etc2_format() argument 918 switch (internalFormat) { in _mesa_is_etc2_format() 1344 _mesa_has_depth_float_channel(GLenum internalFormat) in _mesa_has_depth_float_channel() argument [all …]
|
D | teximage.c | 828 GLint border, GLenum internalFormat, in _mesa_init_teximage_fields_ms() argument 832 const GLint base_format =_mesa_base_tex_format(ctx, internalFormat); in _mesa_init_teximage_fields_ms() 842 img->InternalFormat = internalFormat; in _mesa_init_teximage_fields_ms() 935 GLint border, GLenum internalFormat, in _mesa_init_teximage_fields() argument 939 internalFormat, format, 0, GL_TRUE); in _mesa_init_teximage_fields() 1682 GLenum target, GLenum internalFormat) in _mesa_legal_texture_base_format_for_target() argument 1684 if (_mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_COMPONENT in _mesa_legal_texture_base_format_for_target() 1685 || _mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_STENCIL in _mesa_legal_texture_base_format_for_target() 1686 || _mesa_base_tex_format(ctx, internalFormat) == GL_STENCIL_INDEX) { in _mesa_legal_texture_base_format_for_target() 1729 texture_formats_agree(GLenum internalFormat, in texture_formats_agree() argument [all …]
|
D | externalobjects.c | 332 GLenum internalFormat, GLsizei width, GLsizei height, in texstorage_memory() argument 354 if (!_mesa_is_legal_tex_storage_format(ctx, internalFormat)) { in texstorage_memory() 357 _mesa_enum_to_string(internalFormat)); in texstorage_memory() 370 levels, internalFormat, in texstorage_memory() 376 GLenum internalFormat, GLsizei width, GLsizei height, in texstorage_memory_ms() argument 399 internalFormat, width, height, depth, in texstorage_memory_ms() 408 GLenum internalFormat, GLsizei width, GLsizei height, in texturestorage_memory() argument 423 if (!_mesa_is_legal_tex_storage_format(ctx, internalFormat)) { in texturestorage_memory() 426 _mesa_enum_to_string(internalFormat)); in texturestorage_memory() 446 levels, internalFormat, in texturestorage_memory() [all …]
|
D | texcompress_cpal.c | 109 _mesa_cpal_compressed_size(int level, GLenum internalFormat, in _mesa_cpal_compressed_size() argument 117 if (internalFormat < GL_PALETTE4_RGB8_OES in _mesa_cpal_compressed_size() 118 || internalFormat > GL_PALETTE8_RGB5_A1_OES) { in _mesa_cpal_compressed_size() 122 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES]; in _mesa_cpal_compressed_size() 123 assert(info->cpal_format == internalFormat); in _mesa_cpal_compressed_size() 150 GLenum internalFormat, in _mesa_cpal_compressed_teximage2d() argument 162 assert(internalFormat >= GL_PALETTE4_RGB8_OES in _mesa_cpal_compressed_teximage2d() 163 && internalFormat <= GL_PALETTE8_RGB5_A1_OES); in _mesa_cpal_compressed_teximage2d() 165 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES]; in _mesa_cpal_compressed_teximage2d()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureLevelStateQueryTests.cpp | 130 glw::GLenum internalFormat; member 138 , internalFormat (GL_RGBA) in TextureLevelSpec() 278 static bool isColorRenderableFormat (glw::GLenum internalFormat) in isColorRenderableFormat() argument 280 return internalFormat == GL_RGB565 || in isColorRenderableFormat() 281 internalFormat == GL_RGBA4 || in isColorRenderableFormat() 282 internalFormat == GL_RGB5_A1 || in isColorRenderableFormat() 283 internalFormat == GL_RGB10_A2 || in isColorRenderableFormat() 284 internalFormat == GL_RGB10_A2UI || in isColorRenderableFormat() 285 internalFormat == GL_SRGB8_ALPHA8 || in isColorRenderableFormat() 286 internalFormat == GL_R8 || in isColorRenderableFormat() [all …]
|
D | es31fTextureFormatTests.cpp | 99 …& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int… 140 …& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int… in TextureCubeArrayFormatCase() argument 144 , m_format (internalFormat) in TextureCubeArrayFormatCase() 277 …Context& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width); 298 …rContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) in TextureBufferFormatCase() argument 301 , m_format (internalFormat) in TextureBufferFormatCase() 470 deUint32 internalFormat; in init() member 529 deUint32 internalFormat; in init() member 542 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; in init() local 544 string descriptionBase = glu::getTextureFormatName(internalFormat); in init() [all …]
|
D | es31fTextureSpecificationTests.cpp | 323 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int… in BasicTexImageCubeArrayCase() argument 324 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, n… in BasicTexImageCubeArrayCase() 325 , m_internalFormat (internalFormat) in BasicTexImageCubeArrayCase() 361 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int… in BasicTexStorageCubeArrayCase() argument 362 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, n… in BasicTexStorageCubeArrayCase() 363 , m_internalFormat (internalFormat) in BasicTexStorageCubeArrayCase() 406 deUint32 internalFormat, in TexImageCubeArrayBufferCase() argument 416 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, d… in TexImageCubeArrayBufferCase() 417 , m_internalFormat (internalFormat) in TexImageCubeArrayBufferCase() 487 deUint32 internalFormat, in TexSubImageCubeArrayBufferCase() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 51 for (GLenum internalFormat : allFormats) in TEST_P() local 54 rx::d3d11::Format::Get(internalFormat, renderer->getRenderer11DeviceCaps()); in TEST_P() 55 const auto &textureInfo = textureCaps.get(internalFormat); in TEST_P() 59 gl::GetSizedInternalFormatInfo(internalFormat); in TEST_P() 74 EXPECT_EQ(textureable, textureInfo.texturable) << " for " << gl::FmtHex(internalFormat); in TEST_P() 83 << " for " << gl::FmtHex(internalFormat); in TEST_P() 84 EXPECT_EQ(expectedMipGen, actualMipGen) << " for " << gl::FmtHex(internalFormat); in TEST_P() 92 EXPECT_EQ(filterable, textureInfo.filterable) << " for " << gl::FmtHex(internalFormat); in TEST_P() 108 << " for " << gl::FmtHex(internalFormat); in TEST_P() 120 << " for " << gl::FmtHex(internalFormat); in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 50 for (GLenum internalFormat : allFormats) in TEST_P() local 53 rx::d3d11::Format::Get(internalFormat, renderer->getRenderer11DeviceCaps()); in TEST_P() 54 const auto &textureInfo = textureCaps.get(internalFormat); in TEST_P() 58 gl::GetSizedInternalFormatInfo(internalFormat); in TEST_P() 73 EXPECT_EQ(textureable, textureInfo.texturable) << " for " << gl::FmtHex(internalFormat); in TEST_P() 82 << " for " << gl::FmtHex(internalFormat); in TEST_P() 83 EXPECT_EQ(expectedMipGen, actualMipGen) << " for " << gl::FmtHex(internalFormat); in TEST_P() 91 EXPECT_EQ(filterable, textureInfo.filterable) << " for " << gl::FmtHex(internalFormat); in TEST_P() 107 << " for " << gl::FmtHex(internalFormat); in TEST_P() 119 << " for " << gl::FmtHex(internalFormat); in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | formatutilsgl.h | 62 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat, StandardGL standard); 66 GLenum internalFormat; member 72 GLenum internalFormat, 88 GLenum internalFormat; member 92 GLenum internalFormat); 104 GLenum internalFormat; member 108 GLenum internalFormat, 113 GLenum internalFormat; member 117 GLenum internalFormat); 121 GLenum internalFormat; member [all …]
|
D | formatutilsgl.cpp | 117 GLenum internalFormat, in InsertFormatMapping() argument 136 map->insert(std::make_pair(internalFormat, formatInfo)); in InsertFormatMapping() 376 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat, StandardGL standard) in GetInternalFormatInfo() argument 379 InternalFormatInfoMap::const_iterator iter = formatMap.find(internalFormat); in GetInternalFormatInfo() 401 const gl::InternalFormat &internalFormat) in GetNativeInternalFormat() argument 403 GLenum result = internalFormat.internalFormat; in GetNativeInternalFormat() 410 result = internalFormat.sizedInternalFormat; in GetNativeInternalFormat() 412 if (features.avoid1BitAlphaTextureFormats.enabled && internalFormat.alphaBits == 1) in GetNativeInternalFormat() 419 internalFormat.sizedInternalFormat == GL_RGBA4) in GetNativeInternalFormat() 425 if (internalFormat.sizedInternalFormat == GL_RGB565 && in GetNativeInternalFormat() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | formatutilsgl.h | 64 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat, StandardGL standard); 68 GLenum internalFormat = GL_NONE; member 74 GLenum internalFormat, 90 GLenum internalFormat = GL_NONE; member 94 GLenum internalFormat); 106 GLenum internalFormat = GL_NONE; member 110 GLenum internalFormat, 115 GLenum internalFormat = GL_NONE; member 119 GLenum internalFormat); 123 GLenum internalFormat = GL_NONE; member [all …]
|
D | formatutilsgl.cpp | 134 GLenum internalFormat, in InsertFormatMapping() argument 153 map->insert(std::make_pair(internalFormat, formatInfo)); in InsertFormatMapping() 436 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat, StandardGL standard) in GetInternalFormatInfo() argument 439 InternalFormatInfoMap::const_iterator iter = formatMap.find(internalFormat); in GetInternalFormatInfo() 477 static const gl::InternalFormat &EmulateLUMA(const gl::InternalFormat &internalFormat) in EmulateLUMA() argument 479 ASSERT(IsLUMAFormat(internalFormat.format)); in EmulateLUMA() 483 return gl::GetInternalFormatInfo(EmulateLUMAFormat(internalFormat.format), internalFormat.type); in EmulateLUMA() 488 const gl::InternalFormat &internalFormat) in GetNativeInternalFormat() argument 490 GLenum result = internalFormat.internalFormat; in GetNativeInternalFormat() 497 result = internalFormat.sizedInternalFormat; in GetNativeInternalFormat() [all …]
|
D | TextureGL.cpp | 71 bool GetEmulatedAlphaChannel(const angle::FeaturesGL &features, GLenum internalFormat) in GetEmulatedAlphaChannel() argument 74 internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT; in GetEmulatedAlphaChannel() 162 GLenum internalFormat, in setImage() argument 181 reserveTexImageToBeFilled(context, target, level, internalFormat, size, format, type)); in setImage() 204 ANGLE_TRY(reserveTexImageToBeFilled(context, target, level, internalFormat, size, in setImage() 218 ANGLE_TRY(setImageHelper(context, target, level, internalFormat, size, format, type, pixels)); in setImage() 226 GLenum internalFormat, in setImageHelper() argument 239 nativegl::GetTexImageFormat(functions, features, internalFormat, format, type); in setImageHelper() 254 static_cast<GLint>(level), texImageFormat.internalFormat, in setImageHelper() 263 texImageFormat.internalFormat, size.width, size.height, in setImageHelper() [all …]
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrContext.cpp | 35 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, const tcu::Surface& … in texImage2D() argument 39 …texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAcce… in texImage2D() 42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int heigh… in texImage2D() argument 47 switch (internalFormat) in texImage2D() 54 format = internalFormat; in texImage2D() 60 …glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(internalFormat)); in texImage2D() 67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | texture_format_table.h | 36 inline constexpr Format(GLenum internalFormat, 47 static const Format &Get(GLenum internalFormat, const Renderer11DeviceCaps &deviceCaps); 53 GLenum internalFormat; member 70 : internalFormat(GL_NONE), in Format() 82 constexpr Format::Format(GLenum internalFormat, in Format() argument 92 : internalFormat(internalFormat), in Format()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | texture_format_table.h | 36 inline constexpr Format(GLenum internalFormat, 47 static const Format &Get(GLenum internalFormat, const Renderer11DeviceCaps &deviceCaps); 53 GLenum internalFormat; member 70 : internalFormat(GL_NONE), in Format() 82 constexpr Format::Format(GLenum internalFormat, in Format() argument 92 : internalFormat(internalFormat), in Format()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 66 tcu::TextureFormat mapGLUnsizedInternalFormat (deUint32 internalFormat) in mapGLUnsizedInternalFormat() argument 69 switch (internalFormat) in mapGLUnsizedInternalFormat() 77 …lError(string("Can't map GL unsized internal format (") + tcu::toHex(internalFormat).toString() + … in mapGLUnsizedInternalFormat() 646 …BasicTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 internalFormat… in BasicTexImage2DCase() argument 647 …: Texture2DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height,… in BasicTexImage2DCase() 648 , m_internalFormat (internalFormat) in BasicTexImage2DCase() 701 …eCubeCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size) in BasicTexImageCubeCase() argument 702 …: TextureCubeSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2… in BasicTexImageCubeCase() 703 , m_internalFormat (internalFormat) in BasicTexImageCubeCase() 750 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, in… in BasicTexImage2DArrayCase() argument [all …]
|