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

Side by Side Diff: cc/output/gl_renderer_pixeltest.cc

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/output/gl_renderer.cc ('k') | cc/output/gl_renderer_unittest.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 "cc/output/gl_renderer.h" 5 #include "cc/output/gl_renderer.h"
6 6
7 #include "cc/quads/draw_quad.h" 7 #include "cc/quads/draw_quad.h"
8 #include "cc/test/pixel_test.h" 8 #include "cc/test/pixel_test.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 gfx::RectF(), // mask_uv_rect 62 gfx::RectF(), // mask_uv_rect
63 WebKit::WebFilterOperations(), // foreground filters 63 WebKit::WebFilterOperations(), // foreground filters
64 skia::RefPtr<SkImageFilter>(), // foreground filter 64 skia::RefPtr<SkImageFilter>(), // foreground filter
65 WebKit::WebFilterOperations()); // background filters 65 WebKit::WebFilterOperations()); // background filters
66 66
67 return quad.PassAs<DrawQuad>(); 67 return quad.PassAs<DrawQuad>();
68 } 68 }
69 69
70 70
71 #if !defined(OS_ANDROID) 71 #if !defined(OS_ANDROID)
72 TEST_F(GLRendererPixelTest, simpleGreenRect) { 72 TEST_F(GLRendererPixelTest, SimpleGreenRect) {
73 gfx::Rect rect(device_viewport_size_); 73 gfx::Rect rect(device_viewport_size_);
74 74
75 RenderPass::Id id(1, 1); 75 RenderPass::Id id(1, 1);
76 scoped_ptr<RenderPass> pass = CreateTestRootRenderPass(id, rect); 76 scoped_ptr<RenderPass> pass = CreateTestRootRenderPass(id, rect);
77 77
78 gfx::Transform content_to_target_transform; 78 gfx::Transform content_to_target_transform;
79 scoped_ptr<SharedQuadState> shared_state = 79 scoped_ptr<SharedQuadState> shared_state =
80 CreateTestSharedQuadState(content_to_target_transform, rect); 80 CreateTestSharedQuadState(content_to_target_transform, rect);
81 81
82 scoped_ptr<SolidColorDrawQuad> color_quad = SolidColorDrawQuad::Create(); 82 scoped_ptr<SolidColorDrawQuad> color_quad = SolidColorDrawQuad::Create();
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 renderer_->DrawFrame(pass_list); 317 renderer_->DrawFrame(pass_list);
318 318
319 EXPECT_TRUE(PixelsMatchReference( 319 EXPECT_TRUE(PixelsMatchReference(
320 base::FilePath(FILE_PATH_LITERAL("anti_aliasing.png")))); 320 base::FilePath(FILE_PATH_LITERAL("anti_aliasing.png"))));
321 } 321 }
322 #endif 322 #endif
323 323
324 } // namespace 324 } // namespace
325 } // namespace cc 325 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698