Re: [Interest] Qt Quick Controls 1/2 and Surface Pro stylus pen

2019-07-15 Thread Mitch Curtis
Hi Mike. Would this be https://bugreports.qt.io/browse/QTBUG-76617? If so, you could try out the patch for it to see if it fixes it for you: https://codereview.qt-project.org/c/qt/qtbase/+/267594 Cheers. From: Interest On Behalf Of Nelson, Michael Sent: Friday, 12 July 2019 2:28 PM To: Qt

Re: [Interest] Allow external library to generate OpenGL buffers in context of QOpenGLWidget

2019-07-15 Thread Giuseppe D'Angelo via Interest
Il 04/07/19 11:17, Pieter Barendrecht ha scritto: I have a Qt application with a QOpenGLWidget for displaying 3D meshes. Now I'd like to use an external library (OpenSubdiv in this case, see e.g. http://graphics.pixar.com/opensubdiv/docs/api_overview.html) to generate additional OpenGL

Re: [Interest] Allow external library to generate OpenGL buffers in context of QOpenGLWidget

2019-07-15 Thread Pieter Barendrecht
Hi Giuseppe, Thanks, but unfortunately that's not it. It turns out to be possible to specify an OpenGL context as an optional argument when invoking certain calls to OpenSubdiv, though I'm not quite sure what to pass on from within a QOpenGLWidget — something like context()->handle() compiles but

Re: [Interest] Allow external library to generate OpenGL buffers in context of QOpenGLWidget

2019-07-15 Thread Giuseppe D'Angelo via Interest
Il 15/07/19 22:51, Pieter Barendrecht ha scritto: Hi Giuseppe, Thanks, but unfortunately that's not it. It turns out to be possible to specify an OpenGL context as an optional argument when invoking certain calls to OpenSubdiv, though I'm not quite sure what to pass on from within a

Re: [Interest] Allow external library to generate OpenGL buffers in context of QOpenGLWidget

2019-07-15 Thread Pieter Barendrecht
On Mon, 15 Jul 2019 at 22:58, Giuseppe D'Angelo wrote: > > What kind of argument is supposed to be passed? The context alone seems > a bit pointless (at a minimum one needs an ad-hoc struct containing > context, a surface, and pointers to functions to make it current / > uncurrent...). Fair