Commit 5a39fbc9 authored by ccameron's avatar ccameron Committed by Commit bot

Mac: Use appropriate mechanism to determine partial swap capability

BUG=474299

Review URL: https://codereview.chromium.org/1059483004

Cr-Commit-Position: refs/heads/master@{#323992}
parent 7e0be9b5
...@@ -209,7 +209,7 @@ bool ImageTransportSurfaceFBO::PostSubBuffer( ...@@ -209,7 +209,7 @@ bool ImageTransportSurfaceFBO::PostSubBuffer(
} }
bool ImageTransportSurfaceFBO::SupportsPostSubBuffer() { bool ImageTransportSurfaceFBO::SupportsPostSubBuffer() {
return true; return false;
} }
gfx::Size ImageTransportSurfaceFBO::GetSize() { gfx::Size ImageTransportSurfaceFBO::GetSize() {
......
...@@ -98,10 +98,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget, ...@@ -98,10 +98,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
settings.main_frame_before_activation_enabled = false; settings.main_frame_before_activation_enabled = false;
settings.throttle_frame_production = settings.throttle_frame_production =
!command_line->HasSwitch(switches::kDisableGpuVsync); !command_line->HasSwitch(switches::kDisableGpuVsync);
#if !defined(OS_MACOSX)
settings.renderer_settings.partial_swap_enabled = settings.renderer_settings.partial_swap_enabled =
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
#endif
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
settings.per_tile_painting_enabled = true; settings.per_tile_painting_enabled = true;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment