From Zhao Wang to ~eliasnaur/gio
On Wed, Jan 27, 2021 at 11:30 PM Elias Naur <mail@eliasnaur.com> wrote: > > On Wed Jan 27, 2021 at 23:45 CET, Zhao Wang wrote: > > This works, thank you! > > > > On Wed, Jan 27, 2021 at 8:45 AM Elias Naur <mail@eliasnaur.com> wrote: > > > > > > On Tue Jan 26, 2021 at 23:41 CET, Zhao Wang wrote: > > > > On Tue, Jan 26, 2021 at 5:51 AM Elias Naur <mail@eliasnaur.com> wrote: > > > > > On Mon Jan 25, 2021 at 17:40, Zhao Wang wrote: > > > > > > On Mon, Jan 25, 2021 at 2:05 AM Elias Naur <mail@eliasnaur.com> wrote: > > > > > > > On Mon Jan 25, 2021 at 8:43 AM CET, Zhao Wang wrote: > > > > > > > > I just tried the GLFW example on windows, it failed as expected as > > > > > > > > shown by the attachment.
From Zhao Wang to ~eliasnaur/gio
This works, thank you! On Wed, Jan 27, 2021 at 8:45 AM Elias Naur <mail@eliasnaur.com> wrote: > > On Tue Jan 26, 2021 at 23:41 CET, Zhao Wang wrote: > > On Tue, Jan 26, 2021 at 5:51 AM Elias Naur <mail@eliasnaur.com> wrote: > > > On Mon Jan 25, 2021 at 17:40, Zhao Wang wrote: > > > > On Mon, Jan 25, 2021 at 2:05 AM Elias Naur <mail@eliasnaur.com> wrote: > > > > > On Mon Jan 25, 2021 at 8:43 AM CET, Zhao Wang wrote: > > > > > > I just tried the GLFW example on windows, it failed as expected as > > > > > > shown by the attachment. > > > > > > > > > > > > It panic when trying to GetString for Extension during initializing a > > > > > > new backend.
From Zhao Wang to ~eliasnaur/gio
Hi Elias, Please see my response below. Thank you! On Sun, Jan 17, 2021 at 1:30 AM Elias Naur <mail@eliasnaur.com> wrote: > > On Sun Jan 17, 2021 at 8:33 AM CET, Zhao Wang wrote: > > Hi guys, > > > > I am trying to use gio to build a multi window chat client to have > > main chat UI in one > > window and run OpenGL ES game in another window which I hope to use Gio > > Window as well as the event loop and frame updating mechanism. > >
From Zhao Wang to ~eliasnaur/gio
Hi Loki, Thanks for the help. It is helpful, I will try the approaches you mentioned below. Besides my response below, here is our current app demo, just in case it helps to understand what I am talking about. https://drive.google.com/file/d/1HTJ5L8l4MoRz5llK_WhR7ObyKMtvJK6X/view The gif above shows both chat view (native iOS UIKit view) and game view (custom iOS UIView with a EAGLContext with DisplayLink)
From Zhao Wang to ~eliasnaur/gio
Hi guys, I am trying to use gio to build a multi window chat client to have main chat UI in one window and run OpenGL ES game in another window which I hope to use Gio Window as well as the event loop and frame updating mechanism. The game has its own "drawFrame" method which calls standard OpenGL ES APIs. And does not use gio widgets yet (might need to add some later). I am wondering how I can inject the game's drawFrame into Gio window's frame update loop. I spent some time digging into the code, it looks to me current frame drawing happens