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

Side by Side Diff: cc/tile.cc

Issue 11369130: [cc] Tiles and tile manager for impl side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixen 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/tile.h ('k') | cc/tile_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "cc/tile.h"
6
7 #include "cc/tile_manager.h"
8
9 namespace cc {
10
11 Tile::Tile(TileManager* tile_manager,
12 gfx::Size tile_size,
13 gfx::Rect rect_inside_picture,
14 TileQuality quality)
15 : tile_manager_(tile_manager),
16 tile_size_(tile_size),
17 rect_inside_picture_(rect_inside_picture),
18 quality_(quality) {
19 tile_manager_->RegisterTile(this);
20 }
21
22 Tile::~Tile() {
23 tile_manager_->UnregisterTile(this);
24 }
25
26 } // namespace cc
OLDNEW
« no previous file with comments | « cc/tile.h ('k') | cc/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698