PERFORCE change 215006 for review
Brooks Davis
brooks at FreeBSD.org
Fri Jul 27 14:59:43 UTC 2012
http://p4web.freebsd.org/@@215006?ac=10
Change 215006 by brooks at 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();
More information about the p4-projects
mailing list