Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Nov 2001 02:53:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Nov 2001 02:53:17 -0500 Received: from mail.sonytel.be ([193.74.243.200]:14512 "EHLO mail.sonytel.be") by vger.kernel.org with ESMTP id ; Thu, 29 Nov 2001 02:53:10 -0500 Date: Thu, 29 Nov 2001 08:52:56 +0100 (MET) From: Geert Uytterhoeven To: James Simmons cc: Linux Kernel Mailing List , Linux Fbdev development list , Linux console project Subject: Re: [PATCH] Hooks for new fbdev api In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Nov 2001, James Simmons wrote: > +struct fb_copyarea { > + __u32 sx; /* screen-relative */ > + __u32 sy; > + __u32 width; > + __u32 height; > + __u32 dx; > + __u32 dy; > +}; > + > +struct fb_fillrect { > + __u32 x1; /* screen-relative */ > + __u32 y1; Why call them x1 and y1 here? > + __u32 width; > + __u32 height; > + __u32 color; > + __u32 rop; > +}; > + > +struct fb_image { > + __u32 width; /* Size of image */ > + __u32 height; > + __u16 x; /* Where to place image */ > + __u16 y; And x and y here? I'd vote for either x/y or dx/dy (destinatation x/y). > + __u32 fg_color; /* Only used when a mono bitmap */ > + __u32 bg_color; > + __u8 depth; /* Dpeth of the image */ Depth > + char *data; /* Pointer to image data */ > +}; > + Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/