Home
last modified time | relevance | path

Searched refs:attrib_list (Results 1 – 11 of 11) sorted by relevance

/development/tools/emulator/opengl/host/libs/Translator/EGL/
DEglImp.cpp75 …ay display, EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
275 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay display, const EGLint *attrib_list, in eglChooseConfig() argument
309 if(!EglValidate::noAttribs(attrib_list)) { //there are attribs in eglChooseConfig()
312 while(attrib_list[i] != EGL_NONE && !hasConfigId) { in eglChooseConfig()
313 switch(attrib_list[i]) { in eglChooseConfig()
320 if(attrib_list[i+1] == EGL_DONT_CARE) { in eglChooseConfig()
323 frame_buffer_level = attrib_list[i+1]; in eglChooseConfig()
326 if(attrib_list[i+1] < 0) { in eglChooseConfig()
329 buffer_size = attrib_list[i+1]; in eglChooseConfig()
332 if(attrib_list[i+1] < 0) { in eglChooseConfig()
[all …]
/development/tools/emulator/opengl/tests/EGL_host_wrapper/
Degl.cpp94 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint co… in eglChooseConfig() argument
96 return getDispatch()->eglChooseConfig(dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
104 …WindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) in eglCreateWindowSurface() argument
106 return getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); in eglCreateWindowSurface()
109 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) in eglCreatePbufferSurface() argument
111 return getDispatch()->eglCreatePbufferSurface(dpy, config, attrib_list); in eglCreatePbufferSurface()
114 …mapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) in eglCreatePixmapSurface() argument
116 return getDispatch()->eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
149 …LDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) in eglCreatePbufferFromClientBuffer() argument
151 … return getDispatch()->eglCreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); in eglCreatePbufferFromClientBuffer()
[all …]
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Degl.cpp294 static EGLint * filter_es2_bit(const EGLint *attrib_list, bool *isES2) in filter_es2_bit() argument
296 if (attrib_list == NULL) { in filter_es2_bit()
303 while(attrib_list[nAttribs] != EGL_NONE) nAttribs++; in filter_es2_bit()
307 memcpy(attribs, attrib_list, nAttribs * sizeof(EGLint)); in filter_es2_bit()
324 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint co… in eglChooseConfig() argument
328 EGLint *attribs = filter_es2_bit(attrib_list, NULL); in eglChooseConfig()
344 res = getDispatch()->eglChooseConfig(dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
359 …WindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) in eglCreateWindowSurface() argument
361 EGLSurface surface = getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); in eglCreateWindowSurface()
371 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) in eglCreatePbufferSurface() argument
[all …]
/development/tools/emulator/opengl/host/libs/Translator/include/EGL/
Deglext.h71 … EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
74 …TRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
84 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
87 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
140 …I EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
146 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
203 EGLSyncNV eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
210 …ENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
Degl.h259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list,
267 const EGLint *attrib_list);
269 const EGLint *attrib_list);
272 const EGLint *attrib_list);
286 EGLConfig config, const EGLint *attrib_list);
299 const EGLint *attrib_list);
/development/ndk/platforms/android-9/include/EGL/
Deglext.h71 … EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
74 …TRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
84 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
87 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
140 …I EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
146 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
203 EGLSyncNV eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
210 …ENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
Degl.h259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list,
267 const EGLint *attrib_list);
269 const EGLint *attrib_list);
272 const EGLint *attrib_list);
286 EGLConfig config, const EGLint *attrib_list);
299 const EGLint *attrib_list);
/development/tools/emulator/opengl/system/egl/
Degl.cpp610 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint co… in eglChooseConfig() argument
615 if (attrib_list) { in eglChooseConfig()
616 const EGLint * attrib_p = attrib_list; in eglChooseConfig()
625 …*num_config = rcEnc->rcChooseConfig(rcEnc, (EGLint*)attrib_list, attribs_size * sizeof(EGLint), (u… in eglChooseConfig()
645 …WindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) in eglCreateWindowSurface() argument
676 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) in eglCreatePbufferSurface() argument
692 while (attrib_list[0]) { in eglCreatePbufferSurface()
693 switch (attrib_list[0]) { in eglCreatePbufferSurface()
695 w = attrib_list[1]; in eglCreatePbufferSurface()
698 h = attrib_list[1]; in eglCreatePbufferSurface()
[all …]
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h66 FNDEF(EGLBoolean, eglChooseConfig, (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, …
67 …eateContext, (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list));
68 …owSurface, (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list));
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
DGL2JNIView.java115 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
116 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/development/tools/emulator/opengl/tests/translator_tests/GLES_V2/
DtriangleV2.cpp389 int attrib_list[] ={ in WinMain() local
402 ctx = eglCreateContext(d,configs[0],EGL_NO_CONTEXT,attrib_list); in WinMain()