Home
last modified time | relevance | path

Searched refs:rgba_shifts (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c123 if (shifts[0] != visual->rgba_shifts.red || in dri2_drm_config_is_compatible()
124 shifts[1] != visual->rgba_shifts.green || in dri2_drm_config_is_compatible()
125 shifts[2] != visual->rgba_shifts.blue || in dri2_drm_config_is_compatible()
126 (shifts[3] > -1 && visual->rgba_shifts.alpha > -1 && in dri2_drm_config_is_compatible()
127 shifts[3] != visual->rgba_shifts.alpha) || in dri2_drm_config_is_compatible()
634 if (visuals[j].rgba_shifts.red != shifts[0] || in drm_add_configs_for_visuals()
635 visuals[j].rgba_shifts.green != shifts[1] || in drm_add_configs_for_visuals()
636 visuals[j].rgba_shifts.blue != shifts[2] || in drm_add_configs_for_visuals()
637 visuals[j].rgba_shifts.alpha != shifts[3] || in drm_add_configs_for_visuals()
Dplatform_wayland.c74 int rgba_shifts[4]; member
169 int cmp_rgb_shifts = memcmp(shifts, wl_visual->rgba_shifts, in dri2_wl_visual_idx_from_config()
175 wl_visual->rgba_shifts[3] == (force_opaque ? -1 : shifts[3]) && in dri2_wl_visual_idx_from_config()
649 int cmp_rgb_shifts = memcmp(transparent_visual->rgba_shifts, in dri2_wl_create_window_surface()
650 opaque_visual->rgba_shifts, in dri2_wl_create_window_surface()
651 3 * sizeof(opaque_visual->rgba_shifts[0])); in dri2_wl_create_window_surface()
2015 … count + 1, EGL_WINDOW_BIT, NULL, dri2_wl_visuals[j].rgba_shifts, dri2_wl_visuals[j].rgba_sizes); in dri2_wl_add_configs_for_visuals()
2049 dri2_wl_visuals[c].rgba_shifts, in dri2_wl_add_configs_for_visuals()
Degl_dri2.c81 int rgba_shifts[4]; member
384 if (shifts[0] == visual->rgba_shifts[0] && in dri2_image_format_for_pbuffer_config()
385 shifts[1] == visual->rgba_shifts[1] && in dri2_image_format_for_pbuffer_config()
386 shifts[2] == visual->rgba_shifts[2] && in dri2_image_format_for_pbuffer_config()
387 shifts[3] == visual->rgba_shifts[3] && in dri2_image_format_for_pbuffer_config()
402 const int *rgba_shifts, const unsigned int *rgba_sizes) in dri2_add_config() argument
550 if (rgba_shifts && memcmp(rgba_shifts, dri_shifts, sizeof(dri_shifts))) in dri2_add_config()
635 dri2_pbuffer_visuals[j].rgba_shifts, dri2_pbuffer_visuals[j].rgba_sizes); in dri2_add_pbuffer_configs_for_visuals()
Dplatform_x11.c814 int rgba_shifts[4] = { in dri2_x11_add_configs_for_visuals() local
830 rgba_shifts, rgba_sizes); in dri2_x11_add_configs_for_visuals()
847 rgba_shifts[3] = ffs(rgba_mask) - 1; in dri2_x11_add_configs_for_visuals()
851 rgba_shifts, rgba_sizes); in dri2_x11_add_configs_for_visuals()
Dplatform_ohos.c867 int rgba_shifts[4]; in ohos_add_configs_for_visuals() member
898 visuals[i].rgba_shifts, visuals[i].rgba_sizes); in ohos_add_configs_for_visuals()
Degl_dri2.h485 const int *rgba_shifts, const unsigned int *rgba_sizes);
Dplatform_android.c1279 int rgba_shifts[4]; in droid_add_configs_for_visuals() member
1333 visuals[i].rgba_shifts, visuals[i].rgba_sizes); in droid_add_configs_for_visuals()
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_driint.h52 } rgba_shifts; member