From: Christian Poetzsch Date: Mon, 14 Sep 2015 14:20:43 +0000 (+0100) Subject: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED X-Git-Tag: upstream/0.1.0~1374 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a60dea67360b3fd0d4907eb1885ed94de07dbba8;p=platform%2Fupstream%2FVK-GL-CTS.git Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED Some new tests missing the call to set the BUFFERED_DESTROYED swap behavior. Change-Id: I2856833d78b9d4763614f68e42eb31194cfe7715 --- diff --git a/modules/egl/teglPartialUpdateTests.cpp b/modules/egl/teglPartialUpdateTests.cpp index ce48157..33ff3ea 100644 --- a/modules/egl/teglPartialUpdateTests.cpp +++ b/modules/egl/teglPartialUpdateTests.cpp @@ -677,6 +677,8 @@ TestCase::IterateResult RenderOutsideDamageRegion::iterate (void) tcu::Surface refBuffer (width, height); Frame frame (width, height); + EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED)); + generateRandomFrame(frame, m_evenFrameDrawType, rnd); { @@ -737,6 +739,8 @@ TestCase::IterateResult RenderBeforeSetDamageRegion::iterate (void) tcu::Surface refBuffer (width, height); Frame frame (width, height); + EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED)); + generateRandomFrame(frame, m_evenFrameDrawType, rnd); {