| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ |
| 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ | 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 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 "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 #include "ui/gfx/gpu_memory_buffer.h" | 14 #include "ui/gfx/gpu_memory_buffer.h" |
| 15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 | 16 |
| 17 namespace gfx { | |
| 18 class GLImage; | |
| 19 } | |
| 20 | |
| 21 namespace gpu { | 17 namespace gpu { |
| 22 class ImageFactory; | 18 class ImageFactory; |
| 23 } | 19 } |
| 24 | 20 |
| 25 namespace content { | 21 namespace content { |
| 26 | 22 |
| 27 class CONTENT_EXPORT GpuMemoryBufferFactory { | 23 class CONTENT_EXPORT GpuMemoryBufferFactory { |
| 28 public: | 24 public: |
| 29 virtual ~GpuMemoryBufferFactory() {} | 25 virtual ~GpuMemoryBufferFactory() {} |
| 30 | 26 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 protected: | 61 protected: |
| 66 GpuMemoryBufferFactory() {} | 62 GpuMemoryBufferFactory() {} |
| 67 | 63 |
| 68 private: | 64 private: |
| 69 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferFactory); | 65 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferFactory); |
| 70 }; | 66 }; |
| 71 | 67 |
| 72 } // namespace content | 68 } // namespace content |
| 73 | 69 |
| 74 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ | 70 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_H_ |
| OLD | NEW |