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

Side by Side Diff: cc/picture_layer_impl.cc.orig

Issue 11418250: [cc] Track the rendering & painting cost of impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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/picture.cc ('k') | cc/picture_layer_impl.cc.rej » ('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/picture_layer_impl.h" 5 #include "cc/picture_layer_impl.h"
6 6
7 #include "cc/append_quads_data.h" 7 #include "cc/append_quads_data.h"
8 #include "cc/checkerboard_draw_quad.h" 8 #include "cc/checkerboard_draw_quad.h"
9 #include "cc/debug_border_draw_quad.h" 9 #include "cc/debug_border_draw_quad.h"
10 #include "cc/debug_colors.h" 10 #include "cc/debug_colors.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 rect.size(), 144 rect.size(),
145 GL_RGBA, 145 GL_RGBA,
146 rect)); 146 rect));
147 } 147 }
148 148
149 void PictureLayerImpl::SyncFromActiveLayer(const PictureLayerImpl* other) { 149 void PictureLayerImpl::SyncFromActiveLayer(const PictureLayerImpl* other) {
150 tilings_.CloneFrom(other->tilings_); 150 tilings_.CloneFrom(other->tilings_);
151 } 151 }
152 152
153 } // namespace cc 153 } // namespace cc
OLDNEW
« no previous file with comments | « cc/picture.cc ('k') | cc/picture_layer_impl.cc.rej » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698