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

Side by Side Diff: cc/trees/layer_tree_host.cc

Issue 16304003: Unified OutputSurface::SwapBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 205473 Created 7 years, 6 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/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.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 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/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <stack> 8 #include <stack>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 30 matching lines...) Expand all
41 namespace { 41 namespace {
42 static int s_num_layer_tree_instances; 42 static int s_num_layer_tree_instances;
43 } 43 }
44 44
45 namespace cc { 45 namespace cc {
46 46
47 RendererCapabilities::RendererCapabilities() 47 RendererCapabilities::RendererCapabilities()
48 : best_texture_format(0), 48 : best_texture_format(0),
49 using_partial_swap(false), 49 using_partial_swap(false),
50 using_set_visibility(false), 50 using_set_visibility(false),
51 using_swap_complete_callback(false),
52 using_gpu_memory_manager(false), 51 using_gpu_memory_manager(false),
53 using_egl_image(false), 52 using_egl_image(false),
54 allow_partial_texture_updates(false), 53 allow_partial_texture_updates(false),
55 using_offscreen_context3d(false), 54 using_offscreen_context3d(false),
56 max_texture_size(0), 55 max_texture_size(0),
57 avoid_pow2_textures(false), 56 avoid_pow2_textures(false),
58 using_map_image(false) {} 57 using_map_image(false) {}
59 58
60 RendererCapabilities::~RendererCapabilities() {} 59 RendererCapabilities::~RendererCapabilities() {}
61 60
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 bool start_ready_animations = true; 1080 bool start_ready_animations = true;
1082 (*iter).second->UpdateState(start_ready_animations, NULL); 1081 (*iter).second->UpdateState(start_ready_animations, NULL);
1083 } 1082 }
1084 } 1083 }
1085 1084
1086 skia::RefPtr<SkPicture> LayerTreeHost::CapturePicture() { 1085 skia::RefPtr<SkPicture> LayerTreeHost::CapturePicture() {
1087 return proxy_->CapturePicture(); 1086 return proxy_->CapturePicture();
1088 } 1087 }
1089 1088
1090 } // namespace cc 1089 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698