| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "webkit/compositor_bindings/web_external_texture_layer_impl.h" | 5 #include "webkit/compositor_bindings/web_external_texture_layer_impl.h" |
| 6 | 6 |
| 7 #include "cc/layers/texture_layer.h" | 7 #include "cc/layers/texture_layer.h" |
| 8 #include "cc/resources/resource_update_queue.h" | 8 #include "cc/resources/resource_update_queue.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayerClient.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayerClient.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM
ailbox.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM
ailbox.h" |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 bool lost_resource) { | 129 bool lost_resource) { |
| 130 if (lost_resource) | 130 if (lost_resource) |
| 131 return; | 131 return; |
| 132 | 132 |
| 133 WebKit::WebExternalTextureMailbox available_mailbox; | 133 WebKit::WebExternalTextureMailbox available_mailbox; |
| 134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name)); | 134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name)); |
| 135 available_mailbox.syncPoint = sync_point; | 135 available_mailbox.syncPoint = sync_point; |
| 136 client_->mailboxReleased(available_mailbox); | 136 client_->mailboxReleased(available_mailbox); |
| 137 } | 137 } |
| 138 | 138 |
| 139 } // namespace webkit | 139 } // namespace webkit |
| OLD | NEW |