Home
last modified time | relevance | path

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

12

/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/native/opengl/tools/glgen/specs/egl/
Dchecks.spec3 eglChooseConfig check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
5 //STUB function: //eglCreateWindowSurface sentinel attrib_list EGL_NONE
6 eglCreatePbufferSurface sentinel attrib_list EGL_NONE
7 //unsupported: eglCreatePixmapSurface sentinel attrib_list EGL_NONE
11 eglCreatePbufferFromClientBuffer sentinel attrib_list EGL_NONE
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/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.cpp367 EGLint *attrib_list = (EGLint *) 0; in android_eglChooseConfig() local
389 attrib_list = attrib_list_base + attrib_listOffset; in android_eglChooseConfig()
392 if (attrib_list[i] == EGL_NONE){ in android_eglChooseConfig()
450 (EGLint *)attrib_list, in android_eglChooseConfig()
546 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() local
577 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
580 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
596 (EGLint *)attrib_list in android_eglCreateWindowSurface()
623 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
659 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
45 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
48 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
64 (EGLint *)attrib_list in android_eglCreateWindowSurface()
91 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
127 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
130 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture()
146 (EGLint *)attrib_list in android_eglCreateWindowSurfaceTexture()
DeglCreatePbufferFromClientBuffer.cpp14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer() local
31 attrib_list = attrib_list_base + offset; in android_eglCreatePbufferFromClientBuffer()
34 if (attrib_list[i] == EGL_NONE){ in android_eglCreatePbufferFromClientBuffer()
51 (EGLint *)attrib_list in android_eglCreatePbufferFromClientBuffer()
DeglCreatePbufferFromClientBuffer.java8 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
20 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
/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/tests/
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/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/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/libs/EGL/
DeglApi.cpp326 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
344 if (attrib_list) { in eglChooseConfig()
350 EGLint attrib = attrib_list[0]; in eglChooseConfig()
360 attrib = attrib_list[attribCount]; in eglChooseConfig()
363 attribRendererable = &attrib_list[attribCount]; in eglChooseConfig()
366 attribCaveat = &attrib_list[attribCount]; in eglChooseConfig()
382 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
398 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
442 const EGLint *attrib_list) in eglCreateWindowSurface() argument
489 if (attrib_list && dp->haveExtension("EGL_KHR_gl_colorspace")) { in eglCreateWindowSurface()
[all …]
/frameworks/native/opengl/libagl/
Degl.cpp1352 const EGLint *attrib_list) in createPbufferSurface() argument
1376 while (attrib_list[0]) { 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()
1484 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1495 if (ggl_unlikely(attrib_list==0)) { in eglChooseConfig()
1502 attrib_list = &dummy; in eglChooseConfig()
1508 while(possibleMatch && *attrib_list != EGL_NONE) { in eglChooseConfig()
1510 EGLint attr = *attrib_list++; in eglChooseConfig()
[all …]
/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()
/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/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/specs/
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
DEGL_ANDROID_framebuffer_target.txt57 the <attrib_list> parameter of eglChooseConfig:
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java384 int[] attrib_list = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext() local
385 EGLContext ctxt = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()

12