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 CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "content/common/gpu/client/gl_helper.h" | 12 #include "content/common/gpu/client/gl_helper.h" |
13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/geometry/size.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 class ShaderProgram; | 18 class ShaderProgram; |
19 class ScalerImpl; | 19 class ScalerImpl; |
20 class GLHelperTest; | 20 class GLHelperTest; |
21 | 21 |
22 // Implements GPU texture scaling methods. | 22 // Implements GPU texture scaling methods. |
23 // Note that you should probably not use this class directly. | 23 // Note that you should probably not use this class directly. |
24 // See gl_helper.cc::CreateScaler instead. | 24 // See gl_helper.cc::CreateScaler instead. |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 friend class ShaderProgram; | 203 friend class ShaderProgram; |
204 friend class ScalerImpl; | 204 friend class ScalerImpl; |
205 friend class GLHelperTest; | 205 friend class GLHelperTest; |
206 DISALLOW_COPY_AND_ASSIGN(GLHelperScaling); | 206 DISALLOW_COPY_AND_ASSIGN(GLHelperScaling); |
207 }; | 207 }; |
208 | 208 |
209 | 209 |
210 } // namespace content | 210 } // namespace content |
211 | 211 |
212 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ | 212 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_SCALING_H_ |
OLD | NEW |