Home
last modified time | relevance | path

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

1234

/frameworks/native/opengl/libs/EGL/
DeglApi.cpp70 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize() argument
74 return cnx->platform.eglInitialize(dpy, major, minor); in eglInitialize()
77 EGLBoolean eglTerminate(EGLDisplay dpy) { in eglTerminate() argument
81 return cnx->platform.eglTerminate(dpy); in eglTerminate()
84 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigs() argument
89 return cnx->platform.eglGetConfigs(dpy, configs, config_size, num_config); in eglGetConfigs()
92 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig() argument
97 return cnx->platform.eglChooseConfig(dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
100 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) { in eglGetConfigAttrib() argument
104 return cnx->platform.eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
[all …]
Degl_platform_entries.cpp298 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display, attrib_list); in eglGetPlatformDisplayTmpl() local
299 return dpy; in eglGetPlatformDisplayTmpl()
316 EGLBoolean eglInitializeImpl(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitializeImpl() argument
318 egl_display_ptr dp = get_display(dpy); in eglInitializeImpl()
326 EGLBoolean eglTerminateImpl(EGLDisplay dpy) in eglTerminateImpl() argument
332 egl_display_ptr dp = get_display(dpy); in eglTerminateImpl()
344 EGLBoolean eglGetConfigsImpl(EGLDisplay dpy, in eglGetConfigsImpl() argument
348 const egl_display_ptr dp = validate_display(dpy); in eglGetConfigsImpl()
361 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigsImpl()
367 EGLBoolean eglChooseConfigImpl( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfigImpl() argument
[all …]
Degl_display.h76 static egl_display_t* get(EGLDisplay dpy);
105 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } in DisplayImpl()
106 EGLDisplay dpy; member
143 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) {} in egl_display_ptr() argument
176 inline egl_display_ptr get_display(EGLDisplay dpy) { in get_display() argument
177 return egl_display_ptr(egl_display_t::get(dpy)); in get_display()
182 inline egl_display_t* get_display_nowake(EGLDisplay dpy) { in get_display_nowake() argument
183 return egl_display_t::get(dpy); in get_display_nowake()
188 egl_display_ptr validate_display(EGLDisplay dpy);
189 egl_display_ptr validate_display_connection(EGLDisplay dpy,
[all …]
Degl_display.cpp80 int egl_get_init_count(EGLDisplay dpy) { in egl_get_init_count() argument
81 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count()
96 egl_display_t* egl_display_t::get(EGLDisplay dpy) { in get() argument
97 if (uintptr_t(dpy) == 0) { in get()
101 uintptr_t index = uintptr_t(dpy)-1U; in get()
139 EGLDisplay dpy = EGL_NO_DISPLAY; in getPlatformDisplayAngle() local
159 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in getPlatformDisplayAngle()
162 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplayAngle()
165 if (!angle::initializeAnglePlatform(dpy)) { in getPlatformDisplayAngle()
174 return dpy; in getPlatformDisplayAngle()
[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/include/EGL/
Deglext.h63 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EG…
65 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR …
139 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGL…
141 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *val…
152 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLi…
153 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
154 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint …
155 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi…
157 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_…
158 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
[all …]
Degl.h121 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig…
122 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapTy…
123 EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_…
124 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLi…
125 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePi…
126 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWi…
127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
128 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
129 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribut…
130 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size…
[all …]
Deglext_angle.h118 typedef EGLBoolean(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLS…
119 typedef EGLBoolean(EGLAPIENTRYP PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR s…
121 EGLAPI EGLBoolean EGLAPIENTRY eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR s…
122 EGLAPI EGLBoolean EGLAPIENTRY eglStreamPostD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, voi…
163 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC) (EGLDisplay dpy, EGLenum attrib);
164 typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *k…
165 typedef void (EGLAPIENTRYP PFNEGPROGRAMCACHELPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, E…
166 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLe…
168 EGLAPI EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib);
169 EGLAPI void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *…
[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/tests/gl2_basic/
Dgl2_basic.cpp33 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
50 static void printEGLString(EGLDisplay dpy, const char *name, GLenum s) { in printEGLString() argument
51 const char *v = (const char *) eglQueryString(dpy, s); in printEGLString()
52 const char* va = (const char*)eglQueryStringImplementationANDROID(dpy, s); in printEGLString()
187 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
228 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
238 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
240 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
254 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
263 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL14.java175 EGLDisplay dpy, in eglInitialize() argument
185 EGLDisplay dpy in eglTerminate() argument
191 EGLDisplay dpy, in eglQueryString() argument
197 EGLDisplay dpy, in eglGetConfigs() argument
208 EGLDisplay dpy, in eglChooseConfig() argument
221 EGLDisplay dpy, in eglGetConfigAttrib() argument
231 EGLDisplay dpy, in _eglCreateWindowSurface() argument
239 EGLDisplay dpy, in _eglCreateWindowSurfaceTexture() argument
246 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, in eglCreateWindowSurface() argument
265 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
[all …]
DEGL15.java82 EGLDisplay dpy, in eglCreateSync() argument
94 EGLDisplay dpy, in eglGetSyncAttrib() argument
104 EGLDisplay dpy, in eglDestroySync() argument
111 EGLDisplay dpy, in eglClientWaitSync() argument
129 EGLDisplay dpy, in eglCreatePlatformWindowSurface() argument
139 EGLDisplay dpy, in eglCreatePlatformPixmapSurface() argument
149 EGLDisplay dpy, in eglWaitSync() argument
157 EGLDisplay dpy, in eglCreateImage() argument
168 EGLDisplay dpy, in eglDestroyImage() argument
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h32 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
45 EGLDisplay dpy,
51 EGLDisplay dpy,
57 static inline String8 printEGLString(EGLDisplay dpy, const char* name, GLenum s);
60 static inline String8 printEGLConfiguration(EGLDisplay dpy, EGLConfig config);
61 static inline bool printEGLConfigurations(EGLDisplay dpy, String8& msg);
62 static inline bool printEGLConfigurations(FILE* output, EGLDisplay dpy);
64 static inline bool hasEglExtension(EGLDisplay dpy, const char* name);
93 EGLDisplay dpy, in selectConfigForPixelFormat() argument
107 if (eglGetConfigs(dpy, nullptr, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat()
[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/gl_perf/
Dgl2_perf.cpp49 static EGLDisplay dpy; variable
68 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
70 if (dpy == EGL_NO_DISPLAY) { in main()
75 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
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()
105 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
110 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
112 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
[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/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()
113 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/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()
111 eglSwapBuffers(dpy, surface); in main()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp99 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
140 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
162 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
164 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
178 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
187 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
335 void setSurfaceMetadata(EGLDisplay dpy, EGLSurface surface) { in setSurfaceMetadata() argument
337 if (EGLUtils::hasEglExtension(dpy, "EGL_EXT_surface_SMPTE2086_metadata")) { in setSurfaceMetadata()
338 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT, METADATA_SCALE(0.640)); in setSurfaceMetadata()
339 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT, METADATA_SCALE(0.330)); in setSurfaceMetadata()
[all …]
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp121 EGLDisplay dpy = getDisplay(_env, display); in jni_eglInitialize() local
122 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize()
143 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQueryContext() local
149 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext()
162 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQuerySurface() local
169 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface()
176 EGLDisplay dpy = getDisplay(_env, display); in jni_getInitCount() local
177 return android::egl_get_init_count(dpy); in jni_getInitCount()
193 EGLDisplay dpy = getDisplay(_env, display); in jni_eglChooseConfig() local
203 success = eglChooseConfig(dpy, attrib_base, configs ? nativeConfigs : 0, config_size, &num); in jni_eglChooseConfig()
[all …]
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp93 static bool setupYuvTexSurface(EGLDisplay dpy) { 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/libs/nativedisplay/surfacetexture/
DEGLConsumer.cpp67 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in hasEglProtectedContentImpl() local
68 const char* exts = eglQueryString(dpy, EGL_EXTENSIONS); in hasEglProtectedContentImpl()
373 EGLDisplay dpy = eglGetCurrentDisplay(); in checkAndUpdateEglStateLocked() local
380 mEglDisplay = dpy; in checkAndUpdateEglStateLocked()
387 if (mEglDisplay != dpy || dpy == EGL_NO_DISPLAY) { in checkAndUpdateEglStateLocked()
397 mEglDisplay = dpy; in checkAndUpdateEglStateLocked()
403 EGLDisplay dpy = eglGetCurrentDisplay(); in detachFromContext() local
406 if (mEglDisplay != dpy && mEglDisplay != EGL_NO_DISPLAY) { in detachFromContext()
416 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext()
417 status_t err = syncForReleaseLocked(dpy, st); in detachFromContext()
[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 …]

1234