Re: GtkDrawingArea
- From: John Cupitt ng-london org uk
- To: jylam lnxscene org
- Cc: gtk-list gnome org
- Subject: Re: GtkDrawingArea
- Date: Thu, 18 Apr 2002 11:43:36 +0100
Jean-Yves Lamoureux wrote:
> Ok, found the reason :)
> In the doc there is :
> rgb_buf :
> The pixel data, represented as packed
> 24-bit data.
>
>
> So I was thinking buffer was dithered from 24 to XXbpp
It will be dithered if you connect (eg.) to a 15bpp display. If your
display is 24 or 32, it's passed through untouched. It also uses Xshm if
it's available.
testrgb.c does some simple benchmarking of your system so you should be
able to see if it's fast enough.
John
==========================================================
Aelbert Cuyp 13 February - 12 May 2002
For information and tickets:
http://www.nationalgallery.org.uk/exhibitions/cuyp/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]