Re: Screen size and rapid display of graphics in gnome
- From: Havoc Pennington <hp redhat com>
- To: Andrew Price <andrew price eng monash edu au>
- Cc: Hassan Aurag <aurag crm umontreal ca>,Loban Rahman <loban enigma caltech edu>, gnome-devel-list gnome org
- Subject: Re: Screen size and rapid display of graphics in gnome
- Date: 21 Jun 2000 20:06:50 -0400
Andrew Price <andrew.price@eng.monash.edu.au> writes:
>
> A second, slightly more taxing question. What is the fastest way to
> display
> a block of memory as a graphic on a gnome desktop. Under Xt I would use
> SHM extensions. Can this be done with gnome, and if so how?
> (To date , SHM extensions want to know about the display, which doesnt
> seem
> to be accessible under gnome)
>
If your block of memory is in the display's format, use GdkImage, it
automatically uses shared memory if it's available. If your block of
memory is in RGB format, use the gdk/gdkrgb.h functions, that will go
via shared memory also.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]