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 #include "cc/output/texture_mailbox_deleter.h" | 5 #include "cc/output/texture_mailbox_deleter.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/location.h" | 10 #include "base/location.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
11 #include "cc/output/context_provider.h" | 13 #include "cc/output/context_provider.h" |
12 #include "cc/resources/single_release_callback.h" | 14 #include "cc/resources/single_release_callback.h" |
13 #include "gpu/command_buffer/client/gles2_interface.h" | 15 #include "gpu/command_buffer/client/gles2_interface.h" |
14 #include "gpu/command_buffer/common/sync_token.h" | 16 #include "gpu/command_buffer/common/sync_token.h" |
15 | 17 |
16 namespace cc { | 18 namespace cc { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 impl_callbacks_.erase(impl_callbacks_.begin() + i); | 91 impl_callbacks_.erase(impl_callbacks_.begin() + i); |
90 return; | 92 return; |
91 } | 93 } |
92 } | 94 } |
93 | 95 |
94 NOTREACHED() << "The Callback returned by GetDeleteCallback() was called " | 96 NOTREACHED() << "The Callback returned by GetDeleteCallback() was called " |
95 << "more than once."; | 97 << "more than once."; |
96 } | 98 } |
97 | 99 |
98 } // namespace cc | 100 } // namespace cc |
OLD | NEW |