Skip to content

Add bindings for OpenGL #179

Closed
Closed

Description

@FlutterIssues

Issue by unicomp21
Sunday Oct 04, 2015 at 09:59 GMT
Originally opened as https://github.com/flutter/engine/issues/1482


Do we have ES 3.0?

Activity

  1. added
    engineflutter/engine related. See also e: labels.
    c: new featureNothing broken; request for a new capability
    on Nov 9, 2015
  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Sunday Oct 04, 2015 at 19:16 GMT


    Internally Flutter uses OpenGL to draw, but we don't currently expose OpenGL to authors. Instead, we expose a 2D drawing API via the Canvas interface: http://domokit.github.io/docs/sky/rendering/PaintingCanvas-class.html

  3. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by unicomp21
    Sunday Oct 04, 2015 at 20:23 GMT


    Are there plans to expose it?

    On Sunday, October 4, 2015, Adam Barth [email protected] wrote:

    Internally Flutter uses OpenGL to draw, but we don't currently expose
    OpenGL to authors. Instead, we expose a 2D drawing API via the Canvas
    interface:
    http://domokit.github.io/docs/sky/rendering/PaintingCanvas-class.html

    —
    Reply to this email directly or view it on GitHub
    https://github.com/flutter/engine/issues/1482#issuecomment-145379067.

  4. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Sunday Oct 04, 2015 at 20:24 GMT


    It's something we want to implement in the long term, but we don't have any plans to expose it in the near term.

  5. changed the title [-]Where's the OpenGL?[/-] [+]Add bindings for OpenGL[/+] on Nov 13, 2015
  6. added this to the milestone on Feb 3, 2016
  7. bp74 commented on Mar 6, 2016

    @bp74

    I said this on the Flutter forum earlier, but adding support for OpenGL would bring a whole new audience to Flutter - i think about those developers working with Adobe Air to write games for iOS and Android. Flutter could be a great cross platform development environment for games. The current canvas API is nice for little games but we need to get closer to the metal for more advanced use cases :) Thanks for keeping this under consideration.

  8. eseidelGoogle commented on Mar 7, 2016

    @eseidelGoogle
    Contributor

    There are GL bindings for Dart available via dart's dart-ext: native extension mechanism:
    https://github.com/google/dart-gl

    Flutter's engine doesn't yet support dart-ext:, but we have a bug on file about adding such #2396.

  9. abarth commented on Jun 1, 2016

    @abarth
    Contributor
  10. ivanpopelyshev commented on Aug 2, 2016

    @ivanpopelyshev

    If you implement it, I'll make pixi.js port for flutter.

  11. modified the milestones: , on Sep 14, 2016
  12. sethladd commented on Sep 20, 2016

    @sethladd
    Contributor

    Thanks very much for the report! This isn't on the roadmap right now. It would be cool to see this one day, but it's not something we're taking action on.

    We can reopen later.

    Thanks for checking out Flutter!

  13. 26 remaining items

  14. DCubix commented on Sep 29, 2019

    @DCubix

    I'm very interested in this. We use Flutter at work and making 3D visualizations/games would be a good addition to our projects.

  15. MichelDiz commented on Dec 20, 2019

    @MichelDiz

    It seems unanimous the desire for more robust support for solutions like OpenGL. Now that Flutter is up(hype*), it would be the right time to give this gift to the community.

    Flutter rendering is limited for some things like #46841 a simple 2D rendering with lots of particles. Flutter uses only one thread for this. While WebGL clearly uses all threads of the GPU and delivers a unique experience.

  16. netgfx commented on Jun 4, 2020

    @netgfx

    Stirring this up a bit as it is the one point many teams disregard flutter for. GPU rendering and connection to underlying OpenGL should be something present in 2020 for a mobile framework, legendary game engines like Phaser can't port to Flutter because of this. We could do so much more as AR/Games are an integral part of modern development tropes.

  17. ivanpopelyshev commented on Jun 4, 2020

    @ivanpopelyshev

    GPU rendering and connection to underlying OpenGL should be something present in 2020 for a mobile framework, legendary game engines like Phaser can't port to Flutter because of this.

    Reality is harsh. The best things have to wait a dozen years. Honestly, from 2012 year perspective, current state of htm5 frameworks like Phaser was to be reached back in 2015. You should ask Rich why it took 8 years and not 3 to achieve all that. Things are much more difficult than we project. Be patient.

  18. netgfx commented on Jun 4, 2020

    @netgfx

    My comment was just an attempt to bump this thread and to show that there is community and devs that believe in this framework (as I have also tried everything else, and find that Flutter truly has potential). If it came out judgmental I apologize this was not my goal. I follow Rich from his AS3/Flash days and I know first hand why things take time (you can't predict all of use cases, platform bugs, new tech emerging and stabilizing). Its all a work in process, and I sure hope Flutter to continue on this path in order to provide us with more tools to build engaging, performant and good looking mobile (and not only) experiences.

  19. ivanpopelyshev commented on Jun 4, 2020

    @ivanpopelyshev

    ack

    ** knocking furiously** Is anyone home??? Pixi & Phaser want their bindings!!111!!1!!!

  20. matejthetree commented on Jun 4, 2020

    @matejthetree
  21. premingiet commented on Oct 27, 2020

    @premingiet

    Will this openGLES binding be ever available or is it that flutter team trying for vulkan ? Because i see iOS has stopped support for openGLES and using METAL framework, which under the hood is vulkan. Need some update from flutter team, regarding openGLES or vulkan api implementation in flutter.

  22. unicomp21 commented on Oct 29, 2020

    @unicomp21

    Some bindings for google filament, webassembly/typescript would be really nice.

    google/filament#3076

  23. unicomp21 commented on Oct 29, 2020

    @unicomp21

    This also looks hugely promising for the webgl/browser front (ie flutter web)

    https://github.com/Blimster/babylon_dart

  24. github-actions commented on Aug 10, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  25. locked as resolved and limited conversation to collaborators on Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions