[webkit-gtk] How to enable or disable hardware acceleration ?

Michael Catanzaro mcatanzaro at redhat.com
Sat Jan 7 08:13:03 PST 2023


On Sat, Jan 7 2023 at 09:05:06 PM +0800, 406643764 <406643764 at 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




More information about the webkit-gtk mailing list