Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1850)

Side by Side Diff: cc/direct_renderer.cc

Issue 11233025: cc: Remove CC*.h temporary includes, part 4/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/delegated_renderer_layer_impl_unittest.cc ('k') | cc/draw_quad.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 5 #include "config.h"
6 6
7 #include "CCDirectRenderer.h" 7 #include "CCDirectRenderer.h"
8 8
9 #include "CCMathUtil.h" 9 #include "cc/math_util.h"
10 #include "ui/gfx/rect_conversions.h" 10 #include "ui/gfx/rect_conversions.h"
11 #include <public/WebTransformationMatrix.h> 11 #include <public/WebTransformationMatrix.h>
12 #include <vector> 12 #include <vector>
13 13
14 using WebKit::WebTransformationMatrix; 14 using WebKit::WebTransformationMatrix;
15 15
16 static WebTransformationMatrix orthoProjectionMatrix(float left, float right, fl oat bottom, float top) 16 static WebTransformationMatrix orthoProjectionMatrix(float left, float right, fl oat bottom, float top)
17 { 17 {
18 // Use the standard formula to map the clipping frustum to the cube from 18 // Use the standard formula to map the clipping frustum to the cube from
19 // [-1, -1, -1] to [1, 1, 1]. 19 // [-1, -1, -1] to [1, 1, 1].
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 return cc::IntSize(pass->outputRect().size()); 229 return cc::IntSize(pass->outputRect().size());
230 } 230 }
231 231
232 // static 232 // static
233 GLenum CCDirectRenderer::renderPassTextureFormat(const CCRenderPass*) 233 GLenum CCDirectRenderer::renderPassTextureFormat(const CCRenderPass*)
234 { 234 {
235 return GL_RGBA; 235 return GL_RGBA;
236 } 236 }
237 237
238 } 238 }
OLDNEW
« no previous file with comments | « cc/delegated_renderer_layer_impl_unittest.cc ('k') | cc/draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698