summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/async_pixel_transfer_manager_idle.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/async_pixel_transfer_manager_idle.h')
-rw-r--r--gpu/command_buffer/service/async_pixel_transfer_manager_idle.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/async_pixel_transfer_manager_idle.h b/gpu/command_buffer/service/async_pixel_transfer_manager_idle.h
new file mode 100644
index 0000000..1821dca
--- /dev/null
+++ b/gpu/command_buffer/service/async_pixel_transfer_manager_idle.h
@@ -0,0 +1,29 @@
+// Copyright 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_MANAGER_IDLE_H_
+#define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_IDLE_H_
+
+#include "gpu/command_buffer/service/async_pixel_transfer_manager.h"
+
+namespace gpu {
+class AsyncPixelTransferDelegateIdle;
+
+class AsyncPixelTransferManagerIdle : public AsyncPixelTransferManager {
+ public:
+ AsyncPixelTransferManagerIdle();
+ virtual ~AsyncPixelTransferManagerIdle();
+
+ // AsyncPixelTransferManager implementation:
+ virtual AsyncPixelTransferDelegate* GetAsyncPixelTransferDelegate() OVERRIDE;
+
+ private:
+ scoped_ptr<AsyncPixelTransferDelegateIdle> delegate_;
+
+ DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerIdle);
+};
+
+} // namespace gpu
+
+#endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_IDLE_H_