Home
last modified time | relevance | path

Searched refs:gbm_format (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/gbm/main/
Dgbm.c792 format_canonicalize(uint32_t gbm_format) in format_canonicalize() argument
794 switch (gbm_format) { in format_canonicalize()
800 return gbm_format; in format_canonicalize()
811 gbm_format_get_name(uint32_t gbm_format, struct gbm_format_name_desc *desc) in gbm_format_get_name() argument
813 gbm_format = format_canonicalize(gbm_format); in gbm_format_get_name()
815 desc->name[0] = gbm_format; in gbm_format_get_name()
816 desc->name[1] = gbm_format >> 8; in gbm_format_get_name()
817 desc->name[2] = gbm_format >> 16; in gbm_format_get_name()
818 desc->name[3] = gbm_format >> 24; in gbm_format_get_name()
Dgbm_backend_abi.h276 uint32_t (*format_canonicalize)(uint32_t gbm_format);
Dgbm.h446 gbm_format_get_name(uint32_t gbm_format, struct gbm_format_name_desc *desc);
Dgbm_abi_check.c211 uint32_t (*format_canonicalize)(uint32_t gbm_format);
/third_party/weston/libweston/backend-drm/
Ddrm-gbm.c97 b->gbm_format, in drm_backend_create_gl_renderer()
98 fallback_format_for(b->gbm_format), in drm_backend_create_gl_renderer()
185 output->gbm_format, in drm_output_init_egl()
186 fallback_format_for(output->gbm_format), in drm_output_init_egl()
199 if (plane->formats[i].format == output->gbm_format) in drm_output_init_egl()
205 output->gbm_format, output->base.name); in drm_output_init_egl()
215 output->gbm_format, in drm_output_init_egl()
228 output->gbm_format, in drm_output_init_egl()
Ddrm-virtual.c65 plane->formats[0].format = output->gbm_format; in drm_virtual_plane_create()
294 const char *gbm_format) in drm_virtual_output_set_gbm_format() argument
299 if (parse_gbm_format(gbm_format, b->gbm_format, &output->gbm_format) == -1) in drm_virtual_output_set_gbm_format()
300 output->gbm_format = b->gbm_format; in drm_virtual_output_set_gbm_format()
302 return output->gbm_format; in drm_virtual_output_set_gbm_format()
Ddrm.c1239 uint32_t format = output->gbm_format; in drm_output_init_pixman()
1392 parse_gbm_format(const char *s, uint32_t default_value, uint32_t *gbm_format) in parse_gbm_format() argument
1397 *gbm_format = default_value; in parse_gbm_format()
1410 *gbm_format = pinfo->format; in parse_gbm_format()
1443 const char *gbm_format) in drm_output_set_gbm_format() argument
1448 if (parse_gbm_format(gbm_format, b->gbm_format, &output->gbm_format) == -1) in drm_output_set_gbm_format()
1449 output->gbm_format = b->gbm_format; in drm_output_set_gbm_format()
1686 output->scanout_plane->formats[0].format = output->gbm_format; in drm_output_init_crtc()
2823 if (output->gbm_format != DRM_FORMAT_XRGB8888) { in recorder_binding()
2943 if (parse_gbm_format(config->gbm_format, DRM_FORMAT_XRGB8888, &b->gbm_format) < 0) in drm_backend_create()
Ddrm-internal.h265 uint32_t gbm_format; member
516 uint32_t gbm_format; member
774 parse_gbm_format(const char *s, uint32_t default_value, uint32_t *gbm_format);
/third_party/weston/include/libweston/
Dbackend-drm.h74 const char *gbm_format);
116 const char *gbm_format);
199 char *gbm_format; member
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c606 gbm_format_to_dri_format(uint32_t gbm_format) in gbm_format_to_dri_format() argument
608 gbm_format = gbm_core.v0.format_canonicalize(gbm_format); in gbm_format_to_dri_format()
610 if (gbm_dri_visuals_table[i].gbm_format == gbm_format) in gbm_format_to_dri_format()
622 return gbm_dri_visuals_table[i].gbm_format; in gbm_dri_to_gbm_format()
961 int gbm_format; in gbm_dri_bo_import() local
990 gbm_format = wb->format; in gbm_dri_bo_import()
1006 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import()
1007 if (gbm_format == 0) { in gbm_dri_bo_import()
1037 gbm_format = fd_data->format; in gbm_dri_bo_import()
1073 gbm_format = fourcc; in gbm_dri_bo_import()
[all …]
Dgbm_driint.h44 uint32_t gbm_format; member
/third_party/weston/remoting/
Dremoting-plugin.c74 uint32_t gbm_format; member
81 .gbm_format = DRM_FORMAT_XRGB8888,
85 .gbm_format = DRM_FORMAT_RGB565,
89 .gbm_format = DRM_FORMAT_XRGB2101010,
847 const char *gbm_format) in remoting_output_set_gbm_format() argument
857 format = api->set_gbm_format(output, gbm_format); in remoting_output_set_gbm_format()
860 if (format == supported_formats[i].gbm_format) { in remoting_output_set_gbm_format()
Dremoting-plugin.h52 const char *gbm_format);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/gbm/
Dgstglwindow_gbm_egl.c341 EGLint gbm_format; in gst_gl_window_gbm_init_surface() local
356 EGL_NATIVE_VISUAL_ID, &gbm_format)) { in gst_gl_window_gbm_init_surface()
366 hdisplay, vdisplay, gbm_format, in gst_gl_window_gbm_init_surface()
/third_party/EGL/extensions/KHR/
DEGL_KHR_platform_gbm.txt221 EGLint gbm_format;
224 EGL_NATIVE_VISUAL_ID, &gbm_format)) {
228 if (gbm_format == GBM_FORMAT_XRGB8888) {
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_platform_gbm.txt221 EGLint gbm_format;
224 EGL_NATIVE_VISUAL_ID, &gbm_format)) {
228 if (gbm_format == GBM_FORMAT_XRGB8888) {
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/
DEGL_MESA_platform_gbm.txt221 EGLint gbm_format;
224 EGL_NATIVE_VISUAL_ID, &gbm_format)) {
228 if (gbm_format == GBM_FORMAT_XRGB8888) {
/third_party/weston/libweston/backend-hdi/
Dhdi_backend.h80 uint32_t gbm_format; member
Dhdi_backend.cpp88 uint32_t format[3] = { b->gbm_format, 0, 0, }; in hdi_gl_renderer_init()
/third_party/EGL/extensions/MESA/
DEGL_MESA_platform_gbm.txt219 EGLint gbm_format;
222 EGL_NATIVE_VISUAL_ID, &gbm_format)) {
226 if (gbm_format == GBM_FORMAT_XRGB8888) {
/third_party/weston/compositor/
Dmain.c1729 char *gbm_format = NULL; in drm_backend_output_configure() local
1770 "gbm-format", &gbm_format, NULL); in drm_backend_output_configure()
1772 api->set_gbm_format(output, gbm_format); in drm_backend_output_configure()
1773 free(gbm_format); in drm_backend_output_configure()
2247 char *gbm_format = NULL; in drm_backend_remoted_output_configure() local
2268 weston_config_section_get_string(section, "gbm-format", &gbm_format, in drm_backend_remoted_output_configure()
2270 api->set_gbm_format(output, gbm_format); in drm_backend_remoted_output_configure()
2271 free(gbm_format); in drm_backend_remoted_output_configure()
2550 "gbm-format", &config.gbm_format, in load_drm_backend()
2574 free(config.gbm_format); in load_drm_backend()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c116 if (visual->gbm_format == surface->v0.format) in dri2_drm_config_is_compatible()
646 EGL_NATIVE_VISUAL_ID, visuals[j].gbm_format, in drm_add_configs_for_visuals()
664 gbm_format_get_name(visuals[i].gbm_format, &desc)); in drm_add_configs_for_visuals()