Lines Matching refs:screen_width
38 static unsigned int screen_width, screen_height; variable
202 img_w = screen_width; in g2d_solid_fill_test()
254 img_w = screen_width; in g2d_copy_test()
350 checkerboard = create_checkerboard_pattern(screen_width / 64, screen_height / 64, 32); in g2d_move_test()
356 img_w = (screen_width / 64) * 32; in g2d_move_test()
375 img.width = screen_width; in g2d_move_test()
377 img.stride = screen_width * 4; in g2d_move_test()
383 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
391 ret = g2d_solid_fill(ctx, &img, 0, 0, screen_width, screen_height) || in g2d_move_test()
411 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
459 img_w = screen_width; in g2d_copy_with_scale_test()
547 img_w = screen_width; in g2d_blend_test()
647 checkerboard = create_checkerboard_pattern(screen_width / 32, screen_height / 32, 32); in g2d_checkerboard_test()
653 img_w = screen_width - (screen_width % 32); in g2d_checkerboard_test()
680 dst_img.width = screen_width; in g2d_checkerboard_test()
686 ret = g2d_solid_fill(ctx, &dst_img, src_x, src_y, screen_width, screen_height); in g2d_checkerboard_test()
779 screen_width = con.mode->hdisplay; in main()
782 if (screen_width == 0 || screen_height == 0) { in main()
788 printf("screen width = %d, screen height = %d\n", screen_width, in main()
791 bo = exynos_create_buffer(dev, screen_width * screen_height * 4, 0); in main()
798 pitches[0] = screen_width * 4; in main()
801 ret = drmModeAddFB2(dev->fd, screen_width, screen_height, in main()
807 memset(bo->vaddr, 0xff, screen_width * screen_height * 4); in main()
821 src = exynos_create_buffer(dev, screen_width * screen_height * 4, 0); in main()