/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_framebuffer_sRGB.txt | 72 The sRGB color space is based on typical (non-linear) monitor 75 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 78 This extension adds a framebuffer capability for sRGB framebuffer 79 update and blending. When blending is disabled but the new sRGB 82 green, and blue generated by fragment coloring are encoded for sRGB 84 along with the new sRGB update mode, red, green, and blue framebuffer 85 color components are treated as sRGB values that are converted to 88 for sRGB just prior to being written into the framebuffer. 92 configured to assume framebuffer color values are sRGB encoded. 140 it is moved to the new "sRGB Conversion" section: [all …]
|
D | EXT_texture_sRGB.txt | 59 The sRGB color space is based on typical (non-linear) monitor 62 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 66 texture formats with sRGB color components. 75 domain and "sRGB" indicates the extension is adding a set of 76 sRGB formats. ARB_texture_float is similarly named where "_float" 79 The mixed-case spelling of sRGB is the established usage so 86 2) Should this extension mandate that sRGB conversion be performed 89 RESOLVED: Post-filtering sRGB color conversion is allowed though 92 Ideally, sRGB conversion moves from the non-linear sRGB to the 94 provided leeway as to whether sRGB conversion occurs before or [all …]
|
D | EXT_texture_sRGB_decode.txt | 82 provides a texture format stored in the sRGB color space. Sampling one 85 retrieve the undecoded sRGB data from the texture and manipulate 89 allow sRGB textures to be read directly, without decoding. 93 internal format that is sRGB and is ignored for all other textures. 163 the linear components are re-encoded as sRGB in the following manner: 165 If cl is the linear color component, then the corresponding sRGB 173 internal format is one of the sRGB formats listed previously and 175 SKIP_DECODE_EXT, the sRGB decode and encode steps are skipped during 178 -- OpenGL: Section 3.8.15, sRGB Color Decoding 180 (section was previously titled sRGB Color Conversion) [all …]
|
D | EXT_sRGB_write_control.txt | 44 sRGB is necessary by enabling or disabling this conversion at framebuffer 75 floating-point) are considered to be encoded for the sRGB color space and 77 component is converted in the same fashion described for sRGB texture 82 Modify Section 4.1.8: sRGB Conversion 87 values after blending are converted into the non-linear sRGB color space by 96 converted into an sRGB color space). 103 components are converted from the non-linear sRGB color space according to 108 In the case of not working with OpenGL ES 3.0, sRGB conversion is dictacted 130 sRGB color space by computing: 138 converted into an sRGB color space). [all …]
|
D | WGL_EXT_colorspace.txt | 50 Applications may wish to use sRGB format default framebuffers to 51 more easily achieve sRGB rendering to display devices. This 53 in sRGB by OpenGL/ES contexts supporting that capability. 109 sRGB encoding when GL_FRAMEBUFFER_SRGB is enabled. 111 Only OpenGL and OpenGL ES contexts which support sRGB 113 only to sRGB formats supported by the context (normally just SRGB8) 114 Older versions not supporting sRGB rendering will ignore this 116 enable GL_FRAMEBUFFER_SRGB to perform sRGB rendering, even when an 117 sRGB surface is bound; this enable is not required (or supported) 121 the 'sRGB Conversion' sections of the OpenGL 4.3 and OpenGL ES 3.0 [all …]
|
D | EXT_sRGB.txt | 53 The sRGB color space is based on typical (non-linear) response of the human 55 Commission (IEC) as IEC 61966-2-1. The transfer function of sRGB roughly 63 This extension adds a framebuffer capability for sRGB framebuffer update 64 and blending. When blending is disabled but the new sRGB updated mode is 67 fragment coloring are encoded for sRGB prior to being written into the 68 framebuffer. When blending is enabled along with the new sRGB update mode, 69 red, green, and blue framebuffer color components are treated as sRGB 72 result is encoded for sRGB just prior to being written into the 119 If the format of a texture is sRGB, he error INVALID_OPERATION is 122 Add Section 3.7.14, sRGB Texture Color Conversion [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_framebuffer_sRGB.txt | 72 The sRGB color space is based on typical (non-linear) monitor 75 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 78 This extension adds a framebuffer capability for sRGB framebuffer 79 update and blending. When blending is disabled but the new sRGB 82 green, and blue generated by fragment coloring are encoded for sRGB 84 along with the new sRGB update mode, red, green, and blue framebuffer 85 color components are treated as sRGB values that are converted to 88 for sRGB just prior to being written into the framebuffer. 92 configured to assume framebuffer color values are sRGB encoded. 140 it is moved to the new "sRGB Conversion" section: [all …]
|
D | EXT_texture_sRGB.txt | 59 The sRGB color space is based on typical (non-linear) monitor 62 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 66 texture formats with sRGB color components. 75 domain and "sRGB" indicates the extension is adding a set of 76 sRGB formats. ARB_texture_float is similarly named where "_float" 79 The mixed-case spelling of sRGB is the established usage so 86 2) Should this extension mandate that sRGB conversion be performed 89 RESOLVED: Post-filtering sRGB color conversion is allowed though 92 Ideally, sRGB conversion moves from the non-linear sRGB to the 94 provided leeway as to whether sRGB conversion occurs before or [all …]
|
D | EXT_texture_sRGB_decode.txt | 82 provides a texture format stored in the sRGB color space. Sampling one 85 retrieve the undecoded sRGB data from the texture and manipulate 89 allow sRGB textures to be read directly, without decoding. 93 internal format that is sRGB and is ignored for all other textures. 163 the linear components are re-encoded as sRGB in the following manner: 165 If cl is the linear color component, then the corresponding sRGB 173 internal format is one of the sRGB formats listed previously and 175 SKIP_DECODE_EXT, the sRGB decode and encode steps are skipped during 178 -- OpenGL: Section 3.8.15, sRGB Color Decoding 180 (section was previously titled sRGB Color Conversion) [all …]
|
D | EXT_sRGB_write_control.txt | 44 sRGB is necessary by enabling or disabling this conversion at framebuffer 75 floating-point) are considered to be encoded for the sRGB color space and 77 component is converted in the same fashion described for sRGB texture 82 Modify Section 4.1.8: sRGB Conversion 87 values after blending are converted into the non-linear sRGB color space by 96 converted into an sRGB color space). 103 components are converted from the non-linear sRGB color space according to 108 In the case of not working with OpenGL ES 3.0, sRGB conversion is dictacted 130 sRGB color space by computing: 138 converted into an sRGB color space). [all …]
|
D | WGL_EXT_colorspace.txt | 50 Applications may wish to use sRGB format default framebuffers to 51 more easily achieve sRGB rendering to display devices. This 53 in sRGB by OpenGL/ES contexts supporting that capability. 109 sRGB encoding when GL_FRAMEBUFFER_SRGB is enabled. 111 Only OpenGL and OpenGL ES contexts which support sRGB 113 only to sRGB formats supported by the context (normally just SRGB8) 114 Older versions not supporting sRGB rendering will ignore this 116 enable GL_FRAMEBUFFER_SRGB to perform sRGB rendering, even when an 117 sRGB surface is bound; this enable is not required (or supported) 121 the 'sRGB Conversion' sections of the OpenGL 4.3 and OpenGL ES 3.0 [all …]
|
D | EXT_sRGB.txt | 53 The sRGB color space is based on typical (non-linear) response of the human 55 Commission (IEC) as IEC 61966-2-1. The transfer function of sRGB roughly 63 This extension adds a framebuffer capability for sRGB framebuffer update 64 and blending. When blending is disabled but the new sRGB updated mode is 67 fragment coloring are encoded for sRGB prior to being written into the 68 framebuffer. When blending is enabled along with the new sRGB update mode, 69 red, green, and blue framebuffer color components are treated as sRGB 72 result is encoded for sRGB just prior to being written into the 119 If the format of a texture is sRGB, he error INVALID_OPERATION is 122 Add Section 3.7.14, sRGB Texture Color Conversion [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_framebuffer_sRGB.txt | 72 The sRGB color space is based on typical (non-linear) monitor 75 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 78 This extension adds a framebuffer capability for sRGB framebuffer 79 update and blending. When blending is disabled but the new sRGB 82 green, and blue generated by fragment coloring are encoded for sRGB 84 along with the new sRGB update mode, red, green, and blue framebuffer 85 color components are treated as sRGB values that are converted to 88 for sRGB just prior to being written into the framebuffer. 92 configured to assume framebuffer color values are sRGB encoded. 133 it is moved to the new "sRGB Conversion" section: [all …]
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_framebuffer_sRGB.txt | 83 The sRGB color space is based on typical (non-linear) monitor 86 as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2 89 This extension adds a framebuffer capability for sRGB framebuffer 90 update and blending. When blending is disabled but the new sRGB 93 green, and blue generated by fragment coloring are encoded for sRGB 95 along with the new sRGB update mode, red, green, and blue framebuffer 96 color components are treated as sRGB values that are converted to 99 for sRGB just prior to being written into the framebuffer. 103 configured to assume framebuffer color values are sRGB encoded. 145 it is moved to the new "sRGB Conversion" section: [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/ |
D | ImageCopy.frag | 65 // Whether source or destination are sRGB. They are brought to linear space for alpha 66 // premultiply/unmultiply, as well as to ensure the copy doesn't change values due to sRGB 80 // sRGB transform: y = sRGB(x) where x is linear and y is the sRGB encoding: 96 float sRGBToLinear(float sRGB) 98 // sRGB inverse transform: x = sRGB^(-1)(y) where x is linear and y is the sRGB encoding: 102 if (sRGB <= 0.04045) 104 return sRGB / 12.92; 108 return pow((sRGB + 0.055f) / 1.055f, 2.4f); 142 // Note: sRGB formats are unorm, so SrcIsFloat must be necessarily set 146 // If src is sRGB, then texelFetch has performed an sRGB->linear transformation. We need to [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_sRGB_formats.txt | 58 formats with nonlinear sRGB color components. 61 containing sRGB values with identical red, green, and blue 65 algorithms are also added to provide compressed sRGB texture 68 Finally, sized variant of sRGB, sLuminace, and sLuminance_alpha are 189 Modify Section 3.7.14, "sRGB Texture Color Conversion": 198 from an sRGB color space to a linear color space as part of 215 "... For framebuffer objects, components are sRGB-encoded if the 298 2) Should inherently incomplete compressed sRGB texture attachments 299 still return sRGB for FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 306 3) Should formats for sRGB luminance values be supported? [all …]
|
D | NV_generate_mipmap_sRGB.txt | 40 with sRGB encoding. NV_generate_mipmap_sRGB lifts this restriction. 56 "If the format of a texture is sRGB, the error INVALID_OPERATION is 64 GenerateMipmap does not throw an error if the format of the texture is sRGB 74 1) How should mipmap generation work for sRGB textures? 76 RESOLVED: The best way to perform mipmap generation for sRGB 77 textures is by downsampling the sRGB image in a linear color 80 This involves converting the RGB components of sRGB texels 83 linear RGB values to sRGB for storage in the downsampled texture 86 (Remember alpha, when present, is linear even in sRGB texture 91 filter" meaning there is no requirement for how even non-sRGB [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_sRGB_formats.txt | 58 formats with nonlinear sRGB color components. 61 containing sRGB values with identical red, green, and blue 65 algorithms are also added to provide compressed sRGB texture 68 Finally, sized variant of sRGB, sLuminace, and sLuminance_alpha are 189 Modify Section 3.7.14, "sRGB Texture Color Conversion": 198 from an sRGB color space to a linear color space as part of 215 "... For framebuffer objects, components are sRGB-encoded if the 298 2) Should inherently incomplete compressed sRGB texture attachments 299 still return sRGB for FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 306 3) Should formats for sRGB luminance values be supported? [all …]
|
D | NV_generate_mipmap_sRGB.txt | 40 with sRGB encoding. NV_generate_mipmap_sRGB lifts this restriction. 56 "If the format of a texture is sRGB, the error INVALID_OPERATION is 64 GenerateMipmap does not throw an error if the format of the texture is sRGB 74 1) How should mipmap generation work for sRGB textures? 76 RESOLVED: The best way to perform mipmap generation for sRGB 77 textures is by downsampling the sRGB image in a linear color 80 This involves converting the RGB components of sRGB texels 83 linear RGB values to sRGB for storage in the downsampled texture 86 (Remember alpha, when present, is linear even in sRGB texture 91 filter" meaning there is no requirement for how even non-sRGB [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | compressedtex.txt | 16 Those formats listed as sRGB-encoded have in-memory representations of 44 | ename:VK_FORMAT_BC1_RGB_SRGB_BLOCK |BC1 with no alpha, sRGB-encoded 46 | ename:VK_FORMAT_BC1_RGBA_SRGB_BLOCK |BC1 with alpha, sRGB-encoded 48 | ename:VK_FORMAT_BC2_SRGB_BLOCK |BC2, sRGB-encoded 50 | ename:VK_FORMAT_BC3_SRGB_BLOCK |BC3, sRGB-encoded 60 | ename:VK_FORMAT_BC7_SRGB_BLOCK |BC7, sRGB-encoded 76 | ename:VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK |RGB ETC2 with sRGB encoding 78 | ename:VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK |RGB ETC2 with punch-through alpha and sRGB 80 | ename:VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK |RGBA ETC2 with sRGB encoding 100 | ename:VK_FORMAT_ASTC_4x4_SRGB_BLOCK ^|[eq]#4 {times} 4# ^|sRGB [all …]
|
D | compressedtex.adoc | 16 Those formats listed as sRGB-encoded have in-memory representations of 44 | ename:VK_FORMAT_BC1_RGB_SRGB_BLOCK |BC1 with no alpha, sRGB-encoded 46 | ename:VK_FORMAT_BC1_RGBA_SRGB_BLOCK |BC1 with alpha, sRGB-encoded 48 | ename:VK_FORMAT_BC2_SRGB_BLOCK |BC2, sRGB-encoded 50 | ename:VK_FORMAT_BC3_SRGB_BLOCK |BC3, sRGB-encoded 60 | ename:VK_FORMAT_BC7_SRGB_BLOCK |BC7, sRGB-encoded 76 | ename:VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK |RGB ETC2 with sRGB encoding 78 | ename:VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK |RGB ETC2 with punch-through alpha and sRGB 80 | ename:VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK |RGBA ETC2 with sRGB encoding 100 | ename:VK_FORMAT_ASTC_4x4_SRGB_BLOCK ^|[eq]#4 {times} 4# ^|sRGB [all …]
|
D | VK_QCOM_ycbcr_degamma.adoc | 21 This extension allows implementations to expose support for "`sRGB EOTF`" 22 also known as "`sRGB degamma`", used in combination with images using 8-bit 30 This extension allows implementations to expose sRGB degamma for {YCbCr} 45 Since non-compressed Vulkan sRGB formats are already limited to 8-bit 65 4) Why apply the "`sRGB`" transfer function directly to {YCbCr} data when it 72 The ITU transfer function is mathematically different from the sRGB transfer 73 function and while sRGB and ITU define similar curves, the difference is 75 Performing the "`sRGB degamma`" prior to range expansion can introduce 78 Nevertheless, using sRGB can make sense for certain use-cases where camera 79 YCbCr images are known to be encoded with sRGB (or a pure gamma 2.2) [all …]
|
/third_party/mesa3d/docs/isl/ |
D | formats.rst | 94 Understanding sRGB 97 The sRGB colorspace is one of the least tractable concepts in the entire world 100 values. The sRGB color space, on the other hand, is non-linear and provides 102 relationship between linear and sRGB is governed by the following continuous 113 where :math:`c_l` is the linear color and :math:`c_s` is the color in sRGB. 117 The key to understanding sRGB is to think about it starting from the physical 118 display. All displays work natively in sRGB. On older displays, there isn't 122 the gamma curve of your average CRT is approximately the sRGB curve. More 125 in sRGB. When an image is sent to the X server, X passes the pixels on to the 129 the sRGB colorspace. [all …]
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_gl_colorspace.txt | 36 OpenGL or OpenGL ES contexts supporting sRGB default framebuffers, 41 Applications may wish to use sRGB format default framebuffers to 42 more easily achieve sRGB rendering to display devices. This 44 sRGB by OpenGL contexts supporting that capability. 73 and OpenGL ES contexts supporting sRGB framebuffers. EGL itself does 74 not distinguish multiple colorspace models. Refer to the ``sRGB 91 [fn1] Only OpenGL and OpenGL ES contexts which support sRGB 93 only to sRGB formats supported by the context (normally just SRGB8) 94 Older versions not supporting sRGB rendering will ignore this 96 enable GL_FRAMEBUFFER_SRGB to perform sRGB rendering, even when an [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_gl_colorspace.txt | 36 OpenGL or OpenGL ES contexts supporting sRGB default framebuffers, 41 Applications may wish to use sRGB format default framebuffers to 42 more easily achieve sRGB rendering to display devices. This 44 sRGB by OpenGL contexts supporting that capability. 73 and OpenGL ES contexts supporting sRGB framebuffers. EGL itself does 74 not distinguish multiple colorspace models. Refer to the ``sRGB 91 [fn1] Only OpenGL and OpenGL ES contexts which support sRGB 93 only to sRGB formats supported by the context (normally just SRGB8) 94 Older versions not supporting sRGB rendering will ignore this 96 enable GL_FRAMEBUFFER_SRGB to perform sRGB rendering, even when an [all …]
|