Home
last modified time | relevance | path

Searched refs:dpy (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/native/opengl/include/EGL/
Deglext.h84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, E…
85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenu…
88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
141 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l…
142 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi…
144 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
145 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute…
147 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLi…
[all …]
Degl.h252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor);
253 EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy);
255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name);
257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs,
259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list,
262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
[all …]
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp45 EGLDisplay dpy; in main() local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
52 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main()
57 dpy, configAttribs, window, &config); in main()
60 eglTerminate(dpy); in main()
65 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); in main()
66 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); in main()
67 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); in main()
68 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); in main()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec3 EGLBoolean eglInitialize ( EGLDisplay dpy, EGLint *major, EGLint *minor )
4 EGLBoolean eglTerminate ( EGLDisplay dpy )
5 const char * eglQueryString ( EGLDisplay dpy, EGLint name )
6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_conf…
7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint …
8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, cons…
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
[all …]
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp269 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display); in eglGetDisplay() local
270 return dpy; in eglGetDisplay()
277 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
281 egl_display_ptr dp = get_display(dpy); in eglInitialize()
289 EGLBoolean eglTerminate(EGLDisplay dpy) in eglTerminate() argument
297 egl_display_ptr dp = get_display(dpy); in eglTerminate()
309 EGLBoolean eglGetConfigs( EGLDisplay dpy, in eglGetConfigs() argument
315 const egl_display_ptr dp = validate_display(dpy); in eglGetConfigs()
328 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigs()
334 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
[all …]
Degl_display.h85 static egl_display_t* get(EGLDisplay dpy);
114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } in DisplayImpl()
115 EGLDisplay dpy; member
193 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) { in egl_display_ptr() argument
240 inline egl_display_ptr get_display(EGLDisplay dpy) { in get_display() argument
241 return egl_display_ptr(egl_display_t::get(dpy)); in get_display()
246 inline egl_display_t* get_display_nowake(EGLDisplay dpy) { in get_display_nowake() argument
247 return egl_display_t::get(dpy); in get_display_nowake()
252 egl_display_ptr validate_display(EGLDisplay dpy);
253 egl_display_ptr validate_display_connection(EGLDisplay dpy,
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL14.java173 EGLDisplay dpy, in eglInitialize() argument
183 EGLDisplay dpy in eglTerminate() argument
189 EGLDisplay dpy, in eglQueryString() argument
195 EGLDisplay dpy, in eglGetConfigs() argument
206 EGLDisplay dpy, in eglChooseConfig() argument
219 EGLDisplay dpy, in eglGetConfigAttrib() argument
229 EGLDisplay dpy, in _eglCreateWindowSurface() argument
237 EGLDisplay dpy, in _eglCreateWindowSurfaceTexture() argument
244 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, in eglCreateWindowSurface() argument
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
[all …]
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp62 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) { in eglInitialize() argument
66 EGLBoolean eglTerminate(EGLDisplay dpy) { in eglTerminate() argument
70 const char * eglQueryString(EGLDisplay dpy, EGLint name) { in eglQueryString() argument
74 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
82 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, in eglCreateWindowSurface() argument
88 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, in eglCreatePbufferSurface() argument
93 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) { in eglDestroySurface() argument
98 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, in eglQuerySurface() argument
108 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, in eglSurfaceAttrib() argument
113 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) { in eglSwapInterval() argument
[all …]
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h197 GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
198 GLAPI EGLBoolean APIENTRY eglTerminate (EGLDisplay dpy);
199 GLAPI const char * APIENTRY eglQueryString (EGLDisplay dpy, EGLint name);
202 GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EG…
203 GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *co…
204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, E…
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowTyp…
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapTyp…
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *…
209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
[all …]
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp46 EGLDisplay dpy; in main() local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
52 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
55 dpy, configAttribs, window, &config); in main()
61 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
62 context = eglCreateContext(dpy, config, NULL, NULL); in main()
63 eglMakeCurrent(dpy, surface, surface, context); in main()
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
122 eglSwapInterval(dpy, 1); in main()
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp56 static EGLDisplay dpy; variable
75 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
77 if (dpy == EGL_NO_DISPLAY) { in main()
82 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
91 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
99 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
106 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
112 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
117 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
119 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
[all …]
/frameworks/native/opengl/tests/finish/
Dfinish.cpp47 EGLDisplay dpy; in main() local
52 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
53 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
56 dpy, configAttribs, window, &config); in main()
62 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
63 context = eglCreateContext(dpy, config, NULL, NULL); in main()
64 eglMakeCurrent(dpy, surface, surface, context); in main()
65 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
66 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
114 eglSwapBuffers(dpy, surface); in main()
[all …]
/frameworks/native/opengl/tests/filter/
Dfilter.cpp40 EGLDisplay dpy; in main() local
49 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
50 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
53 dpy, s_configAttribs, window, &config); in main()
54 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
59 surface = eglCreatePbufferSurface(dpy, config, attribs); in main()
64 context = eglCreateContext(dpy, config, NULL, NULL); in main()
65 eglMakeCurrent(dpy, surface, surface, context); in main()
66 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
[all …]
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp45 EGLDisplay dpy; in main() local
50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
51 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
54 dpy, configAttribs, window, &config); in main()
60 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
61 context = eglCreateContext(dpy, config, NULL, NULL); in main()
62 eglMakeCurrent(dpy, surface, surface, context); in main()
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
110 eglSwapBuffers(dpy, surface); in main()
[all …]
/frameworks/native/opengl/libagl/
Degl.cpp54 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
104 static egl_display_t& get_display(EGLDisplay dpy);
106 static EGLBoolean is_valid(EGLDisplay dpy) { in is_valid()
107 return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE; in is_valid()
116 egl_display_t& egl_display_t::get_display(EGLDisplay dpy) { in get_display() argument
117 return gDisplays[uintptr_t(dpy)-1U]; in get_display()
126 EGLDisplay dpy; member
147 EGLDisplay dpy; member
152 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
174 egl_surface_t::egl_surface_t(EGLDisplay dpy, in egl_surface_t() argument
[all …]
/frameworks/native/opengl/tests/textures/
Dtextures.cpp43 EGLDisplay dpy; in main() local
48 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
49 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
52 dpy, configAttribs, window, &config); in main()
58 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
59 context = eglCreateContext(dpy, config, NULL, NULL); in main()
60 eglMakeCurrent(dpy, surface, surface, context); in main()
61 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
62 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
117 eglSwapBuffers(dpy, surface); in main()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
229 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
231 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
254 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
276 EGLDisplay dpy; in main() local
279 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
281 if (dpy == EGL_NO_DISPLAY) { in main()
286 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
[all …]
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp127 EGLDisplay dpy = getDisplay(_env, display); in jni_eglInitialize() local
128 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize()
149 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQueryContext() local
155 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext()
168 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQuerySurface() local
175 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface()
182 EGLDisplay dpy = getDisplay(_env, display); in jni_getInitCount() local
183 egl_display_t* eglDisplay = get_display_nowake(dpy); in jni_getInitCount()
200 EGLDisplay dpy = getDisplay(_env, display); in jni_eglChooseConfig() local
210 success = eglChooseConfig(dpy, attrib_base, configs ? nativeConfigs : 0, config_size, &num); in jni_eglChooseConfig()
[all …]
Dandroid_opengl_EGL14.cpp174 …(JNIEnv *_env, jobject _this, jobject dpy, jintArray major_ref, jint majorOffset, jintArray minor_… in android_eglInitialize() argument
179 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); in android_eglInitialize()
249 (JNIEnv *_env, jobject _this, jobject dpy) { in android_eglTerminate() argument
251 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); in android_eglTerminate()
262 (JNIEnv *_env, jobject _this, jobject dpy, jint name) { in android_eglQueryString__Landroind_opengl_EGLDisplay_2I() argument
264 (EGLDisplay)fromEGLHandle(_env, egldisplayGetHandleID, dpy), in android_eglQueryString__Landroind_opengl_EGLDisplay_2I()
272 …(JNIEnv *_env, jobject _this, jobject dpy, jobjectArray configs_ref, jint configsOffset, jint conf… in android_eglGetConfigs() argument
277 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); in android_eglGetConfigs()
346 …(JNIEnv *_env, jobject _this, jobject dpy, jintArray attrib_list_ref, jint attrib_listOffset, jobj… in android_eglChooseConfig() argument
351 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); in android_eglChooseConfig()
[all …]
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp282 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
323 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
333 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
335 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
358 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
384 EGLDisplay dpy; in main() local
387 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
389 if (dpy == EGL_NO_DISPLAY) { in main()
394 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
[all …]
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp93 bool setupYuvTexSurface(EGLDisplay dpy, EGLContext context) { in setupYuvTexSurface() argument
131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface()
173 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
239 EGLDisplay dpy; in main() local
242 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
244 if (dpy == EGL_NO_DISPLAY) { in main()
249 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
259 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
268 printEGLConfiguration(dpy, myConfig); in main()
[all …]
/frameworks/native/opengl/tests/angeles/
Dapp-linux.cpp136 EGLDisplay dpy; in initGraphics() local
140 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initGraphics()
141 eglInitialize(dpy, &majorVersion, &minorVersion); in initGraphics()
144 dpy, configAttribs, window, &config); in initGraphics()
150 surface = eglCreateWindowSurface(dpy, config, window, NULL); in initGraphics()
155 context = eglCreateContext(dpy, config, NULL, NULL); in initGraphics()
159 eglMakeCurrent(dpy, surface, surface, context); in initGraphics()
162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth); in initGraphics()
163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight); in initGraphics()
165 sEglDisplay = dpy; in initGraphics()
/frameworks/native/opengl/tests/include/
DEGLUtils.h40 EGLDisplay dpy,
46 EGLDisplay dpy,
77 EGLDisplay dpy, in selectConfigForPixelFormat() argument
91 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat()
95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { in selectConfigForPixelFormat()
104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId); in selectConfigForPixelFormat()
122 EGLDisplay dpy, in selectConfigForNativeWindow() argument
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig); in selectConfigForNativeWindow()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp193 bool setupYuvTexSurface(EGLDisplay dpy, EGLContext context) { in setupYuvTexSurface() argument
236 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface()
283 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
324 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
349 EGLDisplay dpy; in main() local
352 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
354 if (dpy == EGL_NO_DISPLAY) { in main()
359 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
369 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
378 printEGLConfiguration(dpy, myConfig); in main()
[all …]
/frameworks/native/opengl/tests/configdump/
Dconfigdump.cpp71 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main() local
72 eglInitialize(dpy, 0, 0); in main()
73 eglGetConfigs(dpy, NULL, 0, &n); in main()
75 eglGetConfigs(dpy, configs, n, &n); in main()
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); in main()
87 eglTerminate(dpy); in main()

123