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

  /external/skqp/tests/
ReadWriteAlphaTest.cpp 89 size_t nonZeroRowBytes = rowBytes ? rowBytes : X_SIZE;
90 std::unique_ptr<uint8_t[]> readback(new uint8_t[nonZeroRowBytes * Y_SIZE]);
92 memset(readback.get(), kClearValue, nonZeroRowBytes * Y_SIZE);
101 validate_alpha_data(reporter, X_SIZE, Y_SIZE, readback.get(), nonZeroRowBytes,
116 memset(readback.get(), kClearValue, nonZeroRowBytes * Y_SIZE);
117 result = surf->readPixels(ii, readback.get(), nonZeroRowBytes, 0, 0);
123 uint8_t rbValue = readback.get()[y * nonZeroRowBytes + x];
185 size_t nonZeroRowBytes = rowBytes ? rowBytes : X_SIZE;
187 std::unique_ptr<uint8_t[]> readback(new uint8_t[nonZeroRowBytes * Y_SIZE]);
189 memset(readback.get(), kClearValue, nonZeroRowBytes * Y_SIZE)
    [all...]
  /external/skia/tests/
ReadWriteAlphaTest.cpp 95 size_t nonZeroRowBytes = rowBytes ? rowBytes : X_SIZE;
96 size_t bufLen = nonZeroRowBytes * Y_SIZE;
108 validate_alpha_data(reporter, X_SIZE, Y_SIZE, readback.get(), nonZeroRowBytes,
131 result = surf->readPixels(ii, readback.get(), nonZeroRowBytes, 0, 0);
137 uint8_t rbValue = readback.get()[y * nonZeroRowBytes + x];
204 size_t nonZeroRowBytes = rowBytes ? rowBytes : X_SIZE;
206 std::unique_ptr<uint8_t[]> readback(new uint8_t[nonZeroRowBytes * Y_SIZE]);
208 memset(readback.get(), kClearValue, nonZeroRowBytes * Y_SIZE);
217 validate_alpha_data(reporter, X_SIZE, Y_SIZE, readback.get(), nonZeroRowBytes,

Completed in 64 milliseconds