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

Unified Diff: services/ui/surfaces/direct_output_surface_ozone.h

Issue 2529703002: Mus: Install SwapBuffersCompleted/VSync callbacks to DirectOutputSurface(Ozone) (Closed)
Patch Set: Grab capabilities from the InProcessCommandBuffer instead of making them up Created 4 years, 1 month 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
« no previous file with comments | « services/ui/surfaces/direct_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/direct_output_surface_ozone.h
diff --git a/services/ui/surfaces/direct_output_surface_ozone.h b/services/ui/surfaces/direct_output_surface_ozone.h
index cd1f9e39ec46ed6cabbf31c828a54c82e8140b2a..c6b81d63d66d9f04b44a08949fa7def6155b5586 100644
--- a/services/ui/surfaces/direct_output_surface_ozone.h
+++ b/services/ui/surfaces/direct_output_surface_ozone.h
@@ -69,15 +69,13 @@ class DirectOutputSurfaceOzone : public cc::OutputSurface {
bool HasExternalStencilTest() const override;
void ApplyExternalStencil() override;
- // Taken from BrowserCompositor specific API.
- void OnUpdateVSyncParametersFromGpu(base::TimeTicks timebase,
- base::TimeDelta interval);
-
// Called when a swap completion is signaled from ImageTransportSurface.
void OnGpuSwapBuffersCompleted(
const std::vector<ui::LatencyInfo>& latency_info,
gfx::SwapResult result,
const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac);
+ void OnVSyncParametersUpdated(base::TimeTicks timebase,
+ base::TimeDelta interval);
cc::OutputSurfaceClient* client_ = nullptr;
« no previous file with comments | « services/ui/surfaces/direct_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698