google / dart-gl

OpenGL ES 2.0 Dart Native Extension
BSD 3-Clause "New" or "Revised" License
90 stars 17 forks source link

Support for Android and iOS #27

Open rotter opened 4 years ago

rotter commented 4 years ago

Sorry for opening an issue to ask this, but couldnt find the answer clearly anywhere, and didnt find a forum for the project to ask this.

Im investigating if it is possible to migrate an open source game engine to DART/Flutter. That game engine is for Android and iOS games. Right now Im checking the interface between the engine and OpenGL, so I ended up here. Im no expert (far from it) in OpenGL, so bear with me.

Is Android supported? I see on the docs that Linux is supported, but Android is never mentioned anywhere, and it's not clear to me that this implies that Android is supported as well. If so, any idea on which Android versions it works or have been tested?

From the readme it seems iOS is not supported, any pointers on what would be my alternatives?

jtmcdole commented 4 years ago

Howdy!

So this project is fairly old, and existed long before the fancy new dart:ffi interface. Flutter has some hooks to get a GL context via skia.. so that might be a good place to go code diving (plus it runs on iOS and Android, Linux, Windows, and Mac).

On Mon, Jan 20, 2020 at 4:43 PM rotter notifications@github.com wrote:

Sorry for opening an issue to ask this, but couldnt find the answer clearly anywhere, and didnt find a forum for the project to ask this.

Im investigating if it is possible to migrate an open source game engine to DART/Flutter. That game engine is for Android and iOS games. Right now Im checking the interface between the engine and OpenGL, so I ended up here. Im no expert (far from it) in OpenGL, so bear with me.

Is Android supported? I see on the docs that Linux is supported, but Android is never mentioned anywhere, and it's not clear to me that this implies that Android is supported as well. If so, any idea on which Android versions work or have been tested?

From the readme it seems iOS is not supported, any pointers on what would be my alternatives?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/dart-gl/issues/27?email_source=notifications&email_token=AAOVZWO2KAEO6K7VG2ZPEY3Q6ZAJZA5CNFSM4KJLWUJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IHPP25Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVZWIZR3MKEEV327HTQ5LQ6ZAJZANCNFSM4KJLWUJQ .

rivalnhwc commented 2 years ago

Howdy! So this project is fairly old, and existed long before the fancy new dart:ffi interface. Flutter has some hooks to get a GL context via skia.. so that might be a good place to go code diving (plus it runs on iOS and Android, Linux, Windows, and Mac). On Mon, Jan 20, 2020 at 4:43 PM rotter @.***> wrote: Sorry for opening an issue to ask this, but couldnt find the answer clearly anywhere, and didnt find a forum for the project to ask this. Im investigating if it is possible to migrate an open source game engine to DART/Flutter. That game engine is for Android and iOS games. Right now Im checking the interface between the engine and OpenGL, so I ended up here. Im no expert (far from it) in OpenGL, so bear with me. Is Android supported? I see on the docs that Linux is supported, but Android is never mentioned anywhere, and it's not clear to me that this implies that Android is supported as well. If so, any idea on which Android versions work or have been tested? From the readme it seems iOS is not supported, any pointers on what would be my alternatives? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#27?email_source=notifications&email_token=AAOVZWO2KAEO6K7VG2ZPEY3Q6ZAJZA5CNFSM4KJLWUJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IHPP25Q>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVZWIZR3MKEEV327HTQ5LQ6ZAJZANCNFSM4KJLWUJQ .

hi~

sorry to bother youbut i want to know the hooks to get a GL context in Flutter via skia Could you please tell me some detilas about that?

jtmcdole commented 2 years ago

@rivalnhwc - this is not a flutter project. I believe you want to look at: https://pub.dev/packages/flutter_gl

rivalnhwc commented 2 years ago

@jtmcdole thank you very much~