WebGL and OUYA

Interested to find out if the OUYA team are planning on implementing WebGL support into the OUYA.
I want to get my game made in Construct2 working and it requires this

Comments

  • alsuttonalsutton Posts: 69Member, Team OUYA
    Our main focus is currently games running natively on the device and not through a browser.
    Al Sutton
    Android Specialist
    OUYA
  • JamesS237JamesS237 Posts: 38Member
    Maybe use phonegap, and write a java plugin for the controller
  • MagnesusMagnesus Posts: 304Member
    Maybe Android WebView allows WebGL? I've never checked. But it would probably be slow anyway.

  • pluspingyapluspingya Posts: 5Member
    WebGL is not supported by all MOBILE browsers at the moment.
    We can do nothing about that, except wait for next update of Android OS that support WebGL, and ouya upgrade to it.


    Playing video games is about fun, creating them should be a lot more fun, isn't it?
  • jayderyujayderyu Posts: 110Member
    An old thread, but responding anyways
    @alsutton
    It's not about wanting to use the Browser. We want to pack it into the apk. Phonegap, CocoonJS offer that ability. It's just that they are still bound to canvas rendering which isn't as fast as WebGL.

    the android Webview is limited to only Canvas2d. Also as for next update. Not likely. WebGl doesn't seem to be on the horizon for Android Browser Webview anytime soon even in an android application.

    Question the paradigm you believe in
  • arcticdogarcticdog Posts: 235Member
    Good news and sorta good news.. and bad news..

    First the Good..
    Chrome for Android is going to replace Android browser in the Webview component in the future. Canvas2D is supposedly hardware accelerated in chrome.

    The sorta Good:
    WebGL was an option in the beta version of Chrome For Android.  So even though the current state is "we don't support it", that's probably not a long term state.

    Bad news..
    All of this is in the future, and no guarantee that the Chrome updates will even make it to OUYA.  I haven't looked, but Chromium might be a proprietary component to Google that requires a license.


    If you want to hack around, someone has developed a phone gap plug-in that forwards web-gl calls to OpenGL  https://github.com/AshleyScirra/WebGLGap



  • jayderyujayderyu Posts: 110Member
    Thanks articdog. I would love a link to the source. Though I will look for it on my one too :) Canvas2D I hear is accelerated, but it sure feels very slow on Android :|  CocoonJS does a good job on acceleration. It feels like it is accelerated where as the normal WebView feels like software. but it's just the way it feels.

    Well Chrome for Android to replace Browser for Webview is at least a good start. I was wondering if and when it would ever happen. However the strange part is that after some testing Browser WebView is faster than Android Chrome :| in all the game demo's I did :|

    As for WebGLGap. Yeah Ashley on the Contrsuct2 website did that. it's the game tools that I use. unfrtortunatly Ash uses a String based command bridge between JS and C++. The overhead apparently slows down the results. However it might be something too look at to improve.

    Appreciate the info :)
    Question the paradigm you believe in
Sign In or Register to comment.