From 6092fbed46302e2bdf6c6f2e229f4e393652e228 Mon Sep 17 00:00:00 2001 From: Christian König Date: Wed, 27 Apr 2011 13:01:01 +0200 Subject: [g3dvl] move compositor src and dst normalisation into layer setting --- src/gallium/auxiliary/vl/vl_compositor.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary/vl/vl_compositor.h') diff --git a/src/gallium/auxiliary/vl/vl_compositor.h b/src/gallium/auxiliary/vl/vl_compositor.h index 0bce04fcbf8..339ea415e8a 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.h +++ b/src/gallium/auxiliary/vl/vl_compositor.h @@ -32,6 +32,8 @@ #include #include +#include "vl_types.h" + struct pipe_context; #define VL_COMPOSITOR_MAX_LAYERS 16 @@ -41,8 +43,9 @@ struct vl_compositor_layer void *fs; void *samplers[3]; struct pipe_sampler_view *sampler_views[3]; - struct pipe_video_rect src_rect; - struct pipe_video_rect dst_rect; + struct { + struct vertex2f tl, br; + } src, dst; }; struct vl_compositor -- cgit v1.2.3