Home
last modified time | relevance | path

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

/third_party/skia/tests/
DTestUtils.cpp184 GrPixmap floatA = GrPixmap::Allocate(floatInfo); in ComparePixels() local
186 SkAssertResult(GrConvertPixels(floatA, a)); in ComparePixels()
189 SkASSERT(floatA.rowBytes() == floatB.rowBytes()); in ComparePixels()
190 auto at = [rb = floatA.rowBytes()](const void* base, int x, int y) { in ComparePixels()
194 for (int y = 0; y < floatA.height(); ++y) { in ComparePixels()
195 for (int x = 0; x < floatA.width(); ++x) { in ComparePixels()
196 const float* rgbaA = at(floatA.addr(), x, y); in ComparePixels()
/third_party/flutter/skia/tests/
DTestUtils.cpp208 std::unique_ptr<char[]> floatA(new char[floatRowBytes * infoA.height()]); in compare_pixels() local
210 SkAssertResult(GrConvertPixels(floatInfo, floatA.get(), floatRowBytes, infoA, a, rowBytesA)); in compare_pixels()
218 const float* rgbaA = at(floatA.get(), x, y); in compare_pixels()