Lines Matching refs:pixels
59 // leaving the pixels uninitialized, as they don't affect the test...
88 // leaving the pixels uninitialized, as they don't affect the test...
101 * Make sure that if you compress a texture with alternating black/white pixels, and
120 // Populate the pixels
122 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr());
123 REPORTER_ASSERT(reporter, pixels);
124 if (nullptr == pixels) {
131 pixels[x] = 0xFF;
133 pixels[x] = 0;
136 pixels += pixmap.rowBytes();
169 const uint8_t* pixels = reinterpret_cast<const uint8_t*>(pixmap.addr());
170 REPORTER_ASSERT(reporter, pixels);
171 if (nullptr == pixels) {
177 bool ok = pixels[y*pixmap.rowBytes() + x] == decompBuffer[y*kWidth + x];
209 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr());
211 pixels[i] = lum;