OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "config.h" | |
6 | |
7 #include "cc/direct_renderer.h" | 5 #include "cc/direct_renderer.h" |
8 | 6 |
9 #include <vector> | 7 #include <vector> |
10 | 8 |
11 #include "cc/math_util.h" | 9 #include "cc/math_util.h" |
12 #include "ui/gfx/rect_conversions.h" | 10 #include "ui/gfx/rect_conversions.h" |
13 #include <public/WebTransformationMatrix.h> | 11 #include <public/WebTransformationMatrix.h> |
14 | 12 |
15 using WebKit::WebTransformationMatrix; | 13 using WebKit::WebTransformationMatrix; |
16 | 14 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 return pass->outputRect().size(); | 228 return pass->outputRect().size(); |
231 } | 229 } |
232 | 230 |
233 // static | 231 // static |
234 GLenum DirectRenderer::renderPassTextureFormat(const RenderPass*) | 232 GLenum DirectRenderer::renderPassTextureFormat(const RenderPass*) |
235 { | 233 { |
236 return GL_RGBA; | 234 return GL_RGBA; |
237 } | 235 } |
238 | 236 |
239 } // namespace cc | 237 } // namespace cc |
OLD | NEW |