Package org.lwjgl.egl

Class EXTSurfaceSMPTE2086Metadata

  • public final class EXTSurfaceSMPTE2086Metadata
    extends java.lang.Object
    Native bindings to the EXT_surface_SMPTE2086_metadata extension.

    This extension adds a new set of EGL surface attributes for the metadata defined by the SMPTE (the Society of Motion Picture and Television Engineers) ST 2086 standard. The SMPTE 2086 metadata includes the color primaries, white point and luminance range of the mastering display, which all together define the color volume that contains all the possible colors the mastering display can produce. The mastering display is the display where creative work is done and creative intent is established. To preserve such creative intent as much as possible and achieve consistent color reproduction on different viewing displays, it is useful for the display pipeline to know the color volume of the original mastering display where content is created or tuned. This avoids performing unnecessary mapping of colors that are not displayable on the original mastering display.

    This extension adds the ability to pass the SMPTE 2086 metadata via EGL, from which the color volume can be derived. While the general purpose of the metadata is to assist in the transformation between different color volumes of different displays and help achieve better color reproduction, it is not in the scope of this extension to define how exactly the metadata should be used in such a process. It is up to the implementation to determine how to make use of the metadata.

    Requires EGL 1.4.