]> OCCT Git - occt.git/commit
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap
authorkgv <kgv@opencascade.com>
Tue, 1 Mar 2022 19:34:31 +0000 (22:34 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 3 Mar 2022 17:07:53 +0000 (20:07 +0300)
commitb9a372bbcd588538e24282f5a98b4426d209b3c3
tree9a57519672048e32f8bce5b8288a096eb226ea34
parentb5204c6c377888fb47c37b5c91b784379da5f4d5
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap

Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
Added Image_Format_GrayF_half mapped to GL_R16F texture.
src/Image/Image_AlienPixMap.cxx
src/Image/Image_Format.hxx
src/Image/Image_PixMap.cxx
src/Image/Image_PixMap.hxx
src/Media/Media_Frame.cxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_GlFunctions.cxx
src/OpenGl/OpenGl_GlTypes.hxx
src/OpenGl/OpenGl_TextureFormat.cxx