Search found 21 matches

by Keyboarder
19 Feb 2017, 23:03
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Re: Qt binding

is there an active GL context at that point? (just check with wglGetCurrentContext). Also make sure to create just one pair of RenderDevice + VGContext for all your views. Make also sure to do the renderer Init() and Shutdown() once in the render thread. I have been fixing a few things for the next...
by Keyboarder
30 Jan 2017, 12:17
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Re: Qt binding

Finally, I've made some progress. I was able to put render process on a different thread. Cpu usage is significantly lower and app closes normally now. However, there are still some issues. For more info please visit provided url link to the ful source code. There is still problem with resetting IVi...
by Keyboarder
23 Jan 2017, 11:04
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Re: Qt binding

Just a quick update... I've made device and context as a mamber variable and try to reset them prior to the m_view.Reset() . It looks like the problem is within context.Reset() because it never finish executing. QNoesisWindow::~QNoesisWindow() { m_deviceReset(); // Ok m_context.Reset(); // Error: Do...
by Keyboarder
22 Jan 2017, 16:18
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Re: Qt binding

That is correct, the Reset() method never returns when calling it from the destructor. I've initialized error handle, but it does not log anything. Are you rendering with vsync activated? If it is off, that could explain the high CPU usage. I have vsync activated, I think the problem with high CPU u...
by Keyboarder
20 Jan 2017, 12:06
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Re: Qt binding

I've just realized that the crash happens if I remove m_view.Reset() from destructor. If I put it back the application never exits and continues to run with high CPU usage. The FPS count is slightly lower in 1.3 then in previous version (about 0.3 fps).
by Keyboarder
19 Jan 2017, 10:06
Forum: General Discussion
Topic: Qt binding
Replies: 10
Views: 1206

Qt binding

We are trying to make Qt binding for NoesisGui and we ran into a problem. The test binding code is being built upon Qt OpenGL example code: https://doc.qt.io/qt-5/qtgui-openglwindow-example.html The app runs with very high CPU usage and crashes when closing. Do you maybe have any suggestions on how ...
by Keyboarder
18 Jan 2017, 15:42
Forum: General Discussion
Topic: c++ initialization
Replies: 11
Views: 1726

Re: c++ initialization

We are trying to make NoesisGui wrapper for Qt now and got into a problem. The test wrapper is being built upon Qt OpenGL example code: https://doc.qt.io/qt-5/qtgui-openglwindow-example.html . The app runs with very high CPU usage and crashes when closing. Do you have any suggestions on how to overc...
by Keyboarder
19 Sep 2016, 16:31
Forum: General Discussion
Topic: c++ initialization
Replies: 11
Views: 1726

Re: c++ initialization

We were going back and forth with different options, and now we see that in NoesisGUI 1.3 beta2, "Renderers are no longer part of the runtime. You must provide one implementation." So we looked at Angle; https://github.com/google/angle (and fork from Microsoft https://github.com/Microsoft/angle ) It...
by Keyboarder
16 Sep 2016, 15:25
Forum: General Discussion
Topic: c++ initialization
Replies: 11
Views: 1726

Re: c++ initialization

Ok, we would do that. Having said that, we have an abstraction here (not part of core) for our applications (XamlPlayer uses it). We have considered several times to open source it in Github but didn't find the time for doing it. It is not only uploading to GitHub, it is cleaning the code, removing ...
by Keyboarder
15 Sep 2016, 11:07
Forum: General Discussion
Topic: c++ initialization
Replies: 11
Views: 1726

Re: c++ initialization

Yes, I know BGFX but using it only for the app loop abstraction seems to be overkilling. We need to cover all modern platforms (uwp, android, ios, macos, linux), so we would really like to have an abstraction for window and event loop setup. Do you have something lighter in mind for us besides SDL ...