| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index c6aabfbed098d33813801d76df8ff902d30839e5..1b77f8b9ccbf4080be85bf2013f4fb30e66dbe25 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -216,6 +216,13 @@ bool IsPartialRasterEnabled() {
|
| return command_line.HasSwitch(switches::kEnablePartialRaster);
|
| }
|
|
|
| +bool IsGpuMemoryBufferCompositorResourcesEnabled() {
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| + return command_line.HasSwitch(
|
| + switches::kEnableGpuMemoryBufferCompositorResources);
|
| +}
|
| +
|
| bool IsGpuRasterizationEnabled() {
|
| const base::CommandLine& command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
|
|