| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ |
| 6 #define GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ | 6 #define GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 8 #include <string.h> | 9 #include <string.h> |
| 9 | 10 |
| 10 #include "gpu/command_buffer/common/mailbox.h" | 11 #include "gpu/command_buffer/common/mailbox.h" |
| 11 #include "gpu/command_buffer/common/types.h" | |
| 12 #include "gpu/gpu_export.h" | 12 #include "gpu/gpu_export.h" |
| 13 | 13 |
| 14 namespace gpu { | 14 namespace gpu { |
| 15 | 15 |
| 16 struct GPU_EXPORT MailboxHolder { | 16 struct GPU_EXPORT MailboxHolder { |
| 17 MailboxHolder(); | 17 MailboxHolder(); |
| 18 MailboxHolder(const gpu::Mailbox& mailbox, | 18 MailboxHolder(const gpu::Mailbox& mailbox, |
| 19 uint32 texture_target, | 19 uint32_t texture_target, |
| 20 uint32 sync_point); | 20 uint32_t sync_point); |
| 21 gpu::Mailbox mailbox; | 21 gpu::Mailbox mailbox; |
| 22 uint32 texture_target; | 22 uint32_t texture_target; |
| 23 uint32 sync_point; | 23 uint32_t sync_point; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace gpu | 26 } // namespace gpu |
| 27 | 27 |
| 28 #endif // GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ | 28 #endif // GPU_COMMAND_BUFFER_MAILBOX_HOLDER_H_ |
| OLD | NEW |