* Shared memory pixmaps ... DUnix4.0e and Xp1000.
@ 1999-08-19 4:00 Maximilien Lincourt
1999-08-20 4:00 ` Mattias Engdeg�rd
0 siblings, 1 reply; 2+ messages in thread
From: Maximilien Lincourt @ 1999-08-19 4:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1974 bytes --]
Using a Dec Xp1000 ( DUnix 4.0e ) and the PowerStorm 300 graphic
card.
We have problems with our software that uses the X11 Shared
memory extensions and the shared memory pixmaps, it seems that
the Xserver does not support the shared memory pixmaps.
when using a test program that calls XShmQueryExtenstion everything
is OK, but when I call XShmQueryVersion, the function returns that
I don't have the Shared memory pixmaps. ( the last parameter of
the XShmQueryVersion ).
On an older AlphaStation 250 4/266 ( DUnix 4.0e ), the same program
reports that I have access to Shared pixmaps. this is an older
machine.
The questions are : can it be possible that a particular
graphic card ( PowerStorm 300 ) does not support Shared pixmap ?
or is it only the XServer that does not ?
Is there any configuration switches that I have to do to
configure the XServer so it can support the shared pixmaps ?
I have some difficulty in understanding why ( if it's the case) a
more recent hardware can't support shared pixmaps ? is it that it's
not
fast enough ?
anyway,
Thanks for any informations or hints.
Max.
P.S. here's the small test program to see if I have access to
shared pixmaps:
/********** test program **************/
/* cc test.c -o test -lXext -lX11 */
#include <stdio.h>
#include <X11/Xlib.h>
/*XTestQueryExtension*/
int main ( int argc, char** argv)
{
Display *dpy;
int minor;
int major;
int pixmap;
int status;
dpy = XOpenDisplay(":0.0");
if (!dpy)
{
printf("no Display\n");
return -1;
}
status = XShmQueryExtension(dpy );
printf( " status : %i\n", status );
status = XShmQueryVersion(dpy, &major, &minor, &pixmap );
printf( " status : %i\n", status );
printf( " major : %i\n", major );
printf( " minor : %i\n", minor );
printf( " pixmap : %i\n", pixmap );
return 1;
}
--
Maximilien Lincourt, B. info., Software developer
mailto:max@toonboom.com http://www.toonboom.com
[-- Attachment #2: Card for Maximilien Lincourt --]
[-- Type: text/x-vcard, Size: 264 bytes --]
begin:vcard
n:Lincourt;Maximilien
x-mozilla-html:FALSE
org:Toonboom Technologies Inc.;Research and Development
adr:;;;;;;
version:2.1
email;internet:max@toonboom.com
title:Programmer / Technical Leader TicTacToon
x-mozilla-cpt:;0
fn:Maximilien Lincourt
end:vcard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Shared memory pixmaps ... DUnix4.0e and Xp1000.
1999-08-19 4:00 Shared memory pixmaps ... DUnix4.0e and Xp1000 Maximilien Lincourt
@ 1999-08-20 4:00 ` Mattias Engdeg�rd
0 siblings, 0 replies; 2+ messages in thread
From: Mattias Engdeg�rd @ 1999-08-20 4:00 UTC (permalink / raw)
Maximilien Lincourt <max@toonboom.com> writes:
> I have some difficulty in understanding why ( if it's the case) a
>more recent hardware can't support shared pixmaps ? is it that it's
>not
>fast enough ?
Maybe the server stores pixmaps in video memory on that newer board.
So you'll have to use shared images instead of pixmaps. The speed is
likely to be similar.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-20 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-19 4:00 Shared memory pixmaps ... DUnix4.0e and Xp1000 Maximilien Lincourt
1999-08-20 4:00 ` Mattias Engdeg�rd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox