| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_DELEGATE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "gpu/command_buffer/common/buffer.h" | 14 #include "gpu/command_buffer/common/buffer.h" |
| 15 #include "gpu/gpu_export.h" | 15 #include "gpu/gpu_export.h" |
| 16 #include "ui/gl/gl_bindings.h" | 16 #include "ui/gl/gl_bindings.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class SharedMemory; | 19 class SharedMemory; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace gpu { | 22 namespace gpu { |
| 23 | 23 |
| 24 class ScopedSafeSharedMemory; | |
| 25 | |
| 26 struct AsyncTexImage2DParams { | 24 struct AsyncTexImage2DParams { |
| 27 GLenum target; | 25 GLenum target; |
| 28 GLint level; | 26 GLint level; |
| 29 GLenum internal_format; | 27 GLenum internal_format; |
| 30 GLsizei width; | 28 GLsizei width; |
| 31 GLsizei height; | 29 GLsizei height; |
| 32 GLint border; | 30 GLint border; |
| 33 GLenum format; | 31 GLenum format; |
| 34 GLenum type; | 32 GLenum type; |
| 35 }; | 33 }; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 AsyncPixelTransferDelegate(); | 108 AsyncPixelTransferDelegate(); |
| 111 | 109 |
| 112 private: | 110 private: |
| 113 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferDelegate); | 111 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferDelegate); |
| 114 }; | 112 }; |
| 115 | 113 |
| 116 } // namespace gpu | 114 } // namespace gpu |
| 117 | 115 |
| 118 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_H_ | 116 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_H_ |
| 119 | 117 |
| OLD | NEW |