WebGLRenderingContext.texImage2D() should rotate the images respecting their EXIF orientation.


Flipped horizontally

Rotated 180°

Flipped vertically


Rotated 90° CCW and flipped vertically

Rotated 90° CCW

Rotated 90° CW and flipped vertically

Rotated 90° CW