Instead of color inversion it will produce Red and Blue colors swap,
in order to correct displayed colors for R4xx and other old drivers
still based on KMS API
* for full implementation details.
*/
private static final float[] MATRIX_INVERT_COLOR = new float[] {
- 0.402f, -0.598f, -0.599f, 0,
- -1.174f, -0.174f, -1.175f, 0,
- -0.228f, -0.228f, 0.772f, 0,
- 1, 1, 1, 1
+ 0.0f, 0.0f, 1.0f, 0,
+ 0.0f, 1.0f, 0.0f, 0,
+ 1.0f, 0.0f, 0.0f, 0,
+ 0, 0, 0, 1
};
public static void applyDaltonizerSetting(Context context, int userId) {