Home
last modified time | relevance | path

Searched refs:scanout_state (Results 1 – 4 of 4) sorted by relevance

/third_party/weston/libweston/backend-drm/
Dkms.c668 struct drm_plane_state *scanout_state; in drm_output_apply_state_legacy() local
719 scanout_state = in drm_output_apply_state_legacy()
724 assert(scanout_state->src_x == 0); in drm_output_apply_state_legacy()
725 assert(scanout_state->src_y == 0); in drm_output_apply_state_legacy()
726 assert(scanout_state->src_w == in drm_output_apply_state_legacy()
728 assert(scanout_state->src_h == in drm_output_apply_state_legacy()
730 assert(scanout_state->dest_x == 0); in drm_output_apply_state_legacy()
731 assert(scanout_state->dest_y == 0); in drm_output_apply_state_legacy()
732 assert(scanout_state->dest_w == scanout_state->src_w >> 16); in drm_output_apply_state_legacy()
733 assert(scanout_state->dest_h == scanout_state->src_h >> 16); in drm_output_apply_state_legacy()
[all …]
Ddrm-virtual.c140 struct drm_plane_state *scanout_state; in drm_virtual_output_repaint() local
165 scanout_state = drm_output_state_get_plane(state, scanout_plane); in drm_virtual_output_repaint()
166 if (!scanout_state || !scanout_state->fb) in drm_virtual_output_repaint()
169 if (drm_virtual_output_submit_frame(output, scanout_state->fb) < 0) in drm_virtual_output_repaint()
Dstate-propose.c639 struct drm_plane_state *scanout_state, in drm_output_prepare_plane_view() argument
682 assert(scanout_state != NULL); in drm_output_prepare_plane_view()
683 if (scanout_state->zpos >= plane->zpos_max) { in drm_output_prepare_plane_view()
688 plane->plane_id, scanout_state->zpos, in drm_output_prepare_plane_view()
769 struct drm_plane_state *scanout_state = NULL; in drm_output_propose_state() local
819 scanout_state = drm_plane_state_duplicate(state, in drm_output_propose_state()
822 scanout_state->zpos = plane->zpos_min; in drm_output_propose_state()
828 scanout_state->zpos); in drm_output_propose_state()
926 scanout_state, in drm_output_propose_state()
1018 assert(scanout_state->fb->type == BUFFER_GBM_SURFACE || in drm_output_propose_state()
[all …]
Ddrm.c363 struct drm_plane_state *scanout_state; in drm_output_render() local
375 scanout_state = drm_output_state_get_plane(state, in drm_output_render()
377 if (scanout_state->fb) in drm_output_render()
398 drm_plane_state_put_back(scanout_state); in drm_output_render()
402 scanout_state->fb = fb; in drm_output_render()
403 scanout_state->output = output; in drm_output_render()
405 scanout_state->src_x = 0; in drm_output_render()
406 scanout_state->src_y = 0; in drm_output_render()
407 scanout_state->src_w = fb->width << 16; in drm_output_render()
408 scanout_state->src_h = fb->height << 16; in drm_output_render()
[all …]