mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-08 13:29:45 -05:00
Split DRM rendering to its own file
This commit is contained in:
parent
d0708b1a3a
commit
096249a2a1
8 changed files with 202 additions and 165 deletions
|
|
@ -84,10 +84,10 @@ static void set_plane_props(struct atomic *atom, struct wlr_drm_plane *plane,
|
|||
// The src_* properties are in 16.16 fixed point
|
||||
atomic_add(atom, id, props->src_x, 0);
|
||||
atomic_add(atom, id, props->src_y, 0);
|
||||
atomic_add(atom, id, props->src_w, plane->width << 16);
|
||||
atomic_add(atom, id, props->src_h, plane->height << 16);
|
||||
atomic_add(atom, id, props->crtc_w, plane->width);
|
||||
atomic_add(atom, id, props->crtc_h, plane->height);
|
||||
atomic_add(atom, id, props->src_w, plane->surf.width << 16);
|
||||
atomic_add(atom, id, props->src_h, plane->surf.height << 16);
|
||||
atomic_add(atom, id, props->crtc_w, plane->surf.width);
|
||||
atomic_add(atom, id, props->crtc_h, plane->surf.height);
|
||||
atomic_add(atom, id, props->fb_id, fb_id);
|
||||
atomic_add(atom, id, props->crtc_id, crtc_id);
|
||||
if (set_crtc_xy) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue