thanks. it work.
 

406643764
406643...@qq.com



 




------------------ Original ------------------
From: "Michael Catanzaro"<mcatanz...@redhat.com&gt;; 
Date: 2023??1??8??(??????) ????0:13
To: "406643764"<406643...@qq.com&gt;; 
Cc: "webkit-gtk"<webkit-gtk@lists.webkit.org&gt;; 
Subject: Re: [webkit-gtk] How to enable or disable hardware acceleration ?



On Sat, Jan 7 2023 at 09:05:06 PM +0800, 406643764 <406643...@qq.com&gt; 
wrote:
&gt; 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