HomeSort by relevance Sort by last modified time
    Searched refs:bufferAge (Results 1 - 6 of 6) sorted by null

  /external/deqp/modules/egl/
teglNegativePartialUpdateTests.cpp 244 int bufferAge = -1;
251 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge));
286 int bufferAge = impossibleBufferAge;
294 expectFalse(wrapper.eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge));
297 if (bufferAge != impossibleBufferAge)
299 log << tcu::TestLog::Message << "On failure, eglQuerySurface shouldn't change buffer age but buffer age has been changed to " << bufferAge << tcu::TestLog::EndMessage;
300 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Fail, bufferAge shouldn't be changed");
313 expectFalse(wrapper.eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge));
316 if (bufferAge != impossibleBufferAge)
318 log << tcu::TestLog::Message << "On failure, eglQuerySurface shouldn't change buffer age but buffer age has been changed to " << bufferAge << tcu::TestLog::EndMessage
    [all...]
teglSwapBuffersWithDamageTests.cpp 589 int bufferAge = -1;
593 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_EXT, &bufferAge));
595 if (bufferAge < 0) // invalid buffer age
598 stream << "Fail, the age is invalid. Age: " << bufferAge << ", frameNdx: " << frameNdx;
603 if (bufferAge == 0 || bufferAge > frameNdx)
609 startFrameNdx = frameNdx-bufferAge+1;
teglPartialUpdateTests.cpp 695 EGLint bufferAge = -1;
698 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge));
757 EGLint bufferAge = -1;
761 EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge));
  /frameworks/base/libs/hwui/renderthread/
EglManager.cpp 66 bool bufferAge = false;
118 if (Properties::useBufferAge && EglExtensions.bufferAge) {
119 mSwapBehavior = SwapBehavior::BufferAge;
137 EglExtensions.bufferAge = extensions.has("EGL_EXT_buffer_age");
293 case SwapBehavior::BufferAge:
294 EGLint bufferAge;
295 eglQuerySurface(mEglDisplay, surface, EGL_BUFFER_AGE_EXT, &bufferAge);
296 return bufferAge;
316 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) {
328 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge;
    [all...]
EglManager.h 39 EGLint bufferAge() const { return mBufferAge; }
116 BufferAge,
CanvasContext.cpp 361 } else if (mHaveNewSurface || frame.bufferAge() == 0) {
386 if (frame.bufferAge() > 1) {
387 if (frame.bufferAge() > (int) mSwapHistory.size()) {
396 i > ((int) mSwapHistory.size()) - frame.bufferAge(); i--) {

Completed in 353 milliseconds