HDR: Use SDR settings for gamma 2.2 in createEglSurface
PiperOrigin-RevId: 496768072
This commit is contained in:
parent
99b665ca3f
commit
06ccb6e8ed
@ -293,7 +293,7 @@ public final class GlUtil {
|
||||
throws GlException {
|
||||
int[] configAttributes;
|
||||
int[] windowAttributes;
|
||||
if (colorTransfer == C.COLOR_TRANSFER_SDR) {
|
||||
if (colorTransfer == C.COLOR_TRANSFER_SDR || colorTransfer == C.COLOR_TRANSFER_GAMMA_2_2) {
|
||||
configAttributes = EGL_CONFIG_ATTRIBUTES_RGBA_8888;
|
||||
windowAttributes = EGL_WINDOW_SURFACE_ATTRIBUTES_NONE;
|
||||
} else if (colorTransfer == C.COLOR_TRANSFER_ST2084) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user