Lines Matching defs:src

1334 void copyPixels (const ConstPixelBufferAccess& src, const PixelBufferAccess& dst)
1336 for (int ndx = 0; ndx < src.getWidth(); ndx++)
1337 dst.setPixel(src.getPixelT<T>(ndx, 0, 0), ndx, 0, 0);
1340 void copyGetSetDepth (const ConstPixelBufferAccess& src, const PixelBufferAccess& dst)
1342 for (int ndx = 0; ndx < src.getWidth(); ndx++)
1343 dst.setPixDepth(src.getPixDepth(ndx, 0, 0), ndx, 0, 0);
1346 void copyGetSetStencil (const ConstPixelBufferAccess& src, const PixelBufferAccess& dst)
1348 for (int ndx = 0; ndx < src.getWidth(); ndx++)
1349 dst.setPixStencil(src.getPixStencil(ndx, 0, 0), ndx, 0, 0);
1352 void copyPixels (const ConstPixelBufferAccess& src, const PixelBufferAccess& dst)
1359 copyPixels<float>(src, dst);
1363 copyPixels<deInt32>(src, dst);
1367 copyPixels<deUint32>(src, dst);
1428 void verifyRead (const ConstPixelBufferAccess& src)
1430 const int numPixels = src.getWidth();
1438 res[ndx] = src.getPixelT<T>(ndx, 0, 0);
1440 // \note m_format != src.getFormat() for DS formats, and we specifically need to
1442 getReferenceValues<T>(m_format, src.getFormat(), ref);
1456 void verifyRead (const ConstPixelBufferAccess& src)
1460 const bool isFloat32Or64 = src.getFormat().type == tcu::TextureFormat::FLOAT ||
1461 src.getFormat().type == tcu::TextureFormat::FLOAT64;
1463 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_FLOAT))
1464 verifyRead<float>(src);
1466 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_UNSIGNED_INT) && !isFloat32Or64)
1467 verifyRead<deUint32>(src);
1469 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_SIGNED_INT) && !isFloat32Or64)
1470 verifyRead<deInt32>(src);