On Tue,  7 Jun 2011 13:07:39 -0700
Jesse Barnes <jbar...@virtuousgeek.org> wrote:

> +/* Planes blend with or override other bits on the CRTC */
> +struct drm_mode_set_plane {
> +     __u32 plane_id;
> +     __u32 crtc_id;
> +     __u32 fb_id; /* contains surface format type */
> +
> +     __u32 crtc_x, crtc_y;
> +     __u32 x, y;
> +
> +     /* FIXME: color key/mask, scaling, z-order, other? */
> +};

Forgot to add the scaling factors to this.  Would:
  __u32 scaling_x; /* fixed 16.16 format */
  __u32 scaling_y;
work for people?

Color key and z-order can be specified through a new ioctl, as can any
atomic flip that we want to occur with other activity.

-- 
Jesse Barnes, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to