aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_compositor.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-27 13:01:01 +0200
committerChristian König <[email protected]>2011-04-27 13:01:01 +0200
commit6092fbed46302e2bdf6c6f2e229f4e393652e228 (patch)
tree47eb9e177186c19b073dcca85d17fbbb3e1b92f6 /src/gallium/auxiliary/vl/vl_compositor.h
parent559f6d6cf4a9469c2c6ccea482115f22080f185f (diff)
[g3dvl] move compositor src and dst normalisation into layer setting
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_compositor.h')
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.h7
1 files changed, 5 insertions, 2 deletions
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 <pipe/p_video_context.h>
#include <pipe/p_video_state.h>
+#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