Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: content/browser/compositor/gpu_browser_compositor_output_surface.h

Issue 1962493002: Make Mac swap code like other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/gpu_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.h b/content/browser/compositor/gpu_browser_compositor_output_surface.h
index 1df4090bf0c848b105d9e74b61043da498de1307..505f6a74a74bb742a07a9c6a37e23e16f215a403 100644
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.h
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.h
@@ -49,7 +49,8 @@ class GpuBrowserCompositorOutputSurface
void OnReflectorChanged() override;
void OnGpuSwapBuffersCompleted(
const std::vector<ui::LatencyInfo>& latency_info,
- gfx::SwapResult result) override;
+ gfx::SwapResult result,
+ const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) override;
// cc::OutputSurface implementation.
void SwapBuffers(cc::CompositorFrame* frame) override;
@@ -75,8 +76,10 @@ class GpuBrowserCompositorOutputSurface
gpu::CommandBufferProxyImpl* GetCommandBufferProxy();
- base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&,
- gfx::SwapResult)>
+ base::CancelableCallback<void(
+ const std::vector<ui::LatencyInfo>&,
+ gfx::SwapResult,
+ const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac)>
swap_buffers_completion_callback_;
base::CancelableCallback<void(base::TimeTicks timebase,
base::TimeDelta interval)>

Powered by Google App Engine
This is Rietveld 408576698