Lines Matching refs:pbuffer
158 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(display, EGL_D3D_TEXTURE_ANGLE, in createD3D11PBuffer() local
163 return pbuffer; in createD3D11PBuffer()
217 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(display, EGL_D3D_TEXTURE_ANGLE, in createPBuffer() local
222 return pbuffer; in createPBuffer()
320 EGLSurface pbuffer = createD3D11PBuffer(32, 32, EGL_TEXTURE_RGBA, EGL_TEXTURE_2D, 1, 0, in TEST_P() local
323 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
329 eglQuerySurface(display, pbuffer, EGL_GL_COLORSPACE, &colorspace); in TEST_P()
341 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
344 eglDestroySurface(display, pbuffer); in TEST_P()
378 EGLSurface pbuffer = in TEST_P() local
382 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
385 eglQuerySurface(display, pbuffer, EGL_GL_COLORSPACE, &colorspace); in TEST_P()
390 EGLBoolean result = eglBindTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P()
443 eglDestroySurface(display, pbuffer); in TEST_P()
478 EGLSurface pbuffer = createD3D11PBuffer( in TEST_P() local
483 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
486 eglQuerySurface(display, pbuffer, EGL_GL_COLORSPACE, &colorspace); in TEST_P()
491 EGLBoolean result = eglBindTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P()
539 eglDestroySurface(display, pbuffer); in TEST_P()
578 EGLSurface pbuffer = createD3D11PBuffer( in TEST_P() local
583 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
586 eglQuerySurface(display, pbuffer, EGL_GL_COLORSPACE, &colorspace); in TEST_P()
591 EGLBoolean result = eglBindTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P()
634 eglDestroySurface(display, pbuffer); in TEST_P()
654 EGLSurface pbuffer = in TEST_P() local
659 ASSERT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_P()
682 EGLSurface pbuffer = in TEST_P() local
686 ASSERT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_P()
713 EGLSurface pbuffer = in TEST_P() local
717 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
723 eglDestroySurface(display, pbuffer); in TEST_P()
739 EGLSurface pbuffer = in TEST_P() local
742 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
745 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
758 eglDestroySurface(display, pbuffer); in TEST_P()
775 EGLSurface pbuffer = in TEST_P() local
778 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
781 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
810 eglDestroySurface(display, pbuffer); in TEST_P()
826 EGLSurface pbuffer = in TEST_P() local
829 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
832 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
856 eglBindTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P()
868 eglReleaseTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P()
878 eglDestroySurface(display, pbuffer); in TEST_P()
895 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 2, in TEST_P() local
898 EXPECT_EQ(pbuffer, nullptr); in TEST_P()
908 EGLSurface pbuffer = in TEST_P() local
913 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
918 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
949 eglDestroySurface(display, pbuffer); in TEST_P()
971 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, in TEST_P() local
974 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
977 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
988 eglDestroySurface(display, pbuffer); in TEST_P()
999 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, in TEST_P() local
1002 ASSERT_NE(pbuffer, EGL_NO_SURFACE); in TEST_P()
1005 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1035 eglDestroySurface(display, pbuffer); in TEST_P()
1043 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_TEXTURE_RGBA, EGL_TEXTURE_2D, 4, in TEST_P() local
1047 EXPECT_EQ(pbuffer, nullptr); in TEST_P()
1056 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 2, in TEST_P() local
1060 EXPECT_EQ(pbuffer, nullptr); in TEST_P()
1072 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, in TEST_P() local
1075 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
1078 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1107 eglDestroySurface(display, pbuffer); in TEST_P()
1118 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, in TEST_P() local
1121 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
1124 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1149 eglDestroySurface(display, pbuffer); in TEST_P()
1160 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, in TEST_P() local
1163 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P()
1166 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1191 eglDestroySurface(display, pbuffer); in TEST_P()