OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fXTiles
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/src/core/
SkTileGrid.h
50
int tileCount(int x, int y) { return fTiles[y *
fXTiles
+ x].count(); }
58
const int
fXTiles
, fYTiles;
62
// (
fXTiles
* fYTiles) SkTDArrays, each listing data overlapping that tile in insertion order.
SkTileGrid.cpp
11
:
fXTiles
(xTiles)
40
{ 0, 0, fInfo.fTileInterval.width() *
fXTiles
, fInfo.fTileInterval.height() * fYTiles };
47
int minX = SkMax32(0, SkMin32(dilatedBounds.left() / fInfo.fTileInterval.width(),
fXTiles
- 1));
50
fXTiles
- 1));
57
fTiles[y *
fXTiles
+ x].push(entry);
91
// Logically, we could pin endX to [startX,
fXTiles
], but we force it
92
// up to (startX,
fXTiles
] to make sure we hit at least one tile.
95
startX = SkPin32(startX, 0,
fXTiles
- 1);
97
endX = SkPin32(endX, startX + 1,
fXTiles
);
105
const SkTDArray<Entry>& tile = fTiles[startY *
fXTiles
+ startX]
[
all
...]
Completed in 99 milliseconds