mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-19 05:46:25 +00:00
testdisplay: Remove printing out the eyes geometry
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
21a89a9f07
commit
28cf66de94
@ -428,12 +428,6 @@ static void box_init(struct box *box, int x, int y, int bwidth, int bheight)
|
|||||||
box->height = bheight;
|
box->height = bheight;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void box_print(const char * prefix, struct box *box)
|
|
||||||
{
|
|
||||||
printf("%s: %d, %d, %d, %d\n", prefix,
|
|
||||||
box->x, box->y, box->width, box->height);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void stereo_fb_layout_from_mode(struct stereo_fb_layout *layout,
|
static void stereo_fb_layout_from_mode(struct stereo_fb_layout *layout,
|
||||||
drmModeModeInfo *mode)
|
drmModeModeInfo *mode)
|
||||||
{
|
{
|
||||||
@ -501,8 +495,6 @@ static uint32_t create_stereo_fb(drmModeModeInfo *mode, struct kmstest_fb *fb)
|
|||||||
uint32_t fb_id;
|
uint32_t fb_id;
|
||||||
|
|
||||||
stereo_fb_layout_from_mode(&layout, mode);
|
stereo_fb_layout_from_mode(&layout, mode);
|
||||||
box_print("left: ", &layout.left);
|
|
||||||
box_print("right: ", &layout.right);
|
|
||||||
fb_id = kmstest_create_fb(drm_fd, layout.fb_width, layout.fb_height,
|
fb_id = kmstest_create_fb(drm_fd, layout.fb_width, layout.fb_height,
|
||||||
bpp, depth, enable_tiling, fb);
|
bpp, depth, enable_tiling, fb);
|
||||||
cr = kmstest_get_cairo_ctx(drm_fd, fb);
|
cr = kmstest_get_cairo_ctx(drm_fd, fb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user