| 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 "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h" | 5 #include "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h" |
| 6 | 6 |
| 7 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" | 7 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" |
| 8 | 8 |
| 9 namespace gpu { | 9 namespace gpu { |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 return shared_state_.total_texture_upload_time; | 121 return shared_state_.total_texture_upload_time; |
| 122 } | 122 } |
| 123 | 123 |
| 124 void AsyncPixelTransferManagerSync::ProcessMorePendingTransfers() { | 124 void AsyncPixelTransferManagerSync::ProcessMorePendingTransfers() { |
| 125 } | 125 } |
| 126 | 126 |
| 127 bool AsyncPixelTransferManagerSync::NeedsProcessMorePendingTransfers() { | 127 bool AsyncPixelTransferManagerSync::NeedsProcessMorePendingTransfers() { |
| 128 return false; | 128 return false; |
| 129 } | 129 } |
| 130 | 130 |
| 131 void AsyncPixelTransferManagerSync::WaitAllAsyncTexImage2D() { |
| 132 } |
| 133 |
| 131 AsyncPixelTransferDelegate* | 134 AsyncPixelTransferDelegate* |
| 132 AsyncPixelTransferManagerSync::CreatePixelTransferDelegateImpl( | 135 AsyncPixelTransferManagerSync::CreatePixelTransferDelegateImpl( |
| 133 gles2::TextureRef* ref, | 136 gles2::TextureRef* ref, |
| 134 const AsyncTexImage2DParams& define_params) { | 137 const AsyncTexImage2DParams& define_params) { |
| 135 return new AsyncPixelTransferDelegateSync(&shared_state_); | 138 return new AsyncPixelTransferDelegateSync(&shared_state_); |
| 136 } | 139 } |
| 137 | 140 |
| 138 } // namespace gpu | 141 } // namespace gpu |
| OLD | NEW |