Handle account removal correctly on all platforms.
[chromium-blink-merge.git] / gpu / command_buffer / service / async_pixel_transfer_manager_stub.h
bloba93ce9499e5639988d03ffc1c7293c63a0aaf83d
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
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_
8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h"
10 namespace gpu {
12 class AsyncPixelTransferManagerStub : public AsyncPixelTransferManager {
13 public:
14 AsyncPixelTransferManagerStub();
15 virtual ~AsyncPixelTransferManagerStub();
17 // AsyncPixelTransferManager implementation:
18 virtual void BindCompletedAsyncTransfers() OVERRIDE;
19 virtual void AsyncNotifyCompletion(
20 const AsyncMemoryParams& mem_params,
21 AsyncPixelTransferCompletionObserver* observer) OVERRIDE;
22 virtual uint32 GetTextureUploadCount() OVERRIDE;
23 virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE;
24 virtual void ProcessMorePendingTransfers() OVERRIDE;
25 virtual bool NeedsProcessMorePendingTransfers() OVERRIDE;
26 virtual void WaitAllAsyncTexImage2D() OVERRIDE;
28 private:
29 // AsyncPixelTransferManager implementation:
30 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl(
31 gles2::TextureRef* ref,
32 const AsyncTexImage2DParams& define_params) OVERRIDE;
34 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerStub);
37 } // namespace gpu
39 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_