| 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_SYNC_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SYNC_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SYNC_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SYNC_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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 int texture_upload_count; | 33 int texture_upload_count; |
| 34 base::TimeDelta total_texture_upload_time; | 34 base::TimeDelta total_texture_upload_time; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 // AsyncPixelTransferManager implementation: | 38 // AsyncPixelTransferManager implementation: |
| 39 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( | 39 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( |
| 40 gles2::TextureRef* ref, | 40 gles2::TextureRef* ref, |
| 41 const AsyncTexImage2DParams& define_params) override; | 41 const AsyncTexImage2DParams& define_params) override; |
| 42 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( |
| 43 gles2::TextureRef* ref, |
| 44 const AsyncCompressedTexImage2DParams& define_params) override; |
| 42 | 45 |
| 43 SharedState shared_state_; | 46 SharedState shared_state_; |
| 44 | 47 |
| 45 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerSync); | 48 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerSync); |
| 46 }; | 49 }; |
| 47 | 50 |
| 48 } // namespace gpu | 51 } // namespace gpu |
| 49 | 52 |
| 50 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SYNC_H_ | 53 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SYNC_H_ |
| OLD | NEW |