chore: bump chromium to 117.0.5938.0 (main) (#39375)
* chore: bump chromium in DEPS to 117.0.5929.0 * chore: bump chromium in DEPS to 117.0.5931.0 * chore: bump chromium in DEPS to 117.0.5932.0 * chore: update patches * 4728317: Prevent PrintRenderFrameHelper from printing when already printing |4728317
* 4739501: Use base::SequenceBound to manage SerialPortManagerImpl |4739501
* 4702051: Allow overriding source in install-sysroot.py |4702051
* chore: update filenames.libcxx.gni * 4727002: Rename "enable_arc2" to "enable_arc" |4727002
* chore: bump chromium in DEPS to 117.0.5934.0 * 4736873: Rename ColorSpaces methods on display::Display |4736873
* 4727203: Replace bool with an enum in as suggested in DevtoolsManagerDelegate. |4727203
* 4744479: [DevTools] Add 'generateTaggedPDF' option to DevTools Page.printToPDF |4744479
* 4735893: Don't share WebUSB permissions with webviews |4735893
* revert: update filenames.libcxx.gni * chore: bump chromium in DEPS to 117.0.5936.0 * chore: update patches * 4746465: SAA: Query for embargoed StorageAccess permissions |4746465
* 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. |4666325
* chore: bump chromium in DEPS to 117.0.5938.0 * chore: bump chromium in DEPS to 118.0.5939.0 * chore: update patches * Send line bounds through CursorAnchorInfo on requestCursorUpdate4394588
* Fixup lint for Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src * 4700305: [mac] Fix override of CHILD_PROCESS_EXE4700305
Needed because of 4729689: Reland "Remove redundant existence check in PathService" |4729689
* 4753759: More consistent icon handling for menus.4753759
* chore: bump chromium in DEPS to 118.0.5941.0 * chore: update patches * chore: bump chromium in DEPS to 117.0.5938.0 * test: update nan-spec-runner cflags * build: fix isystem include path in nan-spec-runner * fixup! 4666325: Move buildtools/third_party/lib*/trunk source paths to third_party/lib*/src. |4666325
fix a few more instances of the old path libc++.a and libc++abi.a are still in buildtools/ --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
bee5d94886
commit
c3036d4557
94 changed files with 1513 additions and 1600 deletions
|
@ -16,11 +16,11 @@ cases where performance improves when disabling remote CoreAnimation (remote
|
|||
CoreAnimation is really only about battery usage).
|
||||
|
||||
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.h b/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
||||
index c4eda85ebb59f2f9fc440c93590b99d1e8a16447..5f518ffa672ef62a94dd043e5bc4a53c8775defa 100644
|
||||
index ee83f9e5504eda6bd1ad80db7bd486934b7f3b6d..5db55a349f7eaf829d8458b279fd64f1f28a9a2c 100644
|
||||
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
||||
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
||||
@@ -28,7 +28,9 @@
|
||||
#error "This file requires ARC support."
|
||||
@@ -24,7 +24,9 @@
|
||||
#include "gpu/ipc/service/gpu_vsync_mac.h"
|
||||
#endif
|
||||
|
||||
+#if !IS_MAS_BUILD()
|
||||
|
@ -29,7 +29,7 @@ index c4eda85ebb59f2f9fc440c93590b99d1e8a16447..5f518ffa672ef62a94dd043e5bc4a53c
|
|||
@class CALayer;
|
||||
|
||||
namespace ui {
|
||||
@@ -83,8 +85,10 @@ class ImageTransportSurfaceOverlayMacEGL : public gl::Presenter {
|
||||
@@ -79,8 +81,10 @@ class ImageTransportSurfaceOverlayMacEGL : public gl::Presenter {
|
||||
|
||||
base::WeakPtr<ImageTransportSurfaceDelegate> delegate_;
|
||||
|
||||
|
@ -41,10 +41,10 @@ index c4eda85ebb59f2f9fc440c93590b99d1e8a16447..5f518ffa672ef62a94dd043e5bc4a53c
|
|||
|
||||
gfx::Size pixel_size_;
|
||||
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.mm b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
||||
index 2972a8ad8e4eaffbc798ee57cd94400661f854bc..99b3dab8d0b29ffea8f11f3a15ccb90d42537a02 100644
|
||||
index bd2f1d8a8d82456390a5efb641545e9177727542..c368baeb3b8141a84f461eff5bd84129dc26f0fd 100644
|
||||
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
||||
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
||||
@@ -57,7 +57,9 @@
|
||||
@@ -53,7 +53,9 @@
|
||||
ImageTransportSurfaceOverlayMacEGL::ImageTransportSurfaceOverlayMacEGL(
|
||||
base::WeakPtr<ImageTransportSurfaceDelegate> delegate)
|
||||
: delegate_(delegate),
|
||||
|
@ -54,7 +54,7 @@ index 2972a8ad8e4eaffbc798ee57cd94400661f854bc..99b3dab8d0b29ffea8f11f3a15ccb90d
|
|||
scale_factor_(1),
|
||||
weak_ptr_factory_(this) {
|
||||
static bool av_disabled_at_command_line =
|
||||
@@ -69,6 +71,7 @@
|
||||
@@ -65,6 +67,7 @@
|
||||
->workarounds()
|
||||
.disable_av_sample_buffer_display_layer;
|
||||
|
||||
|
@ -62,7 +62,7 @@ index 2972a8ad8e4eaffbc798ee57cd94400661f854bc..99b3dab8d0b29ffea8f11f3a15ccb90d
|
|||
ca_layer_tree_coordinator_ = std::make_unique<ui::CALayerTreeCoordinator>(
|
||||
use_remote_layer_api_, allow_av_sample_buffer_display_layer);
|
||||
|
||||
@@ -89,6 +92,10 @@
|
||||
@@ -85,6 +88,10 @@
|
||||
#endif
|
||||
ca_context_.layer = ca_layer_tree_coordinator_->GetCALayerForDisplay();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ index 2972a8ad8e4eaffbc798ee57cd94400661f854bc..99b3dab8d0b29ffea8f11f3a15ccb90d
|
|||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
if (features::UseGpuVsync()) {
|
||||
@@ -180,9 +187,13 @@
|
||||
@@ -176,9 +183,13 @@
|
||||
TRACE_EVENT_INSTANT2("test_gpu", "SwapBuffers", TRACE_EVENT_SCOPE_THREAD,
|
||||
"GLImpl", static_cast<int>(gl::GetGLImplementation()),
|
||||
"width", pixel_size_.width());
|
||||
|
@ -88,10 +88,10 @@ index 2972a8ad8e4eaffbc798ee57cd94400661f854bc..99b3dab8d0b29ffea8f11f3a15ccb90d
|
|||
ca_layer_tree_coordinator_->GetIOSurfaceForDisplay();
|
||||
if (io_surface) {
|
||||
diff --git a/ui/accelerated_widget_mac/display_ca_layer_tree.mm b/ui/accelerated_widget_mac/display_ca_layer_tree.mm
|
||||
index 9f4869f00f31c6d3ad5081b1e7b67c4cf495fbdd..228b8d2e8835dc3a4f0454521a2bbd523cfd8933 100644
|
||||
index cdcb1da0c11b07cce895369aba56b78623a0bef5..3765fb5106c8f2fbc1438ad759a173610b5db2aa 100644
|
||||
--- a/ui/accelerated_widget_mac/display_ca_layer_tree.mm
|
||||
+++ b/ui/accelerated_widget_mac/display_ca_layer_tree.mm
|
||||
@@ -124,6 +124,7 @@ - (void)setContentsChanged;
|
||||
@@ -120,6 +120,7 @@ - (void)setContentsChanged;
|
||||
}
|
||||
|
||||
void DisplayCALayerTree::GotCALayerFrame(uint32_t ca_context_id) {
|
||||
|
@ -99,7 +99,7 @@ index 9f4869f00f31c6d3ad5081b1e7b67c4cf495fbdd..228b8d2e8835dc3a4f0454521a2bbd52
|
|||
// Early-out if the remote layer has not changed.
|
||||
if (remote_layer_.contextId == ca_context_id) {
|
||||
return;
|
||||
@@ -153,6 +154,9 @@ - (void)setContentsChanged;
|
||||
@@ -149,6 +150,9 @@ - (void)setContentsChanged;
|
||||
[io_surface_layer_ removeFromSuperlayer];
|
||||
io_surface_layer_ = nil;
|
||||
}
|
||||
|
@ -131,10 +131,10 @@ index 59dc2f82214cfd883b6ebef3b0fb25af6387a9cd..d585ba14b34021a93c878d0d9f9d9ef7
|
|||
|
||||
// This function will check if all of the interfaces listed above are supported
|
||||
diff --git a/ui/base/cocoa/remote_layer_api.mm b/ui/base/cocoa/remote_layer_api.mm
|
||||
index 4aaf26f077c397184e2a304ecb827377b002b8bf..65ff1f2d0c9118734f86d3ecfc720a2f4415241f 100644
|
||||
index fc25ba79d2b0e1acdb7ba54b89e7d6e16f94771b..962df2d65d61ec0836cf465d847eb666033846f2 100644
|
||||
--- a/ui/base/cocoa/remote_layer_api.mm
|
||||
+++ b/ui/base/cocoa/remote_layer_api.mm
|
||||
@@ -14,6 +14,7 @@
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
namespace ui {
|
||||
|
||||
|
@ -142,7 +142,7 @@ index 4aaf26f077c397184e2a304ecb827377b002b8bf..65ff1f2d0c9118734f86d3ecfc720a2f
|
|||
namespace {
|
||||
// Control use of cross-process CALayers to display content directly from the
|
||||
// GPU process on Mac.
|
||||
@@ -21,8 +22,10 @@
|
||||
@@ -17,8 +18,10 @@
|
||||
"RemoteCoreAnimationAPI",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
} // namespace
|
||||
|
@ -153,7 +153,7 @@ index 4aaf26f077c397184e2a304ecb827377b002b8bf..65ff1f2d0c9118734f86d3ecfc720a2f
|
|||
if (!base::FeatureList::IsEnabled(kRemoteCoreAnimationAPI))
|
||||
return false;
|
||||
|
||||
@@ -59,6 +62,9 @@ bool RemoteLayerAPISupported() {
|
||||
@@ -55,6 +58,9 @@ bool RemoteLayerAPISupported() {
|
||||
|
||||
// If everything is there, we should be able to use the API.
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue