Searched refs:floatRowBytes (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/tests/ |
D | TestUtils.cpp | 207 size_t floatRowBytes = floatBpp * infoA.width(); in compare_pixels() local 208 std::unique_ptr<char[]> floatA(new char[floatRowBytes * infoA.height()]); in compare_pixels() 209 std::unique_ptr<char[]> floatB(new char[floatRowBytes * infoA.height()]); in compare_pixels() 210 SkAssertResult(GrConvertPixels(floatInfo, floatA.get(), floatRowBytes, infoA, a, rowBytesA)); in compare_pixels() 211 SkAssertResult(GrConvertPixels(floatInfo, floatB.get(), floatRowBytes, infoB, b, rowBytesB)); in compare_pixels() 213 auto at = [floatBpp, floatRowBytes](const char* floatBuffer, int x, int y) { in compare_pixels() 214 return reinterpret_cast<const float*>(floatBuffer + y * floatRowBytes + x * floatBpp); in compare_pixels()
|
/third_party/skia/tests/ |
D | TestUtils.cpp | 227 size_t floatRowBytes = floatBpp * pixmap.width(); in CheckSolidPixels() local 228 std::unique_ptr<char[]> floatB(new char[floatRowBytes * pixmap.height()]); in CheckSolidPixels()
|