setting: expose hardware acceleration settings
authorPatrick Steinhardt <ps@pks.im>
Sat, 20 May 2017 10:25:25 +0000 (12:25 +0200)
committerPatrick Steinhardt <ps@pks.im>
Sat, 20 May 2017 15:04:51 +0000 (17:04 +0200)
commit0b0060d95885f280bc635ea24d73078880951b29
treed9493c41851347a64c1ba97b2625b73c1259036e
parent6ff33e957e309f916a39ccb7af49e797125f01e0
setting: expose hardware acceleration settings

Previous to the migration to the WebKit 2 API, we were exposing settings
to enable hardware acceleration for compositing via
"accelerated-compositing". With WebKit 2, there are two relevant
settings to enable compositing. The "hardware-acceleration_policy" is
used to determine when the rendering process should actually use
hardware acceleration. "accelerated-2d-canvas" enables hardware
acceleration for some 2D canvas content if WebKitGTK+ is built with
Cairo and its unstable CairoGL API.

Thes patch exposes both of these settings via vimb's settings engine.
src/setting.c