On Sat, Jan 7 2023 at 09:05:06 PM +0800, 406643764 <406643...@qq.com> wrote:
So how to enable or disable hardware acceleration ?

Hi, use webkit_settings_set_hardware_acceleration_policy().

You can also use WEBKIT_FORCE_COMPOSITING_MODE=1 or WEBKIT_DISABLE_COMPOSITING_MODE=1 for test purposes.

Michael


_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to