summaryrefslogtreecommitdiffstats
path: root/cc/gl_frame_data.cc
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 03:42:11 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 03:42:11 +0000
commitbf189f6d9415107d901c8bc16a30ecacfa7d5f90 (patch)
treefde26f10dbf02ff53ee12eb7169e68d2c99e9088 /cc/gl_frame_data.cc
parent015995065ae92efd0a310c6dba94664ddbbc3252 (diff)
downloadchromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.zip
chromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.tar.gz
chromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.tar.bz2
Send compositor frame IPC with metadata.
This makes CompositorFrame contain one of two payloads: DelegatedFrameData for ubercomp and GLFrameData for the Aura model. This also adds CompositorFrameMetadata containing information useful for positioning subwindows relative to the webpage scroll position. The message is sent when a new switch --enable-compositor-frame-message is set. This is enabled by default on Android and also suppresses Android-specific UpdateFrameInfo messages, which will be superceded by CompositorFrameMetadata. BUG=152337,161945 Review URL: https://chromiumcodereview.appspot.com/11316128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/gl_frame_data.cc')
-rw-r--r--cc/gl_frame_data.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/cc/gl_frame_data.cc b/cc/gl_frame_data.cc
new file mode 100644
index 0000000..9895c79
--- /dev/null
+++ b/cc/gl_frame_data.cc
@@ -0,0 +1,15 @@
+// Copyright 2012 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.
+
+#include "cc/gl_frame_data.h"
+
+namespace cc {
+
+GLFrameData::GLFrameData()
+ : sync_point(0) {
+}
+
+GLFrameData::~GLFrameData() {}
+
+} // namespace cc