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

Side by Side Diff: cc/base/tiling_data.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/tiling_data.h" 5 #include "cc/base/tiling_data.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 #include "ui/gfx/vector2d.h" 10 #include "ui/gfx/vector2d.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 static int ComputeNumTiles(int max_texture_size, int total_size, int border_texe ls) { 14 static int ComputeNumTiles(int max_texture_size, int total_size, int border_texe ls) {
15 if (max_texture_size - 2 * border_texels <= 0) 15 if (max_texture_size - 2 * border_texels <= 0)
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 } 389 }
390 390
391 if (index_y_ > consider_bottom_) 391 if (index_y_ > consider_bottom_)
392 done(); 392 done();
393 } 393 }
394 394
395 return *this; 395 return *this;
396 } 396 }
397 397
398 } // namespace cc 398 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/tiling_data.h ('k') | cc/base/tiling_data_unittest.cc » ('j') | cc/cc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698