renderer: add simple color management (#9506)
Adds proper color management and transformations for CM surfaces.
This commit is contained in:
parent
e86d3a14e4
commit
8c97cb7858
14 changed files with 823 additions and 179 deletions
|
|
@ -11,6 +11,17 @@ class CShader {
|
|||
GLint proj = -1;
|
||||
GLint color = -1;
|
||||
GLint alphaMatte = -1;
|
||||
GLint texType = -1;
|
||||
GLint skipCM = -1;
|
||||
GLint sourceTF = -1;
|
||||
GLint targetTF = -1;
|
||||
GLint sourcePrimaries = -1;
|
||||
GLint targetPrimaries = -1;
|
||||
GLint maxLuminance = -1;
|
||||
GLint dstMaxLuminance = -1;
|
||||
GLint dstRefLuminance = -1;
|
||||
GLint sdrSaturation = -1; // sdr -> hdr saturation
|
||||
GLint sdrBrightness = -1; // sdr -> hdr brightness multiplier
|
||||
GLint tex = -1;
|
||||
GLint alpha = -1;
|
||||
GLint posAttrib = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue