Lines Matching defs:format

647          _eglLog(_EGL_DEBUG, "No DRI config supports native format %s",
1291 unsigned int att, unsigned int format)
1301 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, att, format,
2157 GLint format, target;
2168 format = __DRI_TEXTURE_FORMAT_RGB;
2171 format = __DRI_TEXTURE_FORMAT_RGBA;
2174 assert(!"Unexpected texture format in dri2_bind_tex_image()");
2175 format = __DRI_TEXTURE_FORMAT_RGBA;
2188 target, format,
2329 * __DRIimages. A wl_drm_buffer stores the wl_drm format code and the
2331 * wl_drm format code to a description of the planes in the buffer
2520 EGLint format, name, pitch;
2538 format = __DRI_IMAGE_FORMAT_ARGB8888;
2551 format,
2569 * * EGL_LINUX_DRM_FOURCC_EXT: The pixel format of the buffer, as specified
2625 /* Returns the total number of planes for the format or zero if it isn't a
2626 * valid fourcc format.
2629 dri2_num_fourcc_format_planes(EGLint format)
2631 switch (format) {
2725 _eglError(EGL_BAD_MATCH, "unknown drm fourcc format");
2734 * but not limited to adding extra planes to a format which
2737 * single-plane format. The exact meaning and effect of any
2766 * attribute indicates a single-plane format, EGL_BAD_ATTRIBUTE is
2814 dri2_query_dma_buf_modifiers(_EGLDisplay *disp, EGLint format,
2820 if (dri2_num_fourcc_format_planes(format) == 0)
2821 return _eglError(EGL_BAD_PARAMETER, "invalid fourcc format");
2833 if (dri2_dpy->image->queryDmaBufModifiers(dri2_dpy->dri_screen, format,
2837 return _eglError(EGL_BAD_PARAMETER, "invalid format");
2928 _eglError(EGL_BAD_MATCH, "unsupported dma_buf format modifier");
2970 int format;
2987 format = __DRI_IMAGE_FORMAT_ARGB8888;
3022 format, dri_use, dri2_img);
3059 * now, we just fail if we don't have a DRM fourcc for the format.
3223 buffer->format,
3232 buffer->format,
3331 const struct wl_drm_components_descriptor *format;
3337 format = buffer->driver_format;
3340 *value = format->components;