Skip to content

Open questions about swap chain formats #1231

Description

@kainino0x
  • 1. How sRGB works exactly (can browser always choose between non-srgb and srgb formats? does the app get to have a say; e.g. if they really want srgb, but they want to choose the most optimal between rgba8-srgb and bgra8-srgb, can they?)
  • 2. HDR and float16 etc
  • 3. getSwapChainPreferredFormat with a list of "formats the app can understand"
  • 4. How this interacts with CanvasColorEncodingEnum, if we expose both
  • 5. How to expose display-specific preferred formats that could change when a window is moved between displays

Originally posted by @kainino0x in #1185 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions