OLD | NEW |
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 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ |
7 | 7 |
8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h" | 8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h" |
9 | 9 |
10 namespace gpu { | 10 namespace gpu { |
(...skipping 12 matching lines...) Expand all Loading... |
23 base::TimeDelta GetTotalTextureUploadTime() override; | 23 base::TimeDelta GetTotalTextureUploadTime() override; |
24 void ProcessMorePendingTransfers() override; | 24 void ProcessMorePendingTransfers() override; |
25 bool NeedsProcessMorePendingTransfers() override; | 25 bool NeedsProcessMorePendingTransfers() override; |
26 void WaitAllAsyncTexImage2D() override; | 26 void WaitAllAsyncTexImage2D() override; |
27 | 27 |
28 private: | 28 private: |
29 // AsyncPixelTransferManager implementation: | 29 // AsyncPixelTransferManager implementation: |
30 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( | 30 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( |
31 gles2::TextureRef* ref, | 31 gles2::TextureRef* ref, |
32 const AsyncTexImage2DParams& define_params) override; | 32 const AsyncTexImage2DParams& define_params) override; |
| 33 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( |
| 34 gles2::TextureRef* ref, |
| 35 const AsyncCompressedTexImage2DParams& define_params) override; |
33 | 36 |
34 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerStub); | 37 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerStub); |
35 }; | 38 }; |
36 | 39 |
37 } // namespace gpu | 40 } // namespace gpu |
38 | 41 |
39 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ | 42 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_ |
OLD | NEW |