HomeSort by relevance Sort by last modified time
    Searched refs:numTilesX (Results 1 - 3 of 3) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/gpu/
TilingData.h 53 int numTiles() const { return numTilesX() * numTilesY(); }
54 int numTilesX() const { return m_numTilesX; }
56 int tileIndex(int x, int y) const { return x + y * numTilesX(); }
57 int tileXIndex(int tile) const { assertTile(tile); return tile % numTilesX(); }
58 int tileYIndex(int tile) const { assertTile(tile); return tile / numTilesX(); }
TilingData.cpp 79 return min(max(x, 0), numTilesX() - 1);
114 if (tileXIndex(tile) < (numTilesX() - 1))
137 ASSERT(xIndex >= 0 && xIndex < numTilesX());
159 ASSERT(xIndex >= 0 && xIndex < numTilesX());
165 if (xIndex < numTilesX() - 1)
167 if (xIndex == numTilesX() - 1)
  /external/webkit/Source/WebKit/chromium/tests/
TilingDataTest.cpp 374 EXPECT_EQ(1, data.numTilesX());
382 EXPECT_EQ(2, data.numTilesX());
391 EXPECT_EQ(1, data.numTilesX());
402 EXPECT_EQ(2, data.numTilesX());
407 EXPECT_EQ(1, data.numTilesX());
412 EXPECT_EQ(8, data.numTilesX());
417 EXPECT_EQ(4, data.numTilesX());
424 EXPECT_EQ(3, data.numTilesX());
429 EXPECT_EQ(1, data.numTilesX());
434 EXPECT_EQ(0, data.numTilesX());
    [all...]

Completed in 38 milliseconds