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

Side by Side Diff: cc/layer_tree_host.cc

Issue 11365239: cc: Add support for debugging layer borders directly in the compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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/render_pass.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 "cc/font_atlas.h" 10 #include "cc/font_atlas.h"
(...skipping 20 matching lines...) Expand all
31 namespace { 31 namespace {
32 static int numLayerTreeInstances; 32 static int numLayerTreeInstances;
33 } 33 }
34 34
35 namespace cc { 35 namespace cc {
36 36
37 bool LayerTreeHost::s_needsFilterContext = false; 37 bool LayerTreeHost::s_needsFilterContext = false;
38 38
39 LayerTreeSettings::LayerTreeSettings() 39 LayerTreeSettings::LayerTreeSettings()
40 : acceleratePainting(false) 40 : acceleratePainting(false)
41 , showDebugBorders(false)
41 , showPlatformLayerTree(false) 42 , showPlatformLayerTree(false)
42 , showPaintRects(false) 43 , showPaintRects(false)
43 , showPropertyChangedRects(false) 44 , showPropertyChangedRects(false)
44 , showSurfaceDamageRects(false) 45 , showSurfaceDamageRects(false)
45 , showScreenSpaceRects(false) 46 , showScreenSpaceRects(false)
46 , showReplicaScreenSpaceRects(false) 47 , showReplicaScreenSpaceRects(false)
47 , showOccludingRects(false) 48 , showOccludingRects(false)
48 , renderVSyncEnabled(true) 49 , renderVSyncEnabled(true)
49 , perTilePaintingEnabled(false) 50 , perTilePaintingEnabled(false)
50 , partialSwapEnabled(false) 51 , partialSwapEnabled(false)
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 else 853 else
853 layer->notifyAnimationFinished(wallClockTime.ToDoubleT()); 854 layer->notifyAnimationFinished(wallClockTime.ToDoubleT());
854 } 855 }
855 } 856 }
856 857
857 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 858 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
858 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 859 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
859 } 860 }
860 861
861 } // namespace cc 862 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698