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

Side by Side Diff: cc/layer_tree_host.cc

Issue 11794019: Avoid exposing gl bindings through cc public API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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/layer_tree_host.h ('k') | cc/layer_tree_host_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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/layer_tree_host.h" 5 #include "cc/layer_tree_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "cc/animation_registrar.h" 12 #include "cc/animation_registrar.h"
13 #include "cc/font_atlas.h" 13 #include "cc/font_atlas.h"
14 #include "cc/heads_up_display_layer.h" 14 #include "cc/heads_up_display_layer.h"
15 #include "cc/heads_up_display_layer_impl.h" 15 #include "cc/heads_up_display_layer_impl.h"
16 #include "cc/layer.h" 16 #include "cc/layer.h"
17 #include "cc/layer_animation_controller.h" 17 #include "cc/layer_animation_controller.h"
18 #include "cc/layer_iterator.h" 18 #include "cc/layer_iterator.h"
19 #include "cc/layer_tree_host_client.h" 19 #include "cc/layer_tree_host_client.h"
20 #include "cc/layer_tree_host_common.h" 20 #include "cc/layer_tree_host_common.h"
21 #include "cc/layer_tree_host_impl.h" 21 #include "cc/layer_tree_host_impl.h"
22 #include "cc/layer_tree_impl.h" 22 #include "cc/layer_tree_impl.h"
23 #include "cc/math_util.h" 23 #include "cc/math_util.h"
24 #include "cc/occlusion_tracker.h" 24 #include "cc/occlusion_tracker.h"
25 #include "cc/overdraw_metrics.h" 25 #include "cc/overdraw_metrics.h"
26 #include "cc/prioritized_resource_manager.h"
26 #include "cc/single_thread_proxy.h" 27 #include "cc/single_thread_proxy.h"
27 #include "cc/switches.h" 28 #include "cc/switches.h"
28 #include "cc/thread.h" 29 #include "cc/thread.h"
29 #include "cc/thread_proxy.h" 30 #include "cc/thread_proxy.h"
30 #include "cc/tree_synchronizer.h" 31 #include "cc/tree_synchronizer.h"
31 32
32 namespace { 33 namespace {
33 static int numLayerTreeInstances; 34 static int numLayerTreeInstances;
34 } 35 }
35 36
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 else 884 else
884 layer->notifyAnimationFinished(wallClockTime.ToDoubleT()); 885 layer->notifyAnimationFinished(wallClockTime.ToDoubleT());
885 } 886 }
886 } 887 }
887 888
888 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 889 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
889 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 890 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
890 } 891 }
891 892
892 } // namespace cc 893 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698