OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ | 5 #ifndef CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ |
6 #define CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ | 6 #define CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
11 #include "content/common/gpu/gpu_command_buffer_stub.h" | 10 #include "content/common/gpu/gpu_command_buffer_stub.h" |
12 #include "content/common/gpu/image_transport_surface.h" | 11 #include "content/common/gpu/image_transport_surface.h" |
13 #include "gpu/command_buffer/service/texture_manager.h" | 12 #include "gpu/command_buffer/service/texture_manager.h" |
14 #include "ui/gl/gl_surface.h" | 13 #include "ui/gl/gl_surface.h" |
15 | 14 |
16 class GpuChannelManager; | 15 class GpuChannelManager; |
17 | 16 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool frontbuffer_suggested_allocation_; | 101 bool frontbuffer_suggested_allocation_; |
103 | 102 |
104 scoped_ptr<ImageTransportHelper> helper_; | 103 scoped_ptr<ImageTransportHelper> helper_; |
105 gfx::GLSurfaceHandle handle_; | 104 gfx::GLSurfaceHandle handle_; |
106 GpuCommandBufferStub* parent_stub_; | 105 GpuCommandBufferStub* parent_stub_; |
107 | 106 |
108 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface); | 107 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface); |
109 }; | 108 }; |
110 | 109 |
111 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ | 110 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ |
OLD | NEW |