WebView and WebGL

Kevin Rushforth kevin.rushforth at oracle.com
Mon Sep 11 14:45:40 UTC 2017


Yes, and this is primary reason that ANGLE exists, and is used to 
implement WebGL on Windows by translating GL calls to Direct3D.

-- Kevin


Philip Race wrote:
> FWIW Java 2D ships OGL support on Windows (turned on by a flag) and 
> our SQE
> have occasionally dutifully run tests in that mode and regularly turn up
> bugs that look like driver bugs. As a consequence FX decided to not 
> ship it.
> So although FX builds OGL support on all platforms it is excluded from 
> the
> windows product distribution.
>
> -phil.
>
> On 9/9/17, 9:51 AM, Sten Nordstrom wrote:
>> Having done some GL work on windows I've to agree with Mike. Windows GL
>> drivers can be a disaster. If you are able to specify hardware for your
>> users it's fine but if you take a random win-machine you are most 
>> likely in
>> trouble. So something like angle would probably be the safest way to get
>> EGL to work, especially as FX seems to use Direct3D on windows anyway.
>>
>> And yes, doing it as Mike proposes one would get an EGL node on the 
>> way to
>> webgl.
>>
>> -- Sten


More information about the openjfx-dev mailing list