Lines Matching refs:result

149 	virtual bool compare (const tcu::Surface& reference, const tcu::Surface& result)
153 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference, result, threshold, tcu::COMPARE_LOG_RESULT);
172 bool compare (const tcu::Surface& reference, const tcu::Surface& result);
180 bool BlitNearestFilterConsistencyCase::compare (const tcu::Surface& reference, const tcu::Surface& result)
182 DE_ASSERT(reference.getWidth() == result.getWidth());
183 DE_ASSERT(reference.getHeight() == result.getHeight());
193 const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth()),
194 de::clamp(de::min(m_dstRect.y(), m_dstRect.w()), 0, result.getHeight()),
195 de::clamp(de::max(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth()),
196 de::clamp(de::max(m_dstRect.y(), m_dstRect.w()), 0, result.getHeight()));
197 const tcu::RGBA baseColor = result.getPixel(destinationArea.x(), destinationArea.y());
201 tcu::Surface errorMask (result.getWidth(), result.getHeight());
214 << "Blitting a grid (with uniform sized cells) should result in a grid (with non-uniform sized cells)."
222 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y() + dy);
238 << tcu::TestLog::ImageSet("Result", "Image verification result")
239 << tcu::TestLog::Image("Result", "Result", result)
245 // Detect result edges by reading the first row and first column of the blitted area.
246 // Blitting a grid should result in a grid-like image. ("sign changes" should be consistent)
250 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y());
261 const tcu::RGBA color = result.getPixel(destinationArea.x(), destinationArea.y() + dy);
276 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y() + dy);
287 // Report result
295 << tcu::TestLog::ImageSet("Result", "Image verification result")
296 << tcu::TestLog::Image("Result", "Result", result)
306 << tcu::TestLog::ImageSet("Result", "Image verification result")
307 << tcu::TestLog::Image("Result", "Result", result)
428 bool compare (const tcu::Surface& reference, const tcu::Surface& result)
450 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference, result, threshold, tcu::COMPARE_LOG_RESULT);
706 bool compare (const tcu::Surface& reference, const tcu::Surface& result)
712 return tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference.getAccess(), result.getAccess(), threshold, tcu::COMPARE_LOG_RESULT);