Lines Matching refs:screen_width
47 static unsigned int screen_width, screen_height; variable
209 img_w = screen_width; in g2d_solid_fill_test()
261 img_w = screen_width; in g2d_copy_test()
358 checkerboard = create_checkerboard_pattern(screen_width / 64, screen_height / 64, 32); in g2d_move_test()
364 img_w = (screen_width / 64) * 32; in g2d_move_test()
383 img.width = screen_width; in g2d_move_test()
385 img.stride = screen_width * 4; in g2d_move_test()
391 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
399 ret = g2d_solid_fill(ctx, &img, 0, 0, screen_width, screen_height) || in g2d_move_test()
419 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
467 img_w = screen_width; in g2d_copy_with_scale_test()
557 img_w = screen_width; in g2d_blend_test()
659 checkerboard = create_checkerboard_pattern(screen_width / 32, screen_height / 32, 32); in g2d_checkerboard_test()
665 img_w = screen_width - (screen_width % 32); in g2d_checkerboard_test()
692 dst_img.width = screen_width; in g2d_checkerboard_test()
698 ret = g2d_solid_fill(ctx, &dst_img, src_x, src_y, screen_width, screen_height); in g2d_checkerboard_test()
791 screen_width = con.mode->hdisplay; in main()
794 if (screen_width == 0 || screen_height == 0) { in main()
800 printf("screen width = %d, screen height = %d\n", screen_width, in main()
803 bo = exynos_create_buffer(dev, screen_width * screen_height * 4, 0); in main()
810 pitches[0] = screen_width * 4; in main()
813 ret = drmModeAddFB2(dev->fd, screen_width, screen_height, in main()
819 memset(bo->vaddr, 0xff, screen_width * screen_height * 4); in main()
833 src = exynos_create_buffer(dev, screen_width * screen_height * 4, 0); in main()