/frameworks/native/opengl/tools/glgen/specs/egl/ |
checks.spec | 3 eglChooseConfig 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_NONE 12 eglCreateContext sentinel attrib_list EGL_NON [all...] |
EGL14.spec | 7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config ) 9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list ) 11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list ) 18 EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) 23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreatePbufferFromClientBuffer.java | 1 // C function EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) 8 int[] attrib_list, 20 int[] attrib_list,
|
eglCreatePixmapSurface.java | 1 // C function EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list ) 8 int[] attrib_list,
|
eglCreateWindowSurface.java | 1 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 7 int[] attrib_list, 15 int[] attrib_list, 22 int[] attrib_list, 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 41 win, attrib_list, offset);
|
eglCreateWindowSurface.cpp | 1 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 14 EGLint *attrib_list = (EGLint *) 0; local 27 attrib_list = attrib_list_base + offset; 30 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ 38 _exceptionMessage = "attrib_list must contain EGL_NONE!"; 60 (EGLint *)attrib_list 74 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 87 EGLint *attrib_list = (EGLint *) 0; local 94 _exceptionMessage = "attrib_list == null"; 123 attrib_list = attrib_list_base + offset [all...] |
eglCreatePbufferFromClientBuffer.cpp | 1 /* EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) */ 14 EGLint *attrib_list = (EGLint *) 0; local 26 attrib_list = attrib_list_base + offset; 29 if (attrib_list[i] == EGL_NONE){ 37 _exceptionMessage = "attrib_list must contain EGL_NONE!"; 47 (EGLint *)attrib_list
|
/hardware/intel/common/libva/test/basic/ |
test_04.c | 55 VAConfigAttrib *attrib_list = (VAConfigAttrib *) malloc(sizeof(attributes)); local 56 ASSERT(attrib_list); 65 memcpy(attrib_list, attributes, sizeof(attributes)); 67 va_status = vaGetConfigAttributes(va_dpy, profiles[i], entrypoints[j], attrib_list, num_attribs); 71 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value); 72 ASSERT(attrib_list[k].value != DEADVALUE); 77 free(attrib_list);
|
test_vaSurfaceAttrib.c | 55 VASurfaceAttrib attrib_list[2]; local 93 attrib_list[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; 94 attrib_list[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; 95 va_status = vaGetSurfaceAttributes(va_dpy, config_id, attrib_list, 2); 98 if (attrib_list[0].flags != VA_SURFACE_ATTRIB_NOT_SUPPORTED) { 100 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_VA) 102 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_V4L2) 104 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_USER_PTR) 106 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC) 108 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION [all...] |
test_06.c | 76 VAConfigAttrib *attrib_list = malloc(max_attribs * sizeof(VAConfigAttrib)); local 92 memset(attrib_list, 0xff, max_attribs * sizeof(VAConfigAttrib)); 94 va_status = vaQueryConfigAttributes(va_dpy, configs[config_count], &profile, &entrypoint, attrib_list, &num_attribs); 102 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value); 103 ASSERT(attrib_list[k].value != VA_ATTRIB_NOT_SUPPORTED); 108 free(attrib_list);
|
/external/mesa3d/src/egl/main/ |
eglsync.c | 40 _eglParseSyncAttribList(_EGLSync *sync, const EGLint *attrib_list) 44 if (!attrib_list) 47 for (i = 0; attrib_list[i] != EGL_NONE; i++) { 48 EGLint attr = attrib_list[i++]; 49 EGLint val = attrib_list[i]; 70 const EGLint *attrib_list) 83 err = _eglParseSyncAttribList(sync, attrib_list);
|
eglimage.c | 42 const EGLint *attrib_list) 53 if (!attrib_list) 56 for (i = 0; attrib_list[i] != EGL_NONE; i++) { 57 EGLint attr = attrib_list[i++]; 58 EGLint val = attrib_list[i];
|
eglmode.c | 83 * Parse the attrib_list to fill in the fields of the given _eglMode 87 _eglParseModeAttribs(_EGLMode *mode, const EGLint *attrib_list) 100 for (i = 0; attrib_list && attrib_list[i] != EGL_NONE; i++) { 101 switch (attrib_list[i]) { 103 mode->Handle = attrib_list[++i]; 110 mode->Width = attrib_list[++i]; 117 mode->Height = attrib_list[++i]; 124 mode->RefreshRate = attrib_list[++i]; 131 mode->Interlaced = attrib_list[++i] [all...] |
/external/deqp/framework/egl/wrapper/ |
eglwFuncPtrLibraryDecl.inl | 8 EGLBoolean chooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) const; 12 EGLContext createContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) const; 13 EGLImage createImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list) const; 14 EGLImageKHR createImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) const; 15 EGLSurface createPbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) const; 16 EGLSurface createPbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) const; 17 EGLSurface createPixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) const; 18 EGLSurface createPlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list) const; 19 EGLSurface createPlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list) const; 20 EGLSurface createPlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list) const [all...] |
eglwFuncPtrLibraryImpl.inl | 17 EGLBoolean FuncPtrLibrary::chooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) const 19 return m_egl.chooseConfig(dpy, attrib_list, configs, config_size, num_config); 37 EGLContext FuncPtrLibrary::createContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) const 39 return m_egl.createContext(dpy, config, share_context, attrib_list); 42 EGLImage FuncPtrLibrary::createImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list) const 44 return m_egl.createImage(dpy, ctx, target, buffer, attrib_list); 47 EGLImageKHR FuncPtrLibrary::createImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) const 49 return m_egl.createImageKHR(dpy, ctx, target, buffer, attrib_list); 52 EGLSurface FuncPtrLibrary::createPbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) const 54 return m_egl.createPbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); [all...] |
eglwApi.inl | 65 EGLBoolean eglwChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); 69 EGLContext eglwCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); 70 EGLImage eglwCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 71 EGLImageKHR eglwCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 72 EGLSurface eglwCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 73 EGLSurface eglwCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); 74 EGLSurface eglwCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); 75 EGLSurface eglwCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list); 76 EGLSurface eglwCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 77 EGLSurface eglwCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); [all...] |
eglwFunctionTypes.inl | 8 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglChooseConfigFunc) (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); 12 typedef EGLW_APICALL EGLContext (EGLW_APIENTRY* eglCreateContextFunc) (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); 13 typedef EGLW_APICALL EGLImage (EGLW_APIENTRY* eglCreateImageFunc) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); 14 typedef EGLW_APICALL EGLImageKHR (EGLW_APIENTRY* eglCreateImageKHRFunc) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 15 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePbufferFromClientBufferFunc) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 16 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePbufferSurfaceFunc) (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); 17 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePixmapSurfaceFunc) (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); 18 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePlatformPixmapSurfaceFunc) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list); 19 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePlatformPixmapSurfaceEXTFunc) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 20 typedef EGLW_APICALL EGLSurface (EGLW_APIENTRY* eglCreatePlatformWindowSurfaceFunc) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); [all...] |
eglwLibrary.inl | 8 virtual EGLBoolean chooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) const = 0; 12 virtual EGLContext createContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) const = 0; 13 virtual EGLImage createImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list) const = 0; 14 virtual EGLImageKHR createImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) const = 0; 15 virtual EGLSurface createPbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) const = 0; 16 virtual EGLSurface createPbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) const = 0; 17 virtual EGLSurface createPixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) const = 0; 18 virtual EGLSurface createPlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list) const = 0; 19 virtual EGLSurface createPlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list) const = 0; 20 virtual EGLSurface createPlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list) const = 0 [all...] |
/external/mesa3d/src/glx/ |
create_context.c | 39 const int *attrib_list) 68 if (attrib_list != NULL) { 69 for (/* empty */; attrib_list[num_attribs * 2] != 0; num_attribs++) 79 (const uint32_t *) attrib_list, 111 attrib_list);
|
glx_pbuffer.c | 193 const int *attrib_list, size_t num_attribs) 215 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); 216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); 242 const int *attrib_list, size_t num_attribs) 396 Drawable drawable, const int *attrib_list, CARD8 glxCode) 406 if (attrib_list) { 407 while (attrib_list[i * 2] != None) 431 if (attrib_list) 432 memcpy(data, attrib_list, 8 * i); 442 if (!CreateDRIDrawable(dpy, config, drawable, xid, attrib_list, i)) [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 36 public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config); 53 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { 54 long eglContextId = _eglCreateContext(display, config, share_context, attrib_list); 61 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { 62 long eglSurfaceId = _eglCreatePbufferSurface(display, config, attrib_list); 69 public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) { 71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); 78 public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) { 92 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); 95 native_window, attrib_list); [all...] |
/external/deqp/framework/egl/ |
egluCallLogWrapperApi.inl | 8 eglw::EGLBoolean eglChooseConfig (eglw::EGLDisplay dpy, const eglw::EGLint *attrib_list, eglw::EGLConfig *configs, eglw::EGLint config_size, eglw::EGLint *num_config); 12 eglw::EGLContext eglCreateContext (eglw::EGLDisplay dpy, eglw::EGLConfig config, eglw::EGLContext share_context, const eglw::EGLint *attrib_list); 13 eglw::EGLImage eglCreateImage (eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLAttrib *attrib_list); 14 eglw::EGLImageKHR eglCreateImageKHR (eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLint *attrib_list); 15 eglw::EGLSurface eglCreatePbufferFromClientBuffer (eglw::EGLDisplay dpy, eglw::EGLenum buftype, eglw::EGLClientBuffer buffer, eglw::EGLConfig config, const eglw::EGLint *attrib_list); 16 eglw::EGLSurface eglCreatePbufferSurface (eglw::EGLDisplay dpy, eglw::EGLConfig config, const eglw::EGLint *attrib_list); 17 eglw::EGLSurface eglCreatePixmapSurface (eglw::EGLDisplay dpy, eglw::EGLConfig config, eglw::EGLNativePixmapType pixmap, const eglw::EGLint *attrib_list); 18 eglw::EGLSurface eglCreatePlatformPixmapSurface (eglw::EGLDisplay dpy, eglw::EGLConfig config, void *native_pixmap, const eglw::EGLAttrib *attrib_list); 19 eglw::EGLSurface eglCreatePlatformPixmapSurfaceEXT (eglw::EGLDisplay dpy, eglw::EGLConfig config, void *native_pixmap, const eglw::EGLint *attrib_list); 20 eglw::EGLSurface eglCreatePlatformWindowSurface (eglw::EGLDisplay dpy, eglw::EGLConfig config, void *native_window, const eglw::EGLAttrib *attrib_list); [all...] |
egluCallLogWrapper.inl | 27 eglw::EGLBoolean CallLogWrapper::eglChooseConfig (eglw::EGLDisplay dpy, const eglw::EGLint *attrib_list, eglw::EGLConfig *configs, eglw::EGLint config_size, eglw::EGLint *num_config) 30 m_log << TestLog::Message << "eglChooseConfig(" << dpy << ", " << getConfigAttribListStr(attrib_list) << ", " << configs << ", " << config_size << ", " << num_config << ");" << TestLog::EndMessage; 31 eglw::EGLBoolean returnValue = m_egl.chooseConfig(dpy, attrib_list, configs, config_size, num_config); 72 eglw::EGLContext CallLogWrapper::eglCreateContext (eglw::EGLDisplay dpy, eglw::EGLConfig config, eglw::EGLContext share_context, const eglw::EGLint *attrib_list) 75 m_log << TestLog::Message << "eglCreateContext(" << dpy << ", " << toHex(config) << ", " << share_context << ", " << getContextAttribListStr(attrib_list) << ");" << TestLog::EndMessage; 76 eglw::EGLContext returnValue = m_egl.createContext(dpy, config, share_context, attrib_list); 82 eglw::EGLImage CallLogWrapper::eglCreateImage (eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLAttrib *attrib_list) 85 m_log << TestLog::Message << "eglCreateImage(" << dpy << ", " << ctx << ", " << toHex(target) << ", " << toHex(buffer) << ", " << attrib_list << ");" << TestLog::EndMessage; 86 eglw::EGLImage returnValue = m_egl.createImage(dpy, ctx, target, buffer, attrib_list); 92 eglw::EGLImageKHR CallLogWrapper::eglCreateImageKHR (eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLint *attrib_list) [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
va_config.c | 86 VAConfigAttrib *attrib_list, int num_attribs) 96 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) 115 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs)
|
/frameworks/base/opengl/java/android/opengl/ |
EGL14.java | 203 // C function EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config ) 207 int[] attrib_list, 226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 232 int[] attrib_list, 240 int[] attrib_list, 247 int[] attrib_list, 263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 266 win, attrib_list, offset); 276 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list ) 281 int[] attrib_list, [all...] |