Lines Matching refs:data
182 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]);
185 data[j * kW + i] = (0xFF << 24) | (i << 16) | (i << 8) | i;
188 return data;
219 auto data = make_data();
220 GrCPixmap dataPM(writeII, data.get(), kW*sizeof(uint32_t));
230 testName.printf("write %s data to a %s context and read as %s.", encoding_as_str(writeEncoding),
232 read_and_check_pixels(reporter, dContext, surfaceContext.get(), data.get(), readII, check,
247 // precision variation because the sRGB data gets converted to linear and back in
252 // Write sRGB data to a sRGB context - no conversion on the write.
265 // Untagged source data should be interpreted as sRGB.
270 // Write linear data to a sRGB context. It gets converted to sRGB on write. The reads
271 // are all the same as the above cases where the original data was untagged.
281 // Write data to an untagged context. The write does no conversion no matter what encoding the
282 // src data has.
297 // Write sRGB data to a linear context - converts to sRGB on the write.
302 // Reading untagged data from linear currently does no conversion.
309 // Untagged source data should be interpreted as sRGB.
314 // Write linear data to a linear context. Does no conversion.