| OLD | NEW |
| 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" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 namespace cc { | 37 namespace cc { |
| 38 | 38 |
| 39 RendererCapabilities::RendererCapabilities() | 39 RendererCapabilities::RendererCapabilities() |
| 40 : bestTextureFormat(0) | 40 : bestTextureFormat(0) |
| 41 , usingPartialSwap(false) | 41 , usingPartialSwap(false) |
| 42 , usingAcceleratedPainting(false) | 42 , usingAcceleratedPainting(false) |
| 43 , usingSetVisibility(false) | 43 , usingSetVisibility(false) |
| 44 , usingSwapCompleteCallback(false) | 44 , usingSwapCompleteCallback(false) |
| 45 , usingGpuMemoryManager(false) | 45 , usingGpuMemoryManager(false) |
| 46 , usingDiscardBackbuffer(false) | |
| 47 , usingEglImage(false) | 46 , usingEglImage(false) |
| 48 , allowPartialTextureUpdates(false) | 47 , allowPartialTextureUpdates(false) |
| 49 , usingOffscreenContext3d(false) | 48 , usingOffscreenContext3d(false) |
| 50 , maxTextureSize(0) | 49 , maxTextureSize(0) |
| 51 , avoidPow2Textures(false) | 50 , avoidPow2Textures(false) |
| 52 { | 51 { |
| 53 } | 52 } |
| 54 | 53 |
| 55 RendererCapabilities::~RendererCapabilities() | 54 RendererCapabilities::~RendererCapabilities() |
| 56 { | 55 { |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) | 879 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) |
| 881 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); | 880 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); |
| 882 } | 881 } |
| 883 | 882 |
| 884 skia::RefPtr<SkPicture> LayerTreeHost::capturePicture() | 883 skia::RefPtr<SkPicture> LayerTreeHost::capturePicture() |
| 885 { | 884 { |
| 886 return m_proxy->capturePicture(); | 885 return m_proxy->capturePicture(); |
| 887 } | 886 } |
| 888 | 887 |
| 889 } // namespace cc | 888 } // namespace cc |
| OLD | NEW |