Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: trunk/src/gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc

Issue 216673006: Revert 260177 "By keeping track of transfer buffer usage (both s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698