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

Side by Side Diff: gpu/command_buffer/common/mailbox_holder.h

Issue 132233041: Add gpu::MailboxHolder to hold state for a gpu::Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ff7262fa Rebase. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_
6 #define GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_
7
8 #include <string.h>
9
10 #include "gpu/command_buffer/common/mailbox.h"
11 #include "gpu/command_buffer/common/types.h"
12 #include "gpu/gpu_export.h"
13
14 namespace gpu {
15
16 struct GPU_EXPORT MailboxHolder {
17 MailboxHolder();
18 MailboxHolder(const gpu::Mailbox& mailbox,
19 uint32 texture_target,
20 uint32 sync_point);
21 gpu::Mailbox mailbox;
22 uint32 texture_target;
23 uint32 sync_point;
24 };
25
26 } // namespace gpu
27
28 #endif // GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | gpu/command_buffer/common/mailbox_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698