Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors in WaveformRendererTextured when building for iOS (OpenGL ES 3.0) #13380

Closed
fwcd opened this issue Jun 16, 2024 · 3 comments · Fixed by #13381
Closed

Compile errors in WaveformRendererTextured when building for iOS (OpenGL ES 3.0) #13380

fwcd opened this issue Jun 16, 2024 · 3 comments · Fixed by #13381

Comments

@fwcd
Copy link
Member

fwcd commented Jun 16, 2024

Bug Description

Parts of the new waveform renderer unfortunately no longer build for iOS (and possibly other platforms using OpenGL ES):

Screenshot 2024-06-16 at 16 45 51

We might have to investigate which parts to cond-compile out when using GL ES (e.g. testing for QT_OPENGL_ES_2).

Version

fwcd@ea5e980 (based on c368119)

OS

macOS 14.5

@Swiftb0y
Copy link
Member

maybe just a transitive header dependency thats not fulfilled because the required #include has been compiled out (unnecessarily)?

@fwcd
Copy link
Member Author

fwcd commented Jun 16, 2024

Doesn't seem so unfortunately, it looks like these are APIs unavailable in OpenGL ES (including OpenGLES/ES3/gl.h doesn't change anything, also other function calls like glBindTexture seem to work as expected).

Edit: https://docs.gl seems to confirm that functions like glBegin are missing in ES.

@fwcd
Copy link
Member Author

fwcd commented Jun 17, 2024

A potential future refactoring is tracked by

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants