Difference between revisions of "Talk:Image Format"

From OpenGL Wiki
Jump to navigation Jump to search
(Required Formats)
 
 
Line 4: Line 4:
  
 
Is this correct? Going from GL_RGB4 to GL_R3_G3_B2 is losing information, yes?
 
Is this correct? Going from GL_RGB4 to GL_R3_G3_B2 is losing information, yes?
 +
: Perhaps you misunderstood what is being said. Yes, that conversion loses information. The point of the text is that it is ''allowed'' to lose information, because {{enum|GL_RGB4}} is ''not'' a required image format. {{enum|GL_RGB8}} is a required image format, so it is ''not'' allowed to lose information.
 +
 +
: [[User:Alfonse|Alfonse]] ([[User talk:Alfonse|talk]]) 23:24, 22 November 2017 (UTC)

Latest revision as of 23:24, 22 November 2017

Required Formats section says the following:

"... The implementation is forbidden to lose information from these formats. So, while an implementation may choose to turn GL_RGB4 into GL_R3_G3_B2, it is not permitted to turn GL_RGB8 into GL_RGB4 internally."

Is this correct? Going from GL_RGB4 to GL_R3_G3_B2 is losing information, yes?

Perhaps you misunderstood what is being said. Yes, that conversion loses information. The point of the text is that it is allowed to lose information, because GL_RGB4 is not a required image format. GL_RGB8 is a required image format, so it is not allowed to lose information.
Alfonse (talk) 23:24, 22 November 2017 (UTC)