Diffusion Krita 0cf7c069e3dc

Fix swizzling when rendering QPainter on QOpenGLWidget with Angle

Authored by dkazakov on Apr 4 2019, 4:40 PM.

Description

Fix swizzling when rendering QPainter on QOpenGLWidget with Angle

OpenGLES specification does not support GL_TEXTURE_SWIZZLE_RGBA,
it supports only per-channel calls. And since Qt supports QpenGLES,
it should use the latter approach only.

See the upstream patch review:
https://codereview.qt-project.org/#/c/258193/

BUG:406196

Details

Committed
dkazakovApr 4 2019, 4:40 PM
Parents
R37:77ee7214d172: Detect presence of HDR code in Qt automatically by CMake
Branches
Unknown
Tags
Unknown