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

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

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/layer_quad.h » ('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 <set> 7 #include <set>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
12 #include "cc/base/math_util.h" 12 #include "cc/base/math_util.h"
13 #include "cc/output/compositor_frame_metadata.h" 13 #include "cc/output/compositor_frame_metadata.h"
14 #include "cc/output/copy_output_request.h" 14 #include "cc/output/copy_output_request.h"
15 #include "cc/output/copy_output_result.h" 15 #include "cc/output/copy_output_result.h"
16 #include "cc/output/overlay_strategy_single_on_top.h" 16 #include "cc/output/overlay_strategy_single_on_top.h"
17 #include "cc/output/texture_mailbox_deleter.h"
17 #include "cc/quads/texture_draw_quad.h" 18 #include "cc/quads/texture_draw_quad.h"
18 #include "cc/resources/resource_provider.h" 19 #include "cc/resources/resource_provider.h"
19 #include "cc/resources/texture_mailbox_deleter.h"
20 #include "cc/test/fake_impl_proxy.h" 20 #include "cc/test/fake_impl_proxy.h"
21 #include "cc/test/fake_layer_tree_host_impl.h" 21 #include "cc/test/fake_layer_tree_host_impl.h"
22 #include "cc/test/fake_output_surface.h" 22 #include "cc/test/fake_output_surface.h"
23 #include "cc/test/fake_output_surface_client.h" 23 #include "cc/test/fake_output_surface_client.h"
24 #include "cc/test/fake_renderer_client.h" 24 #include "cc/test/fake_renderer_client.h"
25 #include "cc/test/pixel_test.h" 25 #include "cc/test/pixel_test.h"
26 #include "cc/test/render_pass_test_common.h" 26 #include "cc/test/render_pass_test_common.h"
27 #include "cc/test/render_pass_test_utils.h" 27 #include "cc/test/render_pass_test_utils.h"
28 #include "cc/test/test_shared_bitmap_manager.h" 28 #include "cc/test/test_shared_bitmap_manager.h"
29 #include "cc/test/test_web_graphics_context_3d.h" 29 #include "cc/test/test_web_graphics_context_3d.h"
(...skipping 2294 matching lines...) Expand 10 before | Expand all | Expand 10 after
2324 EXPECT_CALL(overlay_scheduler, 2324 EXPECT_CALL(overlay_scheduler,
2325 Schedule(1, gfx::OVERLAY_TRANSFORM_NONE, _, viewport_rect, 2325 Schedule(1, gfx::OVERLAY_TRANSFORM_NONE, _, viewport_rect,
2326 BoundingRect(uv_top_left, uv_bottom_right))).Times(1); 2326 BoundingRect(uv_top_left, uv_bottom_right))).Times(1);
2327 2327
2328 renderer.DrawFrame(&render_passes_in_draw_order_, 1.f, viewport_rect, 2328 renderer.DrawFrame(&render_passes_in_draw_order_, 1.f, viewport_rect,
2329 viewport_rect, false); 2329 viewport_rect, false);
2330 } 2330 }
2331 2331
2332 } // namespace 2332 } // namespace
2333 } // namespace cc 2333 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/layer_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698