Searched refs:currentBufferAge (Results 1 – 2 of 2) sorted by relevance
/external/deqp/modules/egl/ |
D | teglBufferAgeTests.cpp | 508 EGLint currentBufferAge = -1; in iterate() local 517 …U_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_EXT, ¤tBufferAge)); in iterate() 519 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate() 522 stream << "Fail, the age is invalid. Age: " << currentBufferAge << ", frameNdx: " << frameNdx; in iterate() 527 if (frameNdx > 0 && m_preserveColorBuffer && currentBufferAge != 1) in iterate() 530 …stream << "Fail, EGL_BUFFER_PRESERVED is set to true, but buffer age is: " << currentBufferAge << … in iterate() 535 bufferAges.push_back(currentBufferAge); in iterate() 541 if (currentBufferAge == 0) in iterate() 568 if (currentBufferAge > 0) //buffer contain previous content, need to verify in iterate() 577 …if (compareToReference(log, refBuffer, currentBuffer, frameNdx, frameNdx-currentBufferAge) == fals… in iterate()
|
D | teglPartialUpdateTests.cpp | 506 EGLint currentBufferAge = -1; in iterate() local 515 …U_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, ¤tBufferAge)); in iterate() 517 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate() 520 stream << "Fail, the age is invalid. Age: " << currentBufferAge << ", frameNdx: " << frameNdx; in iterate() 525 bufferAges.push_back(currentBufferAge); in iterate() 528 if (currentBufferAge > 0) in iterate()
|