Searched refs:currentBufferAge (Results 1 – 2 of 2) sorted by relevance
/external/deqp/modules/egl/ |
D | teglBufferAgeTests.cpp | 512 EGLint currentBufferAge = -1; in iterate() local 521 …U_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_EXT, ¤tBufferAge)); in iterate() 523 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate() 526 stream << "Fail, the age is invalid. Age: " << currentBufferAge << ", frameNdx: " << frameNdx; in iterate() 531 if (frameNdx > 0 && m_preserveColorBuffer && currentBufferAge != 1) in iterate() 534 …stream << "Fail, EGL_BUFFER_PRESERVED is set to true, but buffer age is: " << currentBufferAge << … in iterate() 539 bufferAges.push_back(currentBufferAge); in iterate() 545 if (currentBufferAge == 0) in iterate() 572 if (currentBufferAge > 0) //buffer contain previous content, need to verify in iterate() 581 …if (compareToReference(log, refBuffer, currentBuffer, frameNdx, frameNdx-currentBufferAge) == fals… in iterate()
|
D | teglPartialUpdateTests.cpp | 510 EGLint currentBufferAge = -1; in iterate() local 519 …U_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, ¤tBufferAge)); in iterate() 521 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate() 524 stream << "Fail, the age is invalid. Age: " << currentBufferAge << ", frameNdx: " << frameNdx; in iterate() 529 bufferAges.push_back(currentBufferAge); in iterate() 532 if (currentBufferAge > 0) in iterate()
|