Home
last modified time | relevance | path

Searched refs:attrib_list (Results 1 – 25 of 26) 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 int 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 int 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.cpp90 static bool validAttribList(JNIEnv *_env, jintArray attrib_list) { in validAttribList() argument
91 if (attrib_list == NULL) { in validAttribList()
94 jsize len = _env->GetArrayLength(attrib_list); in validAttribList()
99 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item); in validAttribList()
103 static jint* beginNativeAttribList(JNIEnv *_env, jintArray attrib_list) { in beginNativeAttribList() argument
104 if (attrib_list != NULL) { in beginNativeAttribList()
105 return (jint *)_env->GetPrimitiveArrayCritical(attrib_list, (jboolean *)0); in beginNativeAttribList()
111 static void endNativeAttributeList(JNIEnv *_env, jintArray attrib_list, jint* attrib_base) { in endNativeAttributeList() argument
112 if (attrib_list != NULL) { in endNativeAttributeList()
113 _env->ReleasePrimitiveArrayCritical(attrib_list, attrib_base, JNI_ABORT); in endNativeAttributeList()
[all …]
Dandroid_opengl_EGL14.cpp349 EGLint *attrib_list = (EGLint *) 0; in android_eglChooseConfig() local
371 attrib_list = attrib_list_base + attrib_listOffset; in android_eglChooseConfig()
374 if (attrib_list[i] == EGL_NONE){ in android_eglChooseConfig()
432 (EGLint *)attrib_list, in android_eglChooseConfig()
528 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() local
559 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurface()
562 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
578 (EGLint *)attrib_list in android_eglCreateWindowSurface()
605 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() local
641 attrib_list = attrib_list_base + offset; in android_eglCreateWindowSurfaceTexture()
[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()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java200 int[] attrib_list, in eglChooseConfig() argument
225 int[] attrib_list, in _eglCreateWindowSurface() argument
233 int[] attrib_list, in _eglCreateWindowSurfaceTexture() argument
240 int[] attrib_list, in eglCreateWindowSurface() argument
256 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
259 win, attrib_list, offset); in eglCreateWindowSurface()
274 int[] attrib_list, in eglCreatePbufferSurface() argument
284 int[] attrib_list, in eglCreatePixmapSurface() argument
333 int[] attrib_list, in eglCreatePbufferFromClientBuffer() argument
375 int[] attrib_list, in eglCreateContext() 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 …]
DGLSurfaceView.java768 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, mEGLContextClientVersion, in createContext() local
772 mEGLContextClientVersion != 0 ? attrib_list : null); in createContext()
/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/native/opengl/libs/EGL/
DeglApi.cpp281 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
299 if (attrib_list) { in eglChooseConfig()
305 EGLint attrib = attrib_list[0]; in eglChooseConfig()
315 attrib = attrib_list[attribCount]; in eglChooseConfig()
318 attribRendererable = &attrib_list[attribCount]; in eglChooseConfig()
321 attribCaveat = &attrib_list[attribCount]; in eglChooseConfig()
337 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
353 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
402 const EGLint *attrib_list) in eglCreateWindowSurface() argument
431 if (attrib_list) { in eglCreateWindowSurface()
[all …]
/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);
211 …NV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
218 …ENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
279 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
282 …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/libagl/
Degl.cpp1230 NativeWindowType window, const EGLint *attrib_list) in createWindowSurface() argument
1279 NativePixmapType pixmap, const EGLint *attrib_list) in createPixmapSurface() argument
1325 const EGLint *attrib_list) in createPbufferSurface() argument
1349 while (attrib_list[0]) { in createPbufferSurface()
1350 if (attrib_list[0] == EGL_WIDTH) w = attrib_list[1]; in createPbufferSurface()
1351 if (attrib_list[0] == EGL_HEIGHT) h = attrib_list[1]; in createPbufferSurface()
1352 attrib_list+=2; in createPbufferSurface()
1457 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1468 if (ggl_unlikely(attrib_list==0)) { in eglChooseConfig()
1475 attrib_list = &dummy; in eglChooseConfig()
[all …]
/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()
/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:
DEGL_ANDROID_recordable.txt56 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java747 int[] attrib_list = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in createContext() local
748 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list); in createContext()

12