occt: master 776302d4

Author Committer Branch Timestamp Parent
kgv bugmaster master 2021-01-29 00:34:16 master 961c002c
Affected Issues  0032093: Visualization, TKOpenGl - loading texture in BGR format fails in OpenGL ES
Changeset 0032093: Visualization, TKOpenGl - loading texture in BGR format fails in OpenGL ES

Graphic3d_TextureRoot::convertToCompatible() - fixed handling of
Image_Format_BGR and Image_Format_BGRA formats.

OpenGl_Texture - added error message for unsupported pixel format;
error messages have been extended by resource id.
OpenGl_Texture::InitCubeMap() now does not release cubemap
on mipmaps generation failure.

Image_PixMap::ImageFormatToString() - added method returning name of pixel format.
mod - src/Graphic3d/Graphic3d_TextureRoot.cxx Diff File
mod - src/Image/Image_PixMap.cxx Diff File
mod - src/Image/Image_PixMap.hxx Diff File
mod - src/OpenGl/OpenGl_Texture.cxx Diff File