Lines Matching defs:buffer
517 /* Don't expose visuals with the accumulation buffer. */
1816 /* Disable shared buffer mode */
1906 /* Always update the shared buffer mode. This is obviously needed when
1910 * buffer mode since we last saw it.
2152 dri2_bind_tex_image(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer)
2163 if (!_eglBindTexImage(disp, surf, buffer))
2195 dri2_release_tex_image(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer)
2206 if (!_eglReleaseTexImage(disp, surf, buffer))
2228 EGLClientBuffer buffer, const EGLint *attr_list)
2231 return dri2_dpy->vtbl->create_image(disp, ctx, target, buffer,
2283 EGLClientBuffer buffer,
2288 GLuint renderbuffer = (GLuint) (uintptr_t) buffer;
2330 * offsets and strides of the planes in the buffer. This table maps a
2331 * wl_drm format code to a description of the planes in the buffer
2351 struct wl_drm_buffer *buffer;
2358 buffer = wayland_drm_buffer_get(dri2_dpy->wl_server_drm,
2360 if (!buffer)
2367 f = buffer->driver_format;
2374 dri_image = dri2_dpy->image->fromPlanar(buffer->driver_buffer, plane, NULL);
2376 dri_image = dri2_dpy->image->dupImage(buffer->driver_buffer, NULL);
2413 EGLClientBuffer buffer,
2419 GLuint texture = (GLuint) (uintptr_t) buffer;
2517 EGLClientBuffer buffer, const EGLint *attr_list)
2524 name = (EGLint) (uintptr_t) buffer;
2567 * * EGL_WIDTH & EGL_HEIGHT: The logical dimensions of the buffer in pixels
2569 * * EGL_LINUX_DRM_FOURCC_EXT: The pixel format of the buffer, as specified
2733 * "Modifiers may modify any attribute of a buffer import, including
2736 * may add a plane for an external compression buffer to a
2854 EGLClientBuffer buffer, const EGLint *attr_list)
2871 * ""* If <target> is EGL_LINUX_DMA_BUF_EXT and <buffer> is not NULL, the
2874 if (buffer != NULL) {
2875 _eglError(EGL_BAD_PARAMETER, "buffer not NULL");
3166 EGLClientBuffer buffer, const EGLint *attr_list)
3177 return dri2_create_image_khr_texture(disp, ctx, target, buffer, attr_list);
3179 return dri2_create_image_khr_renderbuffer(disp, ctx, buffer, attr_list);
3182 return dri2_create_image_mesa_drm_buffer(disp, ctx, buffer, attr_list);
3184 return dri2_create_image_dma_buf(disp, ctx, buffer, attr_list);
3188 return dri2_create_image_wayland_wl_buffer(disp, ctx, buffer, attr_list);
3212 struct wl_drm_buffer *buffer)
3221 buffer->width,
3222 buffer->height,
3223 buffer->format,
3225 buffer->stride,
3226 buffer->offset,
3230 buffer->width,
3231 buffer->height,
3232 buffer->format,
3234 buffer->stride,
3235 buffer->offset,
3243 buffer->driver_format = NULL;
3246 buffer->driver_format = &wl_drm_components[i];
3248 if (buffer->driver_format == NULL)
3251 buffer->driver_buffer = img;
3255 dri2_wl_release_buffer(void *user_data, struct wl_drm_buffer *buffer)
3260 dri2_dpy->image->destroyImage(buffer->driver_buffer);
3330 struct wl_drm_buffer *buffer;
3333 buffer = wayland_drm_buffer_get(dri2_dpy->wl_server_drm, buffer_resource);
3334 if (!buffer)
3337 format = buffer->driver_format;
3343 *value = buffer->width;
3346 *value = buffer->height;