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

Unified Diff: content/common/gpu/image_transport_surface_overlay_mac.h

Issue 1830193002: Move buffer_presented_params_mac to content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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/common/gpu/image_transport_surface_overlay_mac.h
diff --git a/content/common/gpu/image_transport_surface_overlay_mac.h b/content/common/gpu/image_transport_surface_overlay_mac.h
index bec141abf010812c43a0d4a4ed8e0398bd5a9824..84527798958cd921083ef4aceaca5c2ec5ee1a63 100644
--- a/content/common/gpu/image_transport_surface_overlay_mac.h
+++ b/content/common/gpu/image_transport_surface_overlay_mac.h
@@ -24,7 +24,6 @@ namespace content {
class CALayerTree;
class CALayerPartialDamageTree;
-struct BufferPresentedParams;
class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
public ui::GpuSwitchingObserver {
@@ -74,7 +73,9 @@ class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
~ImageTransportSurfaceOverlayMac() override;
void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
- void BufferPresented(const BufferPresentedParams& params);
+ void BufferPresented(int32_t surface_id,
+ const base::TimeTicks& vsync_timebase,
+ const base::TimeDelta& vsync_interval);
void SendAcceleratedSurfaceBuffersSwapped(
int32_t surface_id,
CAContextID ca_context_id,
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698