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 | |
134 AsyncPixelTransferDelegate* | 131 AsyncPixelTransferDelegate* |
135 AsyncPixelTransferManagerSync::CreatePixelTransferDelegateImpl( | 132 AsyncPixelTransferManagerSync::CreatePixelTransferDelegateImpl( |
136 gles2::TextureRef* ref, | 133 gles2::TextureRef* ref, |
137 const AsyncTexImage2DParams& define_params) { | 134 const AsyncTexImage2DParams& define_params) { |
138 return new AsyncPixelTransferDelegateSync(&shared_state_); | 135 return new AsyncPixelTransferDelegateSync(&shared_state_); |
139 } | 136 } |
140 | 137 |
141 } // namespace gpu | 138 } // namespace gpu |
OLD | NEW |