summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/mailbox_holder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/mailbox_holder.cc')
-rw-r--r--gpu/command_buffer/common/mailbox_holder.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/mailbox_holder.cc b/gpu/command_buffer/common/mailbox_holder.cc
new file mode 100644
index 0000000..a8cb6fb
--- /dev/null
+++ b/gpu/command_buffer/common/mailbox_holder.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 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 "gpu/command_buffer/common/mailbox_holder.h"
+
+namespace gpu {
+
+MailboxHolder::MailboxHolder() : texture_target(0), sync_point(0) {}
+
+MailboxHolder::MailboxHolder(const Mailbox& mailbox,
+ uint32 texture_target,
+ uint32 sync_point)
+ : mailbox(mailbox),
+ texture_target(texture_target),
+ sync_point(sync_point) {}
+
+} // namespace gpu