octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63748] Qt graphics toolkit cannot create Open


From: anonymous
Subject: [Octave-bug-tracker] [bug #63748] Qt graphics toolkit cannot create OpenGL rendering context
Date: Mon, 6 Feb 2023 12:04:33 -0500 (EST)

Follow-up Comment #15, bug #63748 (project octave):

Response to comment #14 

> Do you still need to set those environment variables now that you found an
`opengl32.dll` library that works for you? 

If I don't set the environment variables Octave can start but the figure
window is frozen.

> `m_os_context` is not a pointer. It is an object of type QOpenGLContext:

Oops! It was my mistake. m_os_context is an object and not a pointer.

> Are you saying that `GLCanvas` isn't using the `QOpenGLContext` instantiated
in `m_os_context` but some other context? Would we need to "assign"
`m_os_context` as a context for `GLCanvas` somehow?

If I correctly understand GLCanvas has two contexts:
  1. The context that is inherited from QOpenGLWidget.
  2. m_os_context.
Probably m_os_context is related to some old codes that didn't use
QOpenGLWidget, If I correctly understand.
That part of code is guarded by a macro so a user possibly may switch to other
widget types that don't have a QOpenGLContext as their members.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63748>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]