Home
last modified time | relevance | path

Searched refs:kBmpSmallTileSize (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp103 static const int kBmpSmallTileSize = 1 << 10; variable
112 if (maxTileSize <= kBmpSmallTileSize) { in determine_tile_size()
117 size_t smallTotalTileSize = get_tile_count(src, kBmpSmallTileSize); in determine_tile_size()
120 smallTotalTileSize *= kBmpSmallTileSize * kBmpSmallTileSize; in determine_tile_size()
123 return kBmpSmallTileSize; in determine_tile_size()
181 if (area < 4 * kBmpSmallTileSize * kBmpSmallTileSize) { in should_tile_image_id()
209 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in should_tile_image_id()
210 size_t usedTileBytes = get_tile_count(*clippedSubset, kBmpSmallTileSize) * in should_tile_image_id()
211 kBmpSmallTileSize * kBmpSmallTileSize * in should_tile_image_id()