gfx icon indicating copy to clipboard operation
gfx copied to clipboard

Support embedde in UI like GTK/Qt

Open happydpc opened this issue 6 years ago • 4 comments

Short info header:

  • GFX version: master
  • OS: windows 10
  • GPU: 1060

Will gfx support working in some ui framework?

happydpc avatar Sep 04 '19 14:09 happydpc

I don't think there is anything that needs to be done on our side for integration. If you have a window handle that you can represent with raw-window-handle, you can create a surface, swapchain, and go from there.

kvark avatar Sep 04 '19 14:09 kvark

Is raw-window-handle enough for usage? if so, I will have a try to make a demo.

happydpc avatar Sep 05 '19 03:09 happydpc

Sorry to jump on such an old issue, but are there any examples of how to get this to work?

jmwright avatar Jun 08 '20 20:06 jmwright

You can refer to qmetaobject-s. And pass a hwnd to gfx.

happydpc avatar Jun 09 '20 13:06 happydpc