Home
last modified time | relevance | path

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

12

/frameworks/native/opengl/tools/glgen/specs/egl/
Dchecks.spec3 …nfig nullAllowed configs check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
5 //STUB function: //eglCreateWindowSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE
6 eglCreatePbufferSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE
7 //unsupported: eglCreatePixmapSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE
11 //STUB function: eglCreatePbufferFromClientBuffer nullAllowed attrib_list sentinel attrib_list EGL_…
12 eglCreateContext sentinel attrib_list EGL_NONE
14 //unsupported: eglCreatePlatformPixmapSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE
DEGL14.spec7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint …
9 …dowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 …Surface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
18 …Display dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
23 …teContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java41 …public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] confi… in eglChooseConfig() argument
62 …lCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { in eglCreateContext() argument
63 long eglContextId = _eglCreateContext(display, config, share_context, attrib_list); in eglCreateContext()
70 …ublic EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { in eglCreatePbufferSurface() argument
71 long eglSurfaceId = _eglCreatePbufferSurface(display, config, attrib_list); in eglCreatePbufferSurface()
78 …reatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) { in eglCreatePixmapSurface() argument
80 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); in eglCreatePixmapSurface()
87 …reateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) { in eglCreateWindowSurface() argument
101 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); in eglCreateWindowSurface()
104 native_window, attrib_list); in eglCreateWindowSurface()
[all …]
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp86 static bool validAttribList(JNIEnv *_env, jintArray attrib_list) { in validAttribList() argument
87 if (attrib_list == NULL) { in validAttribList()
90 jsize len = _env->GetArrayLength(attrib_list); in validAttribList()
95 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item); in validAttribList()
99 static jint* beginNativeAttribList(JNIEnv *_env, jintArray attrib_list) { in beginNativeAttribList() argument
100 if (attrib_list != NULL) { in beginNativeAttribList()
101 return _env->GetIntArrayElements(attrib_list, (jboolean *)0); in beginNativeAttribList()
107 static void endNativeAttributeList(JNIEnv *_env, jintArray attrib_list, jint* attrib_base) { in endNativeAttributeList() argument
108 if (attrib_list != NULL) { in endNativeAttributeList()
109 _env->ReleaseIntArrayElements(attrib_list, attrib_base, 0); in endNativeAttributeList()
[all …]
Dandroid_opengl_EGL14.cpp355 EGLint *attrib_list = (EGLint *) 0; in android_eglChooseConfig() local
377 attrib_list = attrib_list_base + attrib_listOffset; in android_eglChooseConfig()
380 if (attrib_list[i] == EGL_NONE){ in android_eglChooseConfig()
434 (EGLint *)attrib_list, in android_eglChooseConfig()
532 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() local
545 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
548 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
578 (EGLint *)attrib_list in android_eglCreateWindowSurface()
606 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
642 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
[all …]
Dandroid_opengl_EGL15.cpp206 WrappedEGLAttribs attrib_list; in android_eglCreateSync() local
223 attrib_list.init(attrib_list_base + offset, _remaining); in android_eglCreateSync()
228 attrib_list.attribs in android_eglCreateSync()
338 WrappedEGLAttribs attrib_list; in android_eglGetPlatformDisplay() local
355 attrib_list.init(attrib_list_base + offset, _remaining); in android_eglGetPlatformDisplay()
360 attrib_list.attribs in android_eglGetPlatformDisplay()
391 WrappedEGLAttribs attrib_list; in android_eglCreatePlatformWindowSurface() local
415 attrib_list.init(attrib_list_base + offset, _attrib_listRemaining); in android_eglCreatePlatformWindowSurface()
425 attrib_list.attribs in android_eglCreatePlatformWindowSurface()
480 WrappedEGLAttribs attrib_list; in android_eglCreateImage() local
[all …]
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp56 const EGLAttrib* attrib_list) { in eglGetPlatformDisplay() argument
67 return cnx->platform.eglGetPlatformDisplay(platform, display, attrib_list); in eglGetPlatformDisplay()
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()
108 const EGLint* attrib_list) { in eglCreateWindowSurface() argument
112 return cnx->platform.eglCreateWindowSurface(dpy, config, window, attrib_list); in eglCreateWindowSurface()
116 const EGLAttrib* attrib_list) { in eglCreatePlatformWindowSurface() argument
120 return cnx->platform.eglCreatePlatformWindowSurface(dpy, config, native_window, attrib_list); in eglCreatePlatformWindowSurface()
124 const EGLint* attrib_list) { in eglCreatePixmapSurface() argument
128 return cnx->platform.eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
[all …]
Degl_platform_entries.cpp288 const EGLAttrib* attrib_list) { in eglGetPlatformDisplayTmpl() argument
298 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display, attrib_list); in eglGetPlatformDisplayTmpl()
307 const EGLAttrib* attrib_list) { in eglGetPlatformDisplayImpl() argument
309 attrib_list); in eglGetPlatformDisplayImpl()
367 EGLBoolean eglChooseConfigImpl( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfigImpl() argument
383 if (attrib_list) { in eglChooseConfigImpl()
386 EGLint attrib = attrib_list[0]; in eglChooseConfigImpl()
396 attrib = attrib_list[attribCount]; in eglChooseConfigImpl()
399 attribRendererable = &attrib_list[attribCount]; in eglChooseConfigImpl()
402 attribCaveat = &attrib_list[attribCount]; in eglChooseConfigImpl()
[all …]
Degl_display.cpp130 const EGLAttrib* attrib_list) { in getFromNativeDisplay() argument
134 return sDisplay[uintptr_t(disp)].getPlatformDisplay(disp, attrib_list); in getFromNativeDisplay()
138 const EGLAttrib* attrib_list, EGLint* error) { in getPlatformDisplayAngle() argument
144 if (attrib_list) { in getPlatformDisplayAngle()
145 for (const EGLAttrib* attr = attrib_list; *attr != EGL_NONE; attr += 2) { in getPlatformDisplayAngle()
178 const EGLAttrib* attrib_list) { in getPlatformDisplay() argument
191 dpy = getPlatformDisplayAngle(display, cnx, attrib_list, &error); in getPlatformDisplay()
201 attrib_list); in getPlatformDisplay()
208 if (attrib_list) { in getPlatformDisplay()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java209 int[] attrib_list, in eglChooseConfig() argument
234 int[] attrib_list, in _eglCreateWindowSurface() argument
242 int[] attrib_list, in _eglCreateWindowSurfaceTexture() argument
249 int[] attrib_list, in eglCreateWindowSurface() argument
265 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
268 win, attrib_list, offset); in eglCreateWindowSurface()
283 int[] attrib_list, in eglCreatePbufferSurface() argument
294 int[] attrib_list, in eglCreatePixmapSurface() argument
343 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
355 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
[all …]
DEGL15.java84 long[] attrib_list, in eglCreateSync() argument
122 long[] attrib_list, in eglGetPlatformDisplay() argument
132 long[] attrib_list, in eglCreatePlatformWindowSurface() argument
142 long[] attrib_list, in eglCreatePlatformPixmapSurface() argument
161 long[] attrib_list, in eglCreateImage() argument
DEGLLogWrapper.java47 public boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, in eglChooseConfig() argument
51 arg("attrib_list", attrib_list); in eglChooseConfig()
55 boolean result = mEgl10.eglChooseConfig(display, attrib_list, configs, in eglChooseConfig()
79 EGLContext share_context, int[] attrib_list) { in eglCreateContext() argument
84 arg("attrib_list", attrib_list); in eglCreateContext()
88 share_context, attrib_list); in eglCreateContext()
95 EGLConfig config, int[] attrib_list) { in eglCreatePbufferSurface() argument
99 arg("attrib_list", attrib_list); in eglCreatePbufferSurface()
103 attrib_list); in eglCreatePbufferSurface()
110 EGLConfig config, Object native_pixmap, int[] attrib_list) { in eglCreatePixmapSurface() argument
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java7 int[] attrib_list, in _eglCreateWindowSurface() argument
15 int[] attrib_list, in _eglCreateWindowSurfaceTexture() argument
22 int[] attrib_list, in eglCreateWindowSurface() argument
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
41 win, attrib_list, offset); in eglCreateWindowSurface()
DeglCreateWindowSurface.cpp14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() local
27 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
30 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
60 (EGLint *)attrib_list in android_eglCreateWindowSurface()
88 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
124 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
127 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture()
143 (EGLint *)attrib_list in android_eglCreateWindowSurfaceTexture()
DeglCreatePbufferFromClientBuffer.cpp14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer() local
26 attrib_list = attrib_list_base + offset; in android_eglCreatePbufferFromClientBuffer()
29 if (attrib_list[i] == EGL_NONE){ in android_eglCreatePbufferFromClientBuffer()
47 (EGLint *)attrib_list in android_eglCreatePbufferFromClientBuffer()
DeglGetPlatformDisplay.cpp11 WrappedEGLAttribs attrib_list; in android_eglGetPlatformDisplay() local
28 attrib_list.init(attrib_list_base + offset, _remaining); in android_eglGetPlatformDisplay()
33 attrib_list.attribs in android_eglGetPlatformDisplay()
DeglCreateImage.cpp13 WrappedEGLAttribs attrib_list; in android_eglCreateImage() local
30 attrib_list.init(attrib_list_base + offset, _remaining); in android_eglCreateImage()
37 attrib_list.attribs in android_eglCreateImage()
DeglCreatePbufferFromClientBuffer.java8 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
20 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
DeglCreatePlatformWindowSurface.cpp17 WrappedEGLAttribs attrib_list; in android_eglCreatePlatformWindowSurface() local
41 attrib_list.init(attrib_list_base + offset, _attrib_listRemaining); in android_eglCreatePlatformWindowSurface()
51 attrib_list.attribs in android_eglCreatePlatformWindowSurface()
DeglCreateSync.cpp12 WrappedEGLAttribs attrib_list; in android_eglCreateSync() local
29 attrib_list.init(attrib_list_base + offset, _remaining); in android_eglCreateSync()
34 attrib_list.attribs in android_eglCreateSync()
/frameworks/native/opengl/include/EGL/
Degl.h121 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig…
123 …ateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);
124 … EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
125 …pSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);
126 …ndowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
204 …Display dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
287 …API EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list);
291 …Display dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
293 …ENTRY eglGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
294 …indowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);
[all …]
Deglext_angle.h118 …EAMPRODUCERD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
119 …EXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib *attrib_list);
121 …teStreamProducerD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
122 …tD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib *attrib_list);
148 …NEGLCREATEDEVICEANGLEPROC) (EGLint device_type, void *native_device, const EGLAttrib *attrib_list);
151 …IENTRY eglCreateDeviceANGLE(EGLint device_type, void *native_device, const EGLAttrib *attrib_list);
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java97 …boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config… in eglChooseConfig() argument
99 …glCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list); in eglCreateContext() argument
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); in eglCreatePbufferSurface() argument
102 …CreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); in eglCreatePixmapSurface() argument
103 …CreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); in eglCreateWindowSurface() argument
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h203 GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *co…
206 …ndowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list);
207 …xmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list);
208 …ace APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
212 …CreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list);
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DEglHelper.java270 int[] attrib_list = new int[5]; in createEglContext() local
272 attrib_list[idx++] = EGL_CONTEXT_CLIENT_VERSION; in createEglContext()
273 attrib_list[idx++] = OPENGLES_VERSION; in createEglContext()
275 attrib_list[idx++] = EGL_CONTEXT_PRIORITY_LEVEL_IMG; in createEglContext()
276 attrib_list[idx++] = EGL_CONTEXT_PRIORITY_LOW_IMG; in createEglContext()
278 attrib_list[idx] = EGL_NONE; in createEglContext()
280 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attrib_list, 0); in createEglContext()

12