diff options
author | chandra konduru <chandra.konduru@intel.com> | 2015-03-30 13:52:04 -0700 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-04-14 17:44:34 +0100 |
commit | a26f9f9ad0e679c7ce413a25d34f6914e1174151 (patch) | |
tree | 4720fad162e0b2e61a49a88988f20cb909271173 /lib/igt_fb.h | |
parent | ace4208702c59205754507bec0c9ae4401a4f865 (diff) |
i-g-t: Adding plane scaling test case
This patch is adding i-g-t plane scaling test case to test couple basic
display plane scaling usages. Additional test scenarios can be added later.
v2:
-Added iterative scaling to visually observe scaling (me)
v3:
-Added a flag to control primary plane scaling (me)
v4:
-Use new tiled types when calling igt_create_fb (me)
Signed-off-by: chandra konduru <chandra.konduru@intel.com>
[Thomas: convert test to use igt_simple_main]
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r-- | lib/igt_fb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_fb.h b/lib/igt_fb.h index bafafcd2..a07acd24 100644 --- a/lib/igt_fb.h +++ b/lib/igt_fb.h @@ -54,6 +54,10 @@ struct igt_fb { uint64_t tiling; unsigned size; cairo_surface_t *cairo_surface; + uint32_t src_x; + uint32_t src_y; + uint32_t src_w; + uint32_t src_h; }; enum igt_text_align { |