Index: gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc |
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc b/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc |
deleted file mode 100644 |
index 5bd7db9699000b45d1ac2325d6c62bf08742bd8b..0000000000000000000000000000000000000000 |
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc |
+++ /dev/null |
@@ -1,79 +0,0 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate_stub.h" |
- |
-namespace gpu { |
- |
-namespace { |
- |
-class AsyncPixelTransferStateImpl : public AsyncPixelTransferState { |
- public: |
- AsyncPixelTransferStateImpl() {} |
- |
- // Implement AsyncPixelTransferState: |
- virtual bool TransferIsInProgress() OVERRIDE { |
- return false; |
- } |
- |
- private: |
- virtual ~AsyncPixelTransferStateImpl() {} |
-}; |
- |
-} // namespace |
- |
-AsyncPixelTransferDelegateStub::AsyncPixelTransferDelegateStub() {} |
- |
-AsyncPixelTransferDelegateStub::~AsyncPixelTransferDelegateStub() {} |
- |
-AsyncPixelTransferState* AsyncPixelTransferDelegateStub:: |
- CreatePixelTransferState(GLuint texture_id, |
- const AsyncTexImage2DParams& define_params) { |
- return new AsyncPixelTransferStateImpl; |
-} |
- |
-void AsyncPixelTransferDelegateStub::BindCompletedAsyncTransfers() { |
-} |
- |
-void AsyncPixelTransferDelegateStub::AsyncNotifyCompletion( |
- const AsyncMemoryParams& mem_params, |
- const CompletionCallback& callback) { |
- callback.Run(mem_params); |
-} |
- |
-void AsyncPixelTransferDelegateStub::AsyncTexImage2D( |
- AsyncPixelTransferState* transfer_state, |
- const AsyncTexImage2DParams& tex_params, |
- const AsyncMemoryParams& mem_params, |
- const base::Closure& bind_callback) { |
- bind_callback.Run(); |
-} |
- |
-void AsyncPixelTransferDelegateStub::AsyncTexSubImage2D( |
- AsyncPixelTransferState* transfer_state, |
- const AsyncTexSubImage2DParams& tex_params, |
- const AsyncMemoryParams& mem_params) { |
-} |
- |
-void AsyncPixelTransferDelegateStub::WaitForTransferCompletion( |
- AsyncPixelTransferState* state) { |
-} |
- |
-uint32 AsyncPixelTransferDelegateStub::GetTextureUploadCount() { |
- return 0; |
-} |
- |
-base::TimeDelta AsyncPixelTransferDelegateStub::GetTotalTextureUploadTime() { |
- return base::TimeDelta(); |
-} |
- |
-void AsyncPixelTransferDelegateStub::ProcessMorePendingTransfers() { |
-} |
- |
-bool AsyncPixelTransferDelegateStub::NeedsProcessMorePendingTransfers() { |
- return false; |
-} |
- |
-} // namespace gpu |
- |