chromiumembedded / java-cef

Java Chromium Embedded Framework (JCEF). A simple framework for embedding Chromium-based browsers in other applications using the Java programming language.
https://bitbucket.org/chromiumembedded/java-cef
Other
655 stars 147 forks source link

Web gpu not found on JCEF #480

Open ynixt opened 3 months ago

ynixt commented 3 months ago

Describe the bug Web GPU is supported on chromium since chromium 113, but it can't be found on JCEF.

To Reproduce Steps to reproduce the behavior: Run on the JCEF the following JS

navigator.gpu.requestAdapter().then(adapter => console.log(adapter));

Will be returned a warning 'No available adapters.' and 'null'.

image

Expected behavior The GPU adapter is returned successfully.

image

Versions (please complete the following information):