Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.63k stars 834 forks source link

Can CEP's Chromium browser support WebGL? #185

Open rayy-li opened 6 years ago

rayy-li commented 6 years ago

Can CEP's Chromium browser support WebGL?thanks

undavide commented 6 years ago

I think it does, doesn't it?

ErinFinnegan commented 6 years ago

I asked @ashryanbeats and he said if the version of Chromium in question supports WebGL than it should work. Unless I'm not remembering this correctly.

perfect-pixel commented 6 years ago

https://github.com/Adobe-CEP/Samples See example with three.js

Extension - WebGL with three.js
Compatibility - CEP 5, Photoshop CC2014

I think this is the minimum supported version.

zhangusc commented 2 months ago

I like to resurface the problem. CEP 12 (Windows 11) has an issue supporting WebGL. I cannot find a standalone CEP 12 app. But you can use CEP 12 from the Photoshop Beta to reproduce. Just run the following code snippet in the CEP debugger console window. It returns null. The same code works in CEP 12 (Windows 10) or CEP 11 (Windows 11).

var canvas = document.createElement('canvas');
canvas.getContext('webgl')