Bug 397977 - Ocio doesn't work with Angle Enabled
Summary: Ocio doesn't work with Angle Enabled
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: OpenGL Canvas (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: amyspark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 09:30 UTC by Halla Rempt
Modified: 2021-09-27 20:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2018-08-28 09:30:48 UTC
If Angle is enabled, the versionFunctions api is not available:

7636] versionFunctions: Not supported on OpenGL ES

This means the display filter is initialized with an empty functions object:

[7636] Failed to get valid OpenGL functions for OcioDisplayFilter!

Using QOpenGLFunctions doesn't work because GLTexImage3D isn't available in that class. Using QOpenGLExtraFunctions doesn't work: compiling the shaders fails.
Comment 1 Halla Rempt 2018-08-28 09:31:11 UTC
We should either make ocio work with Angle, or we should disable the lut docker is angle is enabled.
Comment 2 wolthera 2021-09-26 17:24:05 UTC
Assigning Amy, because I suspect their recent efforts may be actually fixing this in 5.1!
Comment 3 amyspark 2021-09-27 20:34:14 UTC
Actually, glTexImage3D is available on ES3 (https://doc.qt.io/qt-5/qopenglextrafunctions.html#glTexImage3D). However, in f7d60afa6d9225c5c3f905185cc7b7c8cb0f7770 the fallback that would've taken care of it (in ES2 and lower) was removed.