Skip to content

Commit

Permalink
Force enable OOP rasterization
Browse files Browse the repository at this point in the history
Turns on out of process raster for the renderer whenever gpu raster
would have been used.  Enables the chromium_raster_transport extension.

This is being done because BaseMark Web 3.0 suffers and the switch
seems to be highly enabled by field trials in Chrome.
  • Loading branch information
bbondy committed Oct 25, 2019
1 parent 2b52d8e commit 39f8684
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/brave_main_delegate.cc
Expand Up @@ -31,6 +31,7 @@
#include "components/unified_consent/feature.h"
#include "components/sync/driver/sync_driver_switches.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "extensions/common/extension_features.h"
#include "services/network/public/cpp/features.h"
#include "third_party/widevine/cdm/buildflags.h"
Expand Down Expand Up @@ -144,6 +145,10 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) {
switches::kExtensionContentVerificationEnforceStrict);
command_line.AppendSwitchASCII(switches::kExtensionsInstallVerification,
"enforce");
// Otherwise BaseMark Web 3.0 suffers and it seems to be highly enabled
// by field trials in Chrome.
command_line.AppendSwitchASCII(switches::kEnableOopRasterization,
"Enabled");

// Brave's sync protocol does not use the sync service url
command_line.AppendSwitchASCII(switches::kSyncServiceURL,
Expand Down

0 comments on commit 39f8684

Please sign in to comment.