| 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 CC_TEXTURE_MAILBOX_H_ | 5 #ifndef CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| 6 #define CC_TEXTURE_MAILBOX_H_ | 6 #define CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
| 13 #include "gpu/command_buffer/common/mailbox.h" | 13 #include "gpu/command_buffer/common/mailbox.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 unsigned sync_point() const { return sync_point_; } | 40 unsigned sync_point() const { return sync_point_; } |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 gpu::Mailbox name_; | 43 gpu::Mailbox name_; |
| 44 ReleaseCallback callback_; | 44 ReleaseCallback callback_; |
| 45 unsigned sync_point_; | 45 unsigned sync_point_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace cc | 48 } // namespace cc |
| 49 | 49 |
| 50 #endif // CC_TEXTURE_MAILBOX_H_ | 50 #endif // CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| OLD | NEW |