Searched refs:tiles (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/cc/resources/
H A Dtile_manager_perftest.cc109 void CreateBinTiles(int count, ManagedTileBin bin, TileBinVector* tiles) { argument
122 tiles->push_back(std::make_pair(tile, bin));
126 void CreateTiles(int count, TileBinVector* tiles) { argument
129 CreateBinTiles(count_per_bin, NOW_BIN, tiles);
130 CreateBinTiles(count_per_bin, SOON_BIN, tiles);
131 CreateBinTiles(count_per_bin, EVENTUALLY_BIN, tiles);
132 CreateBinTiles(count - 3 * count_per_bin, NEVER_BIN, tiles);
141 TileBinVector tiles; local
142 CreateTiles(tile_count, &tiles);
149 Tile* tile = tiles[
[all...]
H A Dprioritized_tile_set_unittest.cc114 // Ensure that tiles in NOW_AND_READY_TO_DRAW_BIN aren't sorted.
123 std::vector<scoped_refptr<Tile> > tiles; local
129 tiles.push_back(tile);
139 EXPECT_TRUE(*it == tiles[i].get());
146 // Ensure that tiles in NOW_BIN are sorted according to BinComparator.
155 std::vector<scoped_refptr<Tile> > tiles; local
161 tiles.push_back(tile);
167 std::sort(tiles.begin(), tiles.end(), BinComparator());
173 EXPECT_TRUE(*it == tiles[
189 std::vector<scoped_refptr<Tile> > tiles; local
224 std::vector<scoped_refptr<Tile> > tiles; local
255 std::vector<scoped_refptr<Tile> > tiles; local
289 std::vector<scoped_refptr<Tile> > tiles; local
323 std::vector<scoped_refptr<Tile> > tiles; local
357 std::vector<scoped_refptr<Tile> > tiles; local
[all...]
H A Dprioritized_tile_set.cc48 void SortBinTiles(ManagedTileBin bin, TileVector* tiles) { argument
59 std::sort(tiles->begin(), tiles->end(), BinComparator());
114 // We can't increment past the end of the tiles.
H A Dtile_manager.h45 // This class manages tiles, deciding which should get rasterized and which
65 // Returns true when visible tiles have been initialized.
89 const std::vector<Tile*>& tiles,
91 for (size_t i = 0; i < tiles.size(); ++i) {
92 ManagedTileState& mts = tiles[i]->managed_state();
99 bytes_releasable_ += BytesConsumedIfAllocated(tiles[i]);
150 PrioritizedTileSet* tiles,
152 void GetTilesWithAssignedBins(PrioritizedTileSet* tiles);
88 InitializeTilesWithResourcesForTesting( const std::vector<Tile*>& tiles, ResourceProvider* resource_provider) argument
H A Dlayer_tiling_data.h43 // Change the tile size. This may invalidate all the existing tiles.
46 // Change the border texel setting. This may invalidate all existing tiles.
50 bool is_empty() const { return has_empty_bounds() || !tiles().size(); }
80 const TileMap& tiles() const { return tiles_; } function in class:cc::LayerTilingData
H A Dpicture_layer_tiling_set_unittest.cc49 // No tiles have resources, so no iter represents a real tile.
80 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
82 tiles, resource_provider.get());
225 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
226 for (size_t i = 0; i < tiles.size(); ++i) {
227 const Tile* tile = tiles[i];
231 << "All tiles must be inside the live tiles rect.";
238 EXPECT_TRUE(*iter) << "The live tiles rect must be full.";
278 std::vector<Tile*> tiles local
[all...]
H A Dtile_manager_unittest.cc80 TileVector tiles; local
92 tiles.push_back(tile);
94 return tiles;
110 int AssignedMemoryCount(const TileVector& tiles) { argument
112 for (TileVector::const_iterator it = tiles.begin();
113 it != tiles.end();
121 int TilesWithLCDCount(const TileVector& tiles) { argument
123 for (TileVector::const_iterator it = tiles.begin();
124 it != tiles.end();
148 // A few tiles o
[all...]
H A Dpicture_pile.cc35 float do_clustering(const std::vector<gfx::Rect>& tiles, argument
47 for (std::vector<gfx::Rect>::const_iterator it = tiles.begin();
48 it != tiles.end();
102 // case of no tiles passed in.
107 // Sort the invalid tiles by y coordinate.
173 // to all tiles that it touches.
189 // Make a list of all invalid tiles; we will attempt to
H A Dtile_manager.cc113 // Determine bin based on three categories of tiles: things we need now,
294 // where top-priority tiles are initialized.
312 // We don't reserve memory for required-for-activation tiles during
314 // have these tiles, and activate after the accelerated gesture.
318 // Use on-demand raster for any required-for-activation tiles that have not
339 // This is only a true indication that all tiles required for
340 // activation are initialized when no tiles are OOM. We need to
342 // memory and in worst case use on-demand raster when tiles
350 void TileManager::GetTilesWithAssignedBins(PrioritizedTileSet* tiles) { argument
360 // For each tree, bin into different categories of tiles
608 AssignGpuMemoryToTiles( PrioritizedTileSet* tiles, TileVector* tiles_that_need_to_be_rasterized) argument
[all...]
H A Dpicture_layer_tiling_unittest.cc72 std::vector<Tile*> tiles = tiling_->AllTilesForTesting(); local
73 for (std::vector<Tile*>::iterator iter = tiles.begin();
74 iter != tiles.end();
504 10000); // max tiles in tile manager
507 // Make the viewport rect empty. All tiles are killed and become zombies.
520 10000); // max tiles in tile manager
544 10000); // max tiles in tile manager
547 // If the visible content rect is empty, it should still have live tiles.
560 10000); // max tiles in tile manager
587 10000); // max tiles i
[all...]
/external/opencv/cv/src/
H A Dcvmoments.cpp197 /* summarizes moment values for all tiles */
199 icvAccumulateMoments( double *tiles, CvSize size, CvSize tile_size, CvMoments * moments ) argument
205 for( x = 0; x < size.width; x += tile_size.width, tiles += 10 )
208 double dxm = dx * tiles[0], dym = dy * tiles[0];
211 moments->m00 += tiles[0];
214 moments->m10 += tiles[1] + dxm;
217 moments->m01 += tiles[2] + dym;
220 moments->m20 += tiles[3] + dx * (tiles[
371 double* tiles = 0; local
[all...]
/external/chromium_org/cc/test/
H A Dfake_picture_layer_impl.cc80 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
81 for (size_t tile_idx = 0; tile_idx < tiles.size(); ++tile_idx) {
82 Tile* tile = tiles[tile_idx];
102 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
103 for (size_t tile_idx = 0; tile_idx < tiles.size(); ++tile_idx) {
104 Tile* tile = tiles[tile_idx];
/external/replicaisland/tools/
H A DExtractPoints.js22 * graphical representations of the collision tiles used by the engine. Each
50 var tiles = new Array();
51 tiles.length = tilesPerRow * tilesPerColumn;
129 tiles[tileIndex] = tile;
139 for (var x = 0; x < tiles.length; x++) {
140 if (tiles[x]) {
141 var tile = tiles[x];
217 for (var x = 0; x < tiles.length; x++) {
218 if (tiles[x]) {
219 var tile = tiles[
[all...]
/external/chromium-trace/trace-viewer/src/cc/
H A Dlayer_viewer_test.js37 var tile = lthi.tiles[0];
/external/chromium_org/cc/layers/
H A Dtiled_layer_impl.cc105 for (LayerTilingData::TileMap::const_iterator iter = tiler_->tiles().begin();
106 iter != tiler_->tiles().end();
124 for (LayerTilingData::TileMap::const_iterator iter = tiler_->tiles().begin();
125 iter != tiler_->tiles().end();
197 // Skip empty tiles.
H A Dtiled_layer.cc28 // Number of rows/columns of tiles to pre-paint.
50 // it has already painted, mark all non-dirty tiles as valid before painting
118 // skinny layers (e.g. scrollbars) that are Nx1 tiles to minimize wasted
119 // texture space but still avoids creating very large tiles.
198 for (LayerTilingData::TileMap::const_iterator iter = tiler_->tiles().begin();
199 iter != tiler_->tiles().end();
209 // Evicted tiles get deleted from both layers
215 // Invalidated tiles are set so they can get different debug colors.
255 iter = tiler_->tiles().begin();
256 iter != tiler_->tiles()
[all...]
H A Dtiled_layer.h54 size_t NumPaintedTiles() { return tiler_->tiles().size(); }
62 // Reset state on tiles that will be used for updating the layer.
H A Dpicture_layer_impl_unittest.cc172 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
173 for (size_t i = 0; i < tiles.size(); ++i)
174 EXPECT_TRUE(tiles[i]->required_for_activation()) << "i: " << i;
175 EXPECT_GT(tiles.size(), 0u);
179 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); local
180 for (size_t i = 0; i < tiles.size(); ++i)
181 EXPECT_FALSE(tiles[i]->required_for_activation()) << "i: " << i;
182 EXPECT_GT(tiles.size(), 0u);
187 // Layer to span 4 raster tiles in x and in y
207 std::vector<Tile*> tiles local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/
H A DCustomFilterMeshGenerator.h53 const IntSize& tiles() const { return m_tiles; } function in class:WebCore::CustomFilterMeshGenerator
/external/chromium_org/gpu/tools/compositor_model_bench/
H A Drender_tree.cc229 if (node->HasKey("tiles")) {
230 if (!VerifyDictionaryEntry(node, "tiles", Value::TYPE_DICTIONARY))
233 node->GetDictionary("tiles", &tiles_dict);
251 ListValue* tiles;
252 tiles_dict->GetList("info", &tiles);
253 for (unsigned int i = 0; i < tiles->GetSize(); ++i) {
254 if (!VerifyListEntry(tiles, i, Value::TYPE_DICTIONARY, "Tile info"))
257 tiles->GetDictionary(i, &tdict);
/external/chromium_org/chrome/browser/resources/local_ntp/
H A Dlocal_ntp.js39 PAGE: 'mv-page', // page tiles
67 TILES: 'mv-tiles',
150 * The array of rendered tiles, ordered by appearance.
153 var tiles = [];
173 * Current number of tiles columns shown based on the window width, including
225 * Margin between tiles. Should be equal to mv-tile's -webkit-margin-start.
250 * section. Used to determine how many tiles to show.
298 * Hide most visited tiles for at most this many milliseconds while painting.
447 // Trigger the blacklist animation and re-render the tiles when it
455 // Otherwise render the tiles usin
[all...]
H A Dlocal_ntp.css65 /* #fakebox width (here and below) should be 2px less than #mv-tiles
127 #mv-tiles {
141 #mv-tiles {
150 #mv-tiles {
181 /* Class applied to tiles to trigger the blacklist animation. */
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/
H A Dmosaic_mode.js147 // The listeners might be called while some tiles are still loading.
270 * Initializes multiple tiles.
272 * @param {Array.<Mosaic.Tile>} tiles Array of tiles.
276 Mosaic.prototype.initTiles_ = function(tiles, opt_callback) {
279 tiles = tiles.slice();
285 if (!tiles.length) {
289 var chunkSize = Math.min(tiles.length, MAX_CHUNK_SIZE);
292 this.initTile_(tiles
[all...]
/external/skia/tools/
H A DPictureRenderingFlags.cpp41 "tile width height: Use tiles with the given dimensions or percentages.\n"
42 "pow2tile minWidth height: Use tiles with widths that are all a power\n"
45 "copyTile width height: Draw the picture, then copy into tiles. If the\n"
46 "\tpicture is large enough, it is broken into larger tiles to avoid\n"
61 DEFINE_string(tiles, "", "Used with --mode copyTile to specify number of tiles per larger tile "
139 error.printf("--tiles requires an x value and a y value.\n");
151 error.printf("--tiles must be given values > 0\n");
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dtile_page.js320 * @param {number} rowTileCount The number of tiles in a row.
322 * will be used as spacing between tiles.
333 * @param {number} numRowTiles The number of tiles in a row.
335 * will be used as spacing between tiles.
356 * Creates a new TilePage object. This object contains tiles and controls
428 // Div that holds the tiles.
439 // Ordered list of our tiles.
471 get tiles() {
580 * animated (other tiles, if they must reposition, do not animate).
624 * Removes the given tile and animates the repositioning of the other tiles
[all...]

Completed in 1262 milliseconds