Skip to content

Commit

Permalink
fix: reduce flickering on high DPI displays
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Oct 20, 2023
1 parent a506a06 commit 995c8a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "4.4.14",
"version": "4.4.15",
"author": "ThaUnknown_ <[email protected]>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",
"main": "build/main.js",
Expand Down
5 changes: 4 additions & 1 deletion src/main/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ import { app, ipcMain, shell, dialog } from 'electron'
export const development = process.env.NODE_ENV?.trim() === 'development'

const flags = [
['disable-gpu-sandbox'],
['disable-direct-composition-video-overlays'],
['double-buffer-compositing'],
['enable-gpu-rasterization'],
['enable-zero-copy'],
['ignore-gpu-blocklist'],
['enable-hardware-overlays', 'single-fullscreen,single-on-top,underlay'],
['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilationEnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'],
['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'],
['force_high_performance_gpu'],
['disable-features', 'Vulkan'],
['disable-color-correct-rendering'],
Expand Down

0 comments on commit 995c8a6

Please sign in to comment.