Home
last modified time | relevance | path

Searched refs:myConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp61 EGLConfig myConfig = {0}; in main() local
90 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
105 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp226 EGLConfig myConfig = {0}; in main() local
258 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
267 printEGLConfiguration(dpy, myConfig); in main()
269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
276 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp263 EGLConfig myConfig = {0}; in main() local
302 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
311 printEGLConfiguration(dpy, myConfig); in main()
313 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
320 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp123 EGLConfig myConfig = {0}; in init_gl_surface() local
144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
146 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp336 EGLConfig myConfig = {0}; in main() local
368 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
377 printEGLConfiguration(dpy, myConfig); in main()
379 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
386 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp367 EGLConfig myConfig = {0}; in main() local
415 myConfig = configs[0]; in main()
422 printEGLConfiguration(dpy, myConfig); in main()
424 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
431 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp215 EGLConfig myConfig = {0}; in init_gl_surface() local
240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp58 EGLConfig myConfig; in SetUp() local
61 &myConfig, 1, &numConfigs)); in SetUp()
64 mEglConfig = myConfig; in SetUp()
69 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); in SetUp()
73 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); in SetUp()
146 EGLConfig myConfig = {0}; in TEST_F() local
158 EXPECT_TRUE(eglChooseConfig(dpy, configAttribs, &myConfig, 1, in TEST_F()
162 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F()
702 EGLConfig myConfig; in SetUp() local
708 EXPECT_TRUE(eglChooseConfig(mEglDisplay, configAttribs, &myConfig, 1, in SetUp()
[all …]
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp57 EGLConfig myConfig = {0}; in hwcTestInitDisplay() local
89 sConfigAttribs, window, &myConfig); in hwcTestInitDisplay()
99 printEGLConfiguration(*dpy, myConfig); in hwcTestInitDisplay()
102 *surface = eglCreateWindowSurface(*dpy, myConfig, window, NULL); in hwcTestInitDisplay()
109 context = eglCreateContext(*dpy, myConfig, EGL_NO_CONTEXT, contextAttribs); in hwcTestInitDisplay()