Hi,
I stated integrating CEF in a Java project using JNI and c++. The c++ code is originally derived from cefsimple and then extended. The code uses a native macOS window (non-OSR). Can't use java-cef because the project is SWT-based.
When I run the code standalone (i.e. native c++ build and application, without Java), all is fine, GPU compositing, webGL etc. are working as expected.
Now, when I run the same code embedded in my Java application, then the window opens, but remains white. The browser seems "working" though, since behind the "white" surface the content seems to be present, and I can "click" on invisible links, etc. Also, I can see that the GPU process is started. However, no log / error output is generated.
If I use "--disable-gpu", then everything is fine, but of course without webGL, which I would need.
I've seen a comment for java-cef (https://bitbucket.org/chromiumembedded/java-cef/issues/109/linux-mac-fix-discovery-of-icudtldat) which also suggests adding "--disable-gpu".
My suspicion would be some kind of permission / access issue for the shared surface between the browser/render/GPU process when GPU support is enabled, but I can't figure out what goes wrong.
Any pointers? Thanks.