Index: gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.h |
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.h b/gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.h |
deleted file mode 100644 |
index f0887a9a7b7f224d8f4f2943ffc693641cc44f86..0000000000000000000000000000000000000000 |
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.h |
+++ /dev/null |
@@ -1,58 +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. |
- |
-#ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_SHARE_GROUP_H_ |
-#define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_SHARE_GROUP_H_ |
- |
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" |
- |
-#include <list> |
- |
-#include "base/basictypes.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/weak_ptr.h" |
- |
-namespace gpu { |
- |
-class AsyncPixelTransferDelegateShareGroup : public AsyncPixelTransferDelegate { |
- public: |
- explicit AsyncPixelTransferDelegateShareGroup(gfx::GLContext* context); |
- virtual ~AsyncPixelTransferDelegateShareGroup(); |
- |
- // Implement AsyncPixelTransferDelegate: |
- virtual AsyncPixelTransferState* CreatePixelTransferState( |
- GLuint texture_id, |
- const AsyncTexImage2DParams& define_params) OVERRIDE; |
- virtual void BindCompletedAsyncTransfers() OVERRIDE; |
- virtual void AsyncNotifyCompletion( |
- const AsyncMemoryParams& mem_params, |
- const CompletionCallback& callback) OVERRIDE; |
- virtual void AsyncTexImage2D( |
- AsyncPixelTransferState* state, |
- const AsyncTexImage2DParams& tex_params, |
- const AsyncMemoryParams& mem_params, |
- const base::Closure& bind_callback) OVERRIDE; |
- virtual void AsyncTexSubImage2D( |
- AsyncPixelTransferState* state, |
- const AsyncTexSubImage2DParams& tex_params, |
- const AsyncMemoryParams& mem_params) OVERRIDE; |
- virtual void WaitForTransferCompletion( |
- AsyncPixelTransferState* state) OVERRIDE; |
- virtual uint32 GetTextureUploadCount() OVERRIDE; |
- virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; |
- virtual void ProcessMorePendingTransfers() OVERRIDE; |
- virtual bool NeedsProcessMorePendingTransfers() OVERRIDE; |
- |
- private: |
- typedef std::list<base::WeakPtr<AsyncPixelTransferState> > TransferQueue; |
- TransferQueue pending_allocations_; |
- |
- scoped_refptr<AsyncPixelTransferUploadStats> texture_upload_stats_; |
- |
- DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferDelegateShareGroup); |
-}; |
- |
-} // namespace gpu |
- |
-#endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_SHARE_GROUP_H_ |