• Robert Carr's avatar
    Expose setScalingMode from Surface. · c2e77887
    Robert Carr authored
    While we are here fix a validation error causing
    NATIVE_WINDOW_SCALING_MODE_NO_SCALE_CROP to never be applied.
    Furthermore, we remove GLConsumer logic causing the scaling mode to
    be reinitialized when buffers change.
    
    Bug: 26010823
    Change-Id: I1bf1e4fdc2eded67ff401783cf24f920e4684326
    c2e77887
GLConsumer.cpp 39.7 KB