yafp / ttth

ttth (talk to the hand) is an electron based desktop app for online services like WhatsApp, Threema, Telegram, Twitter, Google and several others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPU accelerated VS Software output device

yafp opened this issue · comments

commented

should test what my current setting is & which performs better


source: https://www.electronjs.org/docs/tutorial/offscreen-rendering

GPU accelerated

GPU accelerated rendering means that the GPU is used for composition. Because of that the frame has to be copied from the GPU which requires more performance, thus this mode is quite a bit slower than the other one. The benefit of this mode is that WebGL and 3D CSS animations are supported.

Software output device

This mode uses a software output device for rendering in the CPU, so the frame generation is much faster, thus this mode is preferred over the GPU accelerated one.

To enable this mode GPU acceleration has to be disabled by calling the app.disableHardwareAcceleration() API.

commented

Added new command line switch

--gpu

to enable gpu acceleration.

If it is not set - the app is executing:

app.disableHardwareAcceleration()