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

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

Issue 1711533002: Decouple browser-specific GPU IPC messages from GPU service IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restored if guards on GpuChannelManager Created 4 years, 10 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/buffer_presented_params_mac.h
diff --git a/content/common/gpu/buffer_presented_params_mac.h b/content/common/gpu/buffer_presented_params_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..b94ffa4574f55697763e4ddceacf28d5b7020676
--- /dev/null
+++ b/content/common/gpu/buffer_presented_params_mac.h
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_
+#define CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_
+
+#include "base/time/time.h"
+
+namespace content {
+
+struct BufferPresentedParams {
+ BufferPresentedParams();
+ ~BufferPresentedParams();
+
+ int32_t surface_id;
+ base::TimeTicks vsync_timebase;
+ base::TimeDelta vsync_interval;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698