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

Side by Side Diff: gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unset texture and texture_ref after deleting 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
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_stub.h" 5 #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 return base::TimeDelta(); 71 return base::TimeDelta();
72 } 72 }
73 73
74 void AsyncPixelTransferManagerStub::ProcessMorePendingTransfers() { 74 void AsyncPixelTransferManagerStub::ProcessMorePendingTransfers() {
75 } 75 }
76 76
77 bool AsyncPixelTransferManagerStub::NeedsProcessMorePendingTransfers() { 77 bool AsyncPixelTransferManagerStub::NeedsProcessMorePendingTransfers() {
78 return false; 78 return false;
79 } 79 }
80 80
81 void AsyncPixelTransferManagerStub::WaitAllAsyncTexImage2D() {
82 }
83
81 AsyncPixelTransferDelegate* 84 AsyncPixelTransferDelegate*
82 AsyncPixelTransferManagerStub::CreatePixelTransferDelegateImpl( 85 AsyncPixelTransferManagerStub::CreatePixelTransferDelegateImpl(
83 gles2::TextureRef* ref, 86 gles2::TextureRef* ref,
84 const AsyncTexImage2DParams& define_params) { 87 const AsyncTexImage2DParams& define_params) {
85 return new AsyncPixelTransferDelegateStub(); 88 return new AsyncPixelTransferDelegateStub();
86 } 89 }
87 90
88 } // namespace gpu 91 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698