Date: Fri, 27 Jul 2012 14:59:41 GMT From: Brooks Davis <brooks@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 215006 for review Message-ID: <201207271459.q6RExfOb086239@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@215006?ac=10 Change 215006 by brooks@brooks_ecr_current on 2012/07/27 14:59:07 After writing to the pixel framebuffer turn it on. This is a touch heavyhanded, but thus far has been what I've ment. Affected files ... .. //depot/projects/ctsrd/beribsd/src/ctsrd/mtlctl/mtlctl.c#4 edit Differences ... ==== //depot/projects/ctsrd/beribsd/src/ctsrd/mtlctl/mtlctl.c#4 (text+ko) ==== @@ -260,6 +260,8 @@ pixel = fb_colour((color >> 16) & 0xFF, (color >> 16) & 0xFF, color & 0xFF); fb_fill(pixel); + /* XXX: A bit too heavyhanded */ + fb_blend(0,0,255,0); } else if (strcmp(argv[1], "fbloaddump") == 0) { if (argc != 3) usage(); @@ -271,6 +273,8 @@ err(1, "read"); } fb_post(image); + /* XXX: A bit too heavyhanded */ + fb_blend(0,0,255,0); close(fd); } else if (strcmp(argv[1], "fbloadpng") == 0) { if (argc != 3) @@ -280,6 +284,8 @@ if (read_png_fd(fd, image, fb_width, fb_height) == -1) err(1, "read_png_fd"); fb_post(image); + /* XXX: A bit too heavyhanded */ + fb_blend(0,0,255,0); close(fd); } else if (strcmp(argv[1], "gesture") == 0) { print_gesture(); @@ -304,6 +310,8 @@ fb_colour(0xff, 0xff, 0xff) : fb_colour(0, 0, 0); fb_post(image); + /* XXX: A bit too heavyhanded */ + fb_blend(0,0,255,0); } else usage();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207271459.q6RExfOb086239>