Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-23 Thread Scott Palmer
If I'm resorting to native code I care a lot less about it being cross-platform (not 100% less, but less). Give me a GLContext on Linux and Mac and whatever DirectX has on Windows. I just want a way to get content generated on the native side to the screen without losing performance. Scott

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-23 Thread Scott Palmer
Another way to get some native visualization (though a different kind perhaps) would be to address some limitations in the media APIs. MediaPlayer needs a mechanism to allow developers to plug in their own codecs. If it played a stream of frames generated from whatever JNI code I wished, I

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-22 Thread Richard Bair
This sounds like there are concrete plans for this, which wood be great news. I’d say there were a lot of thoughts around it but it hasn’t been turned into an actionable plan. Heck, I don’t even know if we have a JIRA for it (Kevin would know…) Richard The approach where an integration API

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-22 Thread Kevin Rushforth
Here is the JIRA that is tracking this: RT-36215 https://javafx-jira.kenai.com/browse/RT-36215: Allow FX to interoperate with 3rd party (native) OpenGL visualizations There aren't any concrete plans to deliver it, though. When/if we do, Richard's earlier comments reflect current thinking as

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-21 Thread Joseph Andresen
Hi Tobias, I took an extensive look into exactly what angle provides in terms of a feature set, and at the time, found that it wouldn't really get us anything. Technical challenges aside, being able to run the GL pipe on windows is not limited by prism, in fact in the past me and other

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-21 Thread Joseph Andresen
I also forgot, The argument could be made that if we did indeed use angle, we could ditch our directx 9 pipeline altogether and just use one hardware pipeline. We would really have to evaluate this though, and I am not sure the work would be worth the benefit (if there even is any). On

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-21 Thread Joseph Andresen
That's a good point Robert, If the GLContext work that steve and felipe did become an actual thing, this would help that cause become cross platform. Angle also is strictly es2, and I haven't looked at prism es2 in a while but I think we use GL2 calls for desktop in some cases. We would have

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-21 Thread Richard Bair
I was interested in Angle for exactly this same reason — it would allow us to expose OpenGL at the public API level. However there are licensing issues we’d have to look at, performance tests to be run, security audits performed, and whether or not it is actually able to perform well.