Lines Matching refs:screen_width
46 static unsigned int screen_width, screen_height;
208 img_w = screen_width;
260 img_w = screen_width;
357 checkerboard = create_checkerboard_pattern(screen_width / 64, screen_height / 64, 32);
363 img_w = (screen_width / 64) * 32;
382 img.width = screen_width;
384 img.stride = screen_width * 4;
390 cur_x = (screen_width - img_w) / 2;
398 ret = g2d_solid_fill(ctx, &img, 0, 0, screen_width, screen_height) ||
418 cur_x + img_w + s->x >= screen_width ||
466 img_w = screen_width;
556 img_w = screen_width;
658 checkerboard = create_checkerboard_pattern(screen_width / 32, screen_height / 32, 32);
664 img_w = screen_width - (screen_width % 32);
691 dst_img.width = screen_width;
697 ret = g2d_solid_fill(ctx, &dst_img, src_x, src_y, screen_width, screen_height);
790 screen_width = con.mode->hdisplay;
793 if (screen_width == 0 || screen_height == 0) {
799 printf("screen width = %d, screen height = %d\n", screen_width,
802 bo = exynos_create_buffer(dev, screen_width * screen_height * 4, 0);
809 pitches[0] = screen_width * 4;
812 ret = drmModeAddFB2(dev->fd, screen_width, screen_height,
818 memset(bo->vaddr, 0xff, screen_width * screen_height * 4);
832 src = exynos_create_buffer(dev, screen_width * screen_height * 4, 0);