Home
last modified time | relevance | path

Searched refs:attrib_list (Results 1 – 25 of 33) 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
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.java36 …public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] confi… in eglChooseConfig() argument
53 …lCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { in eglCreateContext() argument
54 long eglContextId = _eglCreateContext(display, config, share_context, attrib_list); in eglCreateContext()
61 …ublic EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { in eglCreatePbufferSurface() argument
62 long eglSurfaceId = _eglCreatePbufferSurface(display, config, attrib_list); in eglCreatePbufferSurface()
69 …reatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) { in eglCreatePixmapSurface() argument
71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); in eglCreatePixmapSurface()
78 …reateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) { in eglCreateWindowSurface() argument
92 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); in eglCreateWindowSurface()
95 native_window, attrib_list); in eglCreateWindowSurface()
[all …]
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp92 static bool validAttribList(JNIEnv *_env, jintArray attrib_list) { in validAttribList() argument
93 if (attrib_list == NULL) { in validAttribList()
96 jsize len = _env->GetArrayLength(attrib_list); in validAttribList()
101 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item); in validAttribList()
105 static jint* beginNativeAttribList(JNIEnv *_env, jintArray attrib_list) { in beginNativeAttribList() argument
106 if (attrib_list != NULL) { in beginNativeAttribList()
107 return _env->GetIntArrayElements(attrib_list, (jboolean *)0); in beginNativeAttribList()
113 static void endNativeAttributeList(JNIEnv *_env, jintArray attrib_list, jint* attrib_base) { in endNativeAttributeList() argument
114 if (attrib_list != NULL) { in endNativeAttributeList()
115 _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()
530 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() local
543 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
546 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
576 (EGLint *)attrib_list in android_eglCreateWindowSurface()
603 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
639 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL14.java207 int[] attrib_list, in eglChooseConfig() argument
232 int[] attrib_list, in _eglCreateWindowSurface() argument
240 int[] attrib_list, in _eglCreateWindowSurfaceTexture() argument
247 int[] attrib_list, in eglCreateWindowSurface() argument
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
266 win, attrib_list, offset); in eglCreateWindowSurface()
281 int[] attrib_list, in eglCreatePbufferSurface() argument
291 int[] attrib_list, in eglCreatePixmapSurface() argument
340 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
352 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
[all …]
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()
87 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
123 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
126 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture()
142 (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()
DeglCreatePbufferFromClientBuffer.java8 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
20 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
/frameworks/native/opengl/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);
141 …I EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
147 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
220 …NV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
227 …ENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
288 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
291 …GLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
[all …]
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);
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp334 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
352 if (attrib_list) { in eglChooseConfig()
358 EGLint attrib = attrib_list[0]; in eglChooseConfig()
368 attrib = attrib_list[attribCount]; in eglChooseConfig()
371 attribRendererable = &attrib_list[attribCount]; in eglChooseConfig()
374 attribCaveat = &attrib_list[attribCount]; in eglChooseConfig()
390 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
406 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
450 const EGLint *attrib_list) in eglCreateWindowSurface() argument
497 if (attrib_list && dp->haveExtension("EGL_KHR_gl_colorspace")) { in eglCreateWindowSurface()
[all …]
/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
101 …CreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); in eglCreatePixmapSurface() argument
102 …CreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); in eglCreateWindowSurface() argument
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp74 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
84 const EGLint *attrib_list) { in eglCreateWindowSurface() argument
89 const EGLint *attrib_list) { in eglCreatePbufferSurface() argument
119 const EGLint *attrib_list) { in eglCreateContext() argument
151 …GLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) { in eglCreateImageKHR() 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/native/opengl/specs/
DEGL_ANDROID_create_native_client_buffer.txt52 const EGLint *attrib_list)
70 const EGLint *attrib_list)
77 EGLImages are destroyed by eglDestroyImageKHR. <attrib_list> is a list of
79 usage of the underlying buffer structure. If <attrib_list> is non-NULL, the
82 Attribute names accepted in <attrib_list> are shown in Table aaa,
85 <attrib_list>.
110 <attrib_list> parameter.
DEGL_ANDROID_native_fence_sync.txt70 Accepted by the <attrib_list> parameter of eglCreateSyncKHR:
74 Accepted by the <attrib_list> parameter of eglCreateSyncKHR, and returned
156 * If <type> is EGL_SYNC_FENCE_KHR and <attrib_list> is neither NULL nor
159 * If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID and <attrib_list> contains
/frameworks/native/opengl/libagl/
Degl.cpp1352 const EGLint *attrib_list) in createPbufferSurface() argument
1376 while (attrib_list[0] != EGL_NONE) { in createPbufferSurface()
1377 if (attrib_list[0] == EGL_WIDTH) w = attrib_list[1]; in createPbufferSurface()
1378 if (attrib_list[0] == EGL_HEIGHT) h = attrib_list[1]; in createPbufferSurface()
1379 attrib_list+=2; in createPbufferSurface()
1485 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1496 if (ggl_unlikely(attrib_list==0)) { in eglChooseConfig()
1503 attrib_list = &dummy; in eglChooseConfig()
1509 while(possibleMatch && *attrib_list != EGL_NONE) { in eglChooseConfig()
1511 EGLint attr = *attrib_list++; in eglChooseConfig()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java167 int[] attrib_list = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in onSurfaceTextureAvailable()
168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
DGLTextureViewActivity.java405 int[] attrib_list = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
406 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java86 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
87 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java83 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java83 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()

12