Skip to content

Commit

Permalink
Update win64-avx512.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
RobRich999 authored Dec 25, 2024
1 parent b36ea42 commit 2ac3578
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions Windows/win64-avx512.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 3e7f033378bc4..789f7f464decb 100644
index 33a232ed73248..38196ab802e30 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -487,9 +487,9 @@ config("compiler") {
@@ -498,9 +498,9 @@ config("compiler") {
# Linux/Android/Fuchsia common flags setup.
# ---------------------------------
if (is_linux || is_chromeos || is_android || is_fuchsia) {
Expand All @@ -15,7 +15,7 @@ index 3e7f033378bc4..789f7f464decb 100644
rustflags += [ "-Crelocation-model=pic" ]

if (!is_clang) {
@@ -542,9 +542,9 @@ config("compiler") {
@@ -553,9 +553,9 @@ config("compiler") {

# TODO(crbug.com/345541122): investigate the fuchsia binary size increase.
if (is_win) {
Expand All @@ -27,7 +27,7 @@ index 3e7f033378bc4..789f7f464decb 100644
}
}

@@ -596,23 +596,23 @@ config("compiler") {
@@ -607,23 +607,23 @@ config("compiler") {
if (default_toolchain != "//build/toolchain/cros:target" &&
!llvm_android_mainline) {
cflags += [
Expand Down Expand Up @@ -57,7 +57,7 @@ index 3e7f033378bc4..789f7f464decb 100644
}

# Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
@@ -773,7 +773,7 @@ config("compiler") {
@@ -784,7 +784,7 @@ config("compiler") {
# [0]: https://pinpoint-dot-chromeperf.appspot.com/job/16984a18be0000
# [1]: https://pinpoint-dot-chromeperf.appspot.com/job/11984a18be0000
# [2]: https://ci.chromium.org/ui/p/chromium/builders/try/android-binary-size/1848442
Expand Down Expand Up @@ -106,7 +106,7 @@ index 3e7f033378bc4..789f7f464decb 100644
]

# Minimum SIMD support for devices running lacros.
@@ -2646,10 +2652,13 @@ config("optimize_max") {
@@ -2661,10 +2667,13 @@ config("optimize_max") {
# Favor speed over size, /O2 must be before the common flags.
# /O2 implies /Ot, /Oi, and /GF.
cflags = [ "/O2" ] + common_optimize_on_cflags
Expand All @@ -121,7 +121,7 @@ index 3e7f033378bc4..789f7f464decb 100644
}
rustflags = [ "-Copt-level=3" ]
}
@@ -3071,7 +3080,7 @@ config("minimal_symbols") {
@@ -3086,7 +3095,7 @@ config("minimal_symbols") {
# names in the final debug information.
config("no_symbols") {
if (is_win) {
Expand All @@ -131,7 +131,7 @@ index 3e7f033378bc4..789f7f464decb 100644
# All configs using /DEBUG should include this:
configs = [ ":win_pdbaltpath" ]
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
index 9b062d6000372..64525f8ac5361 100644
index 9928e76832cce..343b0f77fd9b2 100644
--- a/build/config/win/BUILD.gn
+++ b/build/config/win/BUILD.gn
@@ -85,7 +85,7 @@ config("compiler") {
Expand Down Expand Up @@ -190,19 +190,6 @@ index aff0370044046..811529a08db83 100644
-#endif
+// #endif
} // extern "C"
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index e359362d926a1..d0a4de52ee8bd 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -350,7 +350,7 @@ BASE_FEATURE(kPlatformHEVCEncoderSupport,
// Enables HEVC MediaRecorder muxer support.
BASE_FEATURE(kMediaRecorderHEVCSupport,
"MediaRecorderHEVCSupport",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
#endif // BUILDFLAG(ENABLE_HEVC_PARSER_AND_HW_DECODER)

// Let videos be resumed via remote controls (for example, the notification)
diff --git a/media/base/supported_types.cc b/media/base/supported_types.cc
index 8db4b2d5cf1f5..2a338248f6f0b 100644
--- a/media/base/supported_types.cc
Expand Down Expand Up @@ -257,7 +244,7 @@ index 8db4b2d5cf1f5..2a338248f6f0b 100644
}
#endif // BUILDFLAG(ENABLE_FFMPEG_VIDEO_DECODERS) &&
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc
index e9b4ab2378361..00eaaa973164f 100644
index cfd0552ee3108..29452291bde43 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -67,7 +67,7 @@ VideoColorSpace GetGuessedColorSpace(const VideoColorSpace& color_space) {
Expand Down

0 comments on commit 2ac3578

Please sign in to comment.