Page 1 of 1

Does CEF support gpu acceleration on MacOS?

PostPosted: Wed Jun 03, 2020 2:01 am
by meonsun
I try to use off-screen rendering on macOS. If possible, i also want to use gpu acceleration.

From what I've been looking for this topic, gpu acceleration is possible using by OpenGL ES.
But, shared_texture_enabled and OnAcceleratedPaint() is only supported in Windows(D3D11).

Is there any method to use gpu acceleration on macOS??
(+ By using CEF off-screen rendering and Metal2 can i use gpu acceleration on macOS?)

I would appreciate it if you leave a reply.
thank you.

Re: Does CEF support gpu acceleration on MacOS?

PostPosted: Wed Jun 03, 2020 8:20 am
by magreenblatt
OnAcceleratedPaint is not currently supported on macOS, but there is a PR here that you could try.

Re: Does CEF support gpu acceleration on MacOS?

PostPosted: Wed Jun 03, 2020 8:09 pm
by meonsun
Because i'm beginner, i can't understand all of the PR.
But, It's very helpful for me. Thank you for your reply!

(My purpose is present a window with GPU acceleration by .html file)
+ Does the PR is reflected on master branch? I checked master branch, but there is no reflected changes.
So, if i want to use GPU acceleration on MacOS i should try to reflect the PR's changes on my project?

I would appreciate it if you leave a reply.
Thank you.