title: Enabling hardware acceleration in electron app
body: <p>I am building an app using electron and react.
  In that i need to conditionally enable and disable hardware acceleration of app. I can disable it as below. But I did not find any thing in electron documentation to enable it back. How can I do that?</p>
  <pre><code>import { app, BrowserWindow } from 'electron';
  ....
  ....
  app.disableHardwareAcceleration()
  </code></pre>