electron/patches/common/chromium
Birunthan Mohanathas e383aa31c8 fix: restore ability to disable color correct rendering (#15898)
In Electron 2.0, `--disable-features=ColorCorrectRendering` could be
used to make the app use the display color space (e.g. P3 on Macs)
instead of color correcting to sRGB. Because color correct rendering is
always enabled on Chromium 62 and later and because
`--force-color-profile` has no effect on macOS, apps that need e.g. P3
colors are currently stuck on Electron 2.0.

This restores the functionality removed in
https://chromium-review.googlesource.com/698347 in the form of the
`--disable-color-correct-rendering` switch.

This can be removed once web content (including WebGL) learn how
to deal with color spaces. That is being tracked at
https://crbug.com/634542 and https://crbug.com/711107.

As an example of a widely used app using
`--disable-features=ColorCorrectRendering`, see VSCode:
3f33ef2593/src/main.js (L138-L139)

Notes: Add `--disable-color-correct-rendering` switch
2018-12-11 21:36:14 +05:30
..
.patches fix: restore ability to disable color correct rendering (#15898) 2018-12-11 21:36:14 +05:30
accelerator.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
add_realloc.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
allow_nested_error_trackers.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
allow_webview_file_url.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
app_indicator_icon_menu.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
blink-worker-enable-csp-in-file-scheme.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
blink_file_path.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
blink_fix_prototype_assert.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
blink_initialization_order.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
blink_local_frame.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
blink_world_context.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
boringssl_build_gn.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
browser_compositor_mac.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
build_gn.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
can_create_window.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
chrome_key_systems.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
chrome_process_finder.patch refactor: more cleanup of chromium_src (#15424) 2018-11-05 10:29:33 -04:00
color_chooser.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
command-ismediakey.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
compositor_delegate.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
content_allow_embedder_to_prevent_locking_scheme_registry.patch chore: restore //url dchecks (#15637) 2018-11-22 09:02:52 -08:00
content_browser_main_loop.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
cross_site_document_resource_handler.patch fix: use appropriate site instance for cross-site nav's (#15821) 2018-12-05 17:03:39 +09:00
customizable_app_indicator_id_prefix.patch chore: update customizable_app_indicator_id_prefix.patch 2018-12-03 20:07:43 +05:30
dcheck.patch chore: restore ppapi_host DCHECK (#15788) 2018-12-04 11:05:23 -08:00
desktop_media_list.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
disable-redraw-lock.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
disable_color_correct_rendering.patch fix: restore ability to disable color correct rendering (#15898) 2018-12-11 21:36:14 +05:30
disable_detach_webview_frame.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
disable_hidden.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
disable_user_gesture_requirement_for_beforeunload_dialogs.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
dom_storage_limits.patch fix: bypass DOM storage quota (#15596) 2018-11-12 18:19:01 +01:00
dump_syms.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
enable_osr_components.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
enable_widevine.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
exclude-a-few-test-files-from-build.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
expose-net-observer-api.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
fix_trackpad_scrolling.patch chore: update fix_trackpad_scrolling.patch 2018-12-03 20:07:43 +05:30
fix_zoom_display.patch fix: correctly display zoom in accelerator on mac (#15502) 2018-11-07 13:42:30 -08:00
frame_host_manager.patch fix: use appropriate site instance for cross-site nav's (#15821) 2018-12-05 17:03:39 +09:00
gin_enable_disable_v8_platform.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
gritsettings_resource_ids.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
gtk_visibility.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
ignore_rc_check.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
isolate_holder.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
leveldb_ssize_t.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
libgtkui_export.patch chore: update libgtkui_export.patch 2018-12-03 20:07:44 +05:30
mac_fix_form_control_rendering_on_10_14_mojave.patch fix: form control rendering on 10.14 Mojave (#14865) 2018-11-28 13:06:20 -08:00
mas-audiodeviceduck.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
mas-cfisobjc.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
mas-cgdisplayusesforcetogray.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
mas-lssetapplicationlaunchservicesserverconnectionstatus.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
mas_blink_no_private_api.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
mas_no_private_api.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
net_url_request_job.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
no_cache_storage_check.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
notification_provenance.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
out_of_process_instance.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
pepper_flash.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
printing.patch chore: update printing.patch 2018-12-03 20:07:43 +05:30
proxy_config_monitor.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
render_widget_host_view_base.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
render_widget_host_view_mac.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
resource_file_conflict.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
scroll_bounce_flag.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
ssl_security_state_tab_helper.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
stream_resource_handler.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
support_mixed_sandbox_with_zygote.patch feat: support mixed-sandbox mode on linux (#15870) 2018-12-05 17:42:12 -08:00
sysroot.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
thread_capabilities.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
tts.patch chore: avoid appending git version to the exported patches (#15389) 2018-10-26 12:52:59 +05:30
v8_context_snapshot_generator.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
verbose_generate_breakpad_symbols.patch fixup! add missing newlines to patches 2018-12-03 20:07:41 +05:30
web_contents.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
webgl_context_attributes.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
webview_cross_drag.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
windows_cc_wrapper.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30
worker_context_will_destroy.patch rebase chromium patches on M70 2018-12-03 20:07:37 +05:30