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.cpp54 EGLConfig myConfig = {0}; in main() local
84 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
92 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
99 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
259 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
268 printEGLConfiguration(dpy, myConfig); in main()
270 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
277 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp120 EGLConfig myConfig = {0}; in init_gl_surface() local
141 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
143 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
150 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp305 EGLConfig myConfig = {0}; in main() local
345 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
354 printEGLConfiguration(dpy, myConfig); in main()
357 surface = eglCreateWindowSurface(dpy, myConfig, window, winAttribs); in main()
364 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp336 EGLConfig myConfig = {0}; in main() local
369 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
378 printEGLConfiguration(dpy, myConfig); in main()
380 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
387 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
416 myConfig = configs[0]; in main()
423 printEGLConfiguration(dpy, myConfig); in main()
425 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
432 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp69 EGLConfig myConfig; in SetUp() local
72 &myConfig, 1, &numConfigs)); in SetUp()
75 mEglConfig = myConfig; in SetUp()
80 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); in SetUp()
84 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, nullptr); in SetUp()
157 EGLConfig myConfig = {nullptr}; in TEST_F() local
169 EXPECT_TRUE(eglChooseConfig(dpy, configAttribs, &myConfig, 1, in TEST_F()
173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F()
730 EGLConfig myConfig; in SetUp() local
736 EXPECT_TRUE(eglChooseConfig(mEglDisplay, configAttribs, &myConfig, 1, in SetUp()
[all …]
/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/opengl/tests/hwc/
DhwcTestLib.cpp55 EGLConfig myConfig = {0}; in hwcTestInitDisplay() local
91 sConfigAttribs, window, &myConfig); in hwcTestInitDisplay()
101 printEGLConfiguration(*dpy, myConfig); in hwcTestInitDisplay()
104 *surface = eglCreateWindowSurface(*dpy, myConfig, window, NULL); in hwcTestInitDisplay()
111 context = eglCreateContext(*dpy, myConfig, EGL_NO_CONTEXT, contextAttribs); in hwcTestInitDisplay()