Searched defs:attrib_list (Results 1 - 25 of 44) sorted by relevance

12

/external/mesa3d/src/egl/main/
H A Deglimage.c42 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];
41 _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, const EGLint *attrib_list) argument
H A Deglsync.c42 _eglParseSyncAttribList(_EGLSync *sync, const EGLAttrib *attrib_list) argument
46 if (!attrib_list)
49 for (i = 0; attrib_list[i] != EGL_NONE; i++) {
50 EGLAttrib attr = attrib_list[i++];
51 EGLAttrib val = attrib_list[i];
87 const EGLAttrib *attrib_list)
96 err = _eglParseSyncAttribList(sync, attrib_list);
86 _eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type, const EGLAttrib *attrib_list) argument
H A Deglcontext.c85 const EGLint *attrib_list)
90 if (!attrib_list)
93 if (api == EGL_OPENVG_API && attrib_list[0] != EGL_NONE) {
94 _eglLog(_EGL_DEBUG, "bad context attribute 0x%04x", attrib_list[0]);
98 for (i = 0; attrib_list[i] != EGL_NONE; i++) {
99 EGLint attr = attrib_list[i++];
100 EGLint val = attrib_list[i];
473 * in the attrib_list.
487 const EGLint *attrib_list)
509 err = _eglParseContextAttribList(ctx, dpy, attrib_list);
84 _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy, const EGLint *attrib_list) argument
486 _eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy, _EGLConfig *conf, const EGLint *attrib_list) argument
[all...]
H A Deglsurface.c68 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) argument
77 if (!attrib_list)
83 for (i = 0; attrib_list[i] != EGL_NONE; i++) {
84 attr = attrib_list[i++];
85 val = attrib_list[i];
261 _EGLConfig *conf, const EGLint *attrib_list)
323 err = _eglParseSurfaceAttribList(surf, attrib_list);
260 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, _EGLConfig *conf, const EGLint *attrib_list) argument
H A Degldisplay.c475 _eglParseX11DisplayAttribList(const EGLint *attrib_list) argument
479 if (attrib_list == NULL) {
483 for (i = 0; attrib_list[i] != EGL_NONE; i += 2) {
484 EGLint attrib = attrib_list[i];
485 EGLint value = attrib_list[i + 1];
504 const EGLint *attrib_list)
506 if (!_eglParseX11DisplayAttribList(attrib_list)) {
517 const EGLint *attrib_list)
520 if (attrib_list != NULL && attrib_list[
503 _eglGetX11Display(Display *native_display, const EGLint *attrib_list) argument
516 _eglGetGbmDisplay(struct gbm_device *native_display, const EGLint *attrib_list) argument
531 _eglGetWaylandDisplay(struct wl_display *native_display, const EGLint *attrib_list) argument
546 _eglGetSurfacelessDisplay(void *native_display, const EGLint *attrib_list) argument
[all...]
H A Deglconfig.c515 const EGLint *attrib_list)
529 for (i = 0; attrib_list && attrib_list[i] != EGL_NONE; i += 2) {
530 attr = attrib_list[i];
531 val = attrib_list[i + 1];
786 _eglChooseConfig(_EGLDriver *drv, _EGLDisplay *disp, const EGLint *attrib_list, argument
791 if (!_eglParseConfigAttribList(&criteria, disp, attrib_list))
514 _eglParseConfigAttribList(_EGLConfig *conf, _EGLDisplay *dpy, const EGLint *attrib_list) argument
/external/mesa3d/src/glx/
H A Dcreate_context.c39 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,
88 (const uint32_t *) attrib_list,
113 attrib_list);
37 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list) argument
H A Dindirect_glx.c239 int buffer, const int *attrib_list)
251 if (attrib_list) {
252 while (attrib_list[i * 2] != None)
277 if (attrib_list) {
278 while (attrib_list[i * 2] != None) {
279 *attrib_ptr++ = (CARD32) attrib_list[i * 2 + 0];
280 *attrib_ptr++ = (CARD32) attrib_list[i * 2 + 1];
237 indirect_bind_tex_image(Display * dpy, GLXDrawable drawable, int buffer, const int *attrib_list) argument
H A Dglx_pbuffer.c194 const int *attrib_list, size_t num_attribs)
221 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs);
222 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs);
248 const int *attrib_list, size_t num_attribs)
446 Drawable drawable, const int *attrib_list, CARD8 glxCode)
456 if (attrib_list) {
457 while (attrib_list[i * 2] != None)
481 if (attrib_list)
482 memcpy(data, attrib_list, 8 * i);
492 if (!CreateDRIDrawable(dpy, config, drawable, xid, attrib_list,
192 CreateDRIDrawable(Display *dpy, struct glx_config *config, XID drawable, XID glxdrawable, const int *attrib_list, size_t num_attribs) argument
246 CreateDRIDrawable(Display *dpy, const struct glx_config * fbconfig, XID drawable, XID glxdrawable, const int *attrib_list, size_t num_attribs) argument
445 CreateDrawable(Display *dpy, struct glx_config *config, Drawable drawable, const int *attrib_list, CARD8 glxCode) argument
535 CreatePbuffer(Display * dpy, struct glx_config *config, unsigned int width, unsigned int height, const int *attrib_list, GLboolean size_in_attribs) argument
683 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list) argument
698 glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int *attrib_list) argument
919 glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list) argument
939 glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const int *attrib_list) argument
[all...]
H A Ddrisw_glx.c281 int buffer, const int *attrib_list)
279 drisw_bind_tex_image(Display * dpy, GLXDrawable drawable, int buffer, const int *attrib_list) argument
H A Ddriwindows_glx.c113 int buffer, const int *attrib_list)
111 driwindows_bind_tex_image(Display * dpy, GLXDrawable drawable, int buffer, const int *attrib_list) argument
H A Ddri3_glx.c612 int buffer, const int *attrib_list)
610 dri3_bind_tex_image(Display * dpy, GLXDrawable drawable, int buffer, const int *attrib_list) argument
/external/mesa3d/src/gallium/state_trackers/va/
H A Dconfig.c109 VAConfigAttrib *attrib_list, int num_attribs)
119 switch (attrib_list[i].type) {
128 switch (attrib_list[i].type) {
146 switch (attrib_list[i].type) {
158 attrib_list[i].value = value;
166 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id)
189 if (attrib_list[i].type == VAConfigAttribRTFormat) {
190 if (attrib_list[i].value & (VA_RT_FORMAT_YUV420 | VA_RT_FORMAT_RGB32)) {
191 config->rt_format = attrib_list[i].value;
246 if (attrib_list[
108 vlVaGetConfigAttributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
165 vlVaCreateConfig(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) argument
303 vlVaQueryConfigAttributes(VADriverContextP ctx, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) argument
[all...]
H A Dsurface.c373 VASurfaceAttrib *attrib_list, unsigned int *num_attribs)
386 if (!attrib_list && !num_attribs)
389 if (!attrib_list) {
482 memcpy(attrib_list, attribs, i * sizeof(VASurfaceAttrib));
572 VASurfaceAttrib *attrib_list, unsigned int num_attribs)
604 for (i = 0; i < num_attribs && attrib_list; i++) {
605 if ((attrib_list[i].type == VASurfaceAttribPixelFormat) &&
606 (attrib_list[i].flags & VA_SURFACE_ATTRIB_SETTABLE)) {
607 if (attrib_list[i].value.type != VAGenericValueTypeInteger)
609 expected_fourcc = attrib_list[
372 vlVaQuerySurfaceAttributes(VADriverContextP ctx, VAConfigID config_id, VASurfaceAttrib *attrib_list, unsigned int *num_attribs) argument
569 vlVaCreateSurfaces2(VADriverContextP ctx, unsigned int format, unsigned int width, unsigned int height, VASurfaceID *surfaces, unsigned int num_surfaces, VASurfaceAttrib *attrib_list, unsigned int num_attribs) argument
[all...]
/external/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2_fallbacks.h35 const EGLint *attrib_list)
43 const EGLint *attrib_list)
32 dri2_fallback_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) argument
41 dri2_fallback_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
H A Dplatform_surfaceless.c110 _EGLConfig *conf, const EGLint *attrib_list)
127 if (!_eglInitSurface(&dri2_surf->base, disp, type, conf, attrib_list))
174 _EGLConfig *conf, const EGLint *attrib_list)
177 attrib_list);
109 dri2_surfaceless_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, _EGLConfig *conf, const EGLint *attrib_list) argument
173 dri2_surfaceless_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
H A Dplatform_x11_dri3.c166 const EGLint *attrib_list)
185 if (!_eglInitSurface(&dri3_surf->base, disp, type, conf, attrib_list))
244 const EGLint *attrib_list)
250 native_window, attrib_list);
260 const EGLint *attrib_list)
263 native_pixmap, attrib_list);
268 _EGLConfig *conf, const EGLint *attrib_list)
271 XCB_WINDOW_NONE, attrib_list);
164 dri3_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, _EGLConfig *conf, void *native_surface, const EGLint *attrib_list) argument
242 dri3_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
258 dri3_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) argument
267 dri3_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
H A Dplatform_drm.c97 const EGLint *attrib_list)
114 if (!_eglInitSurface(&dri2_surf->base, disp, type, conf, attrib_list))
166 const EGLint *attrib_list)
169 native_window, attrib_list);
175 const EGLint *attrib_list)
95 dri2_drm_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
164 dri2_drm_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
173 dri2_drm_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
H A Dplatform_android.c283 const EGLint *attrib_list)
297 if (!_eglInitSurface(&dri2_surf->base, disp, type, conf, attrib_list))
350 const EGLint *attrib_list)
353 native_window, attrib_list);
358 _EGLConfig *conf, const EGLint *attrib_list)
361 NULL, attrib_list);
281 droid_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
348 droid_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
357 droid_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
H A Dplatform_x11.c202 const EGLint *attrib_list)
224 if (!_eglInitSurface(&dri2_surf->base, disp, type, conf, attrib_list))
335 const EGLint *attrib_list)
341 native_window, attrib_list);
358 const EGLint *attrib_list)
361 native_pixmap, attrib_list);
366 _EGLConfig *conf, const EGLint *attrib_list)
369 XCB_WINDOW_NONE, attrib_list);
200 dri2_x11_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, _EGLConfig *conf, void *native_surface, const EGLint *attrib_list) argument
333 dri2_x11_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
356 dri2_x11_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) argument
365 dri2_x11_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
/external/mesa3d/src/egl/drivers/haiku/
H A Degl_haiku.cpp84 _EGLConfig *conf, void *native_window, const EGLint *attrib_list)
96 conf, attrib_list)) {
121 _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list)
129 _EGLConfig *conf, const EGLint *attrib_list)
242 _EGLContext *share_list, const EGLint *attrib_list)
253 if (!_eglInitContext(&context->ctx, disp, conf, attrib_list))
83 haiku_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_window, const EGLint *attrib_list) argument
120 haiku_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) argument
128 haiku_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, const EGLint *attrib_list) argument
241 haiku_create_context(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, _EGLContext *share_list, const EGLint *attrib_list) argument
/external/mesa3d/src/glx/apple/
H A Dglx_empty.c197 int *attrib_list)
203 (void) attrib_list;
195 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list) argument
/external/swiftshader/third_party/PowerVR_SDK/Shell/API/KEGL/
H A DPVRShellAPI.cpp254 EGLint attrib_list[16]; local
259 attrib_list[i++] = EGL_ALPHA_FORMAT;
260 attrib_list[i++] = EGL_ALPHA_FORMAT_PRE;
264 attrib_list[i] = EGL_NONE;
269 m_EGLWindow = eglCreatePixmapSurface(m_EGLDisplay, m_EGLConfig, m_NPT, attrib_list);
280 m_EGLWindow = eglCreateWindowSurface(m_EGLDisplay, m_EGLConfig, m_NWT, attrib_list);
285 m_EGLWindow = eglCreateWindowSurface(m_EGLDisplay, m_EGLConfig, NULL, attrib_list);
/external/swiftshader/src/OpenGL/libEGL/
H A DlibEGL.cpp242 EGLBoolean ChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) argument
244 TRACE("(EGLDisplay dpy = %p, const EGLint *attrib_list = %p, "
246 dpy, attrib_list, configs, config_size, num_config);
262 if(!attrib_list)
264 attrib_list = attribList;
267 if(!display->getConfigs(configs, attrib_list, config_size, num_config))
295 EGLSurface CreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType window, const EGLint *attrib_list) argument
298 "const EGLint *attrib_list = %p)", dpy, config, window, attrib_list);
312 return display->createWindowSurface(window, config, attrib_list);
315 CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
330 CreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) argument
494 CreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument
644 CreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) argument
966 CreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
1072 GetPlatformDisplayEXT(EGLenum platform, void *native_display, const EGLint *attrib_list) argument
1113 CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list) argument
1118 CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list) argument
1123 CreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c1465 const int *attrib_list)
1464 XMesaBindTexImage(Display *dpy, XMesaBuffer drawable, int buffer, const int *attrib_list) argument

Completed in 343 milliseconds

12