You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
I'm trying to create a backend render target using `kR16G16B16A16_unorm_SkColorType` without much luck. Can Skia even render to that format?
I'm looking for a high-precision intermediate format because I'm then transforming everything using a custom gamma LUT, and using lower-precision texture formats leads to a loss of representable values for brighter pixel values (assuming an EOTF similar to sRGB).
Michael Ludwig
unread,
Jun 9, 2025, 9:16:19 AMJun 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
What backend of Skia are you using for rendering? You should also be able to use kRGBA_F16_SkColorType to increase precision. The CPU backend *should* (from a quick scan of the code) support RGBA16 rendering, and most GPU backends support it as well, although it's limited by support on the particular device (e.g. OpenGL requires extensions to enable RGBA16 texture formats).