| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_H_ | 5 #ifndef GPU_COMMAND_BUFFER_MAILBOX_H_ |
| 6 #define GPU_COMMAND_BUFFER_MAILBOX_H_ | 6 #define GPU_COMMAND_BUFFER_MAILBOX_H_ |
| 7 | 7 |
| 8 #include "gpu/command_buffer/common/types.h" | 8 #include "gpu/command_buffer/common/types.h" |
| 9 #include "gpu/gpu_export.h" | 9 #include "gpu/gpu_export.h" |
| 10 | 10 |
| 11 namespace gpu { | 11 namespace gpu { |
| 12 | 12 |
| 13 struct GPU_EXPORT Mailbox { | 13 struct GPU_EXPORT Mailbox { |
| 14 Mailbox(); | 14 Mailbox(); |
| 15 bool IsZero() const; | 15 bool IsZero() const; |
| 16 void SetZero(); |
| 16 void SetName(const int8* name); | 17 void SetName(const int8* name); |
| 17 int8 name[64]; | 18 int8 name[64]; |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 } // namespace gpu | 21 } // namespace gpu |
| 21 | 22 |
| 22 #endif // GPU_COMMAND_BUFFER_MAILBOX_H_ | 23 #endif // GPU_COMMAND_BUFFER_MAILBOX_H_ |
| 23 | 24 |
| OLD | NEW |