From: Gerd Knorr <kraxel@bytesex.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: User-mode Linux Kernel Development
<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] gdkfb
Date: Tue, 24 Aug 2004 11:11:16 +0200 [thread overview]
Message-ID: <20040824091116.GA1138@bytesex> (raw)
In-Reply-To: <Pine.LNX.4.58.0408232116540.13834@anakin>
> That's indeed simple. Have you tried running on X with depth 24?
Looks much better now, hope I didn't broke 16 bpp ;)
Gerd
--- arch/um/drivers/x11_user.c~ 2004-08-23 14:56:49.000000000 +0200
+++ arch/um/drivers/x11_user.c 2004-08-24 11:06:44.286858589 +0200
@@ -233,7 +233,7 @@
if (0 == n)
goto fail_free;
win->vi = info[0];
- bytes_pp = (win->vi.depth+7)/8;
+// bytes_pp = (win->vi.depth+7)/8;
XFree(info);
if (win->vi.class != TrueColor && win->vi.class != DirectColor)
goto fail_free;
@@ -246,6 +246,7 @@
width, height);
if (NULL == win->ximage)
goto shm_error;
+ bytes_pp = win->ximage->bitmap_pad/8;
win->shminfo.shmid = shmget(IPC_PRIVATE,
win->ximage->bytes_per_line * win->ximage->height,
IPC_CREAT | 0777);
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-08-24 9:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 10:18 [uml-devel] gdkfb Geert Uytterhoeven
2004-08-02 21:25 ` [uml-devel] gdkfb Geert Uytterhoeven
2004-08-23 15:15 ` [uml-devel] gdkfb Gerd Knorr
2004-08-23 16:52 ` Digital Infra, Inc.
2004-08-23 19:40 ` Geert Uytterhoeven
2004-08-24 8:47 ` Gerd Knorr
2004-08-24 9:05 ` Geert Uytterhoeven
2004-08-24 9:11 ` Gerd Knorr [this message]
2004-08-25 19:11 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040824091116.GA1138@bytesex \
--to=kraxel@bytesex.org \
--cc=geert@linux-m68k.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox