Lines Matching defs:damageRegion
478 vector<EGLint> damageRegion;
482 damageRegion.push_back(rect.bottomLeft.x() - marginLeft);
483 damageRegion.push_back(rect.bottomLeft.y() - marginBottom);
484 damageRegion.push_back(rect.topRight.x() - rect.bottomLeft.x() + marginLeft + marginRight);
485 damageRegion.push_back(rect.topRight.y() - rect.bottomLeft.y() + marginBottom + marginTop);
488 DE_ASSERT(damageRegion.size() % 4 == 0);
489 return damageRegion;
539 vector<EGLint> damageRegion;
545 damageRegion = getDamageRegion(newFrame, 10, 10, 10, 10);
549 damageRegion = getDamageRegion(newFrame, 0, 0, 0, 0);
554 if (damageRegion.size() == 0)
555 damageRegion = vector<EGLint>(4, 0);
557 EGLU_CHECK_CALL(egl, setDamageRegionKHR(m_eglDisplay, m_eglSurface, &damageRegion[0], (EGLint)damageRegion.size()/4));
706 vector<EGLint> damageRegion = getDamageRegion(frame, 0, 0, 0, 0);
709 EGLU_CHECK_CALL(egl, setDamageRegionKHR(m_eglDisplay, m_eglSurface, &damageRegion[0], (EGLint)damageRegion.size()/4));
727 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Fail, fail to recover after rendering outside damageRegion");
768 vector<EGLint> damageRegion = getDamageRegion(frame, 0, 0, 0, 0);
772 EGLU_CHECK_CALL(egl, setDamageRegionKHR(m_eglDisplay, m_eglSurface, &damageRegion[0], (EGLint)damageRegion.size()/4));