Home | History | Annotate | Download | only in GLESUnitTests

Lines Matching refs:pbuffer

1551 		// Make a PBuffer from it using the EGL_ANGLE_iosurface_client_buffer extension
1563 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, buffer, getConfig(), attribs);
1564 EXPECT_NE(EGL_NO_SURFACE, pbuffer);
1565 return pbuffer;
1568 void bindIOSurfaceToTexture(EGLClientBuffer buffer, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer, GLuint *texture) const
1570 *pbuffer = createIOSurfacePbuffer(buffer, width, height, plane, internalFormat, type);
1572 // Bind the pbuffer
1574 EGLBoolean result = eglBindTexImage(getDisplay(), *pbuffer, EGL_BACK_BUFFER);
1605 EGLSurface pbuffer;
1606 bindIOSurfaceToTexture(clientBufferWrapper.getClientBuffer(), 1, 1, 0, internalFormat, type, &pbuffer, &texture);
1608 // glClear the pbuffer
1619 // Unbind pbuffer and check content.
1620 EGLBoolean result = eglReleaseTexImage(getDisplay(), pbuffer, EGL_BACK_BUFFER);
1630 result = eglDestroySurface(getDisplay(), pbuffer);
1643 EGLSurface pbuffer;
1644 bindIOSurfaceToTexture(clientBufferWrapper.getClientBuffer(), 1, 1, 0, internalFormat, type, &pbuffer, &texture);
1673 // Unbind pbuffer and check content.
1674 EGLBoolean result = eglReleaseTexImage(getDisplay(), pbuffer, EGL_BACK_BUFFER);
1821 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1822 EXPECT_NE(EGL_NO_SURFACE, pbuffer);
1824 EGLBoolean result = eglDestroySurface(getDisplay(), pbuffer);
1841 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1842 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1858 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1859 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1875 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1876 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1893 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1894 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1910 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1911 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1928 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1929 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1945 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1946 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
1975 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1976 EXPECT_NE(EGL_NO_SURFACE, pbuffer);
1978 EGLBoolean result = eglDestroySurface(getDisplay(), pbuffer);
1996 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
1997 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2014 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2015 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2032 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2033 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2051 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2052 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2069 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2070 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2087 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2088 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2106 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2107 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2124 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2125 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2142 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs);
2143 EXPECT_EQ(EGL_NO_SURFACE, pbuffer);
2159 EGLSurface pbuffer = createIOSurfacePbuffer(clientBufferWrapper.getClientBuffer(), 10, 10, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE);
2161 EGLBoolean result = eglMakeCurrent(getDisplay(), pbuffer, pbuffer, getContext());