From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,5d9d456b50de2dab,start X-Google-Attributes: gid103734,public X-Google-Thread: fee84,5d9d456b50de2dab,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,5d9d456b50de2dab,start X-Google-Attributes: gid1164f8,public From: Maximilien Lincourt Subject: Shared memory pixmaps ... DUnix4.0e and Xp1000. Date: 1999/08/19 Message-ID: <37BC8C36.54E6E76D@toonboom.com>#1/1 X-Deja-AN: 514881362 X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------6A1D8D135022CDEAD6632EA8" Organization: ToonBoom Technologies inc. Mime-Version: 1.0 Newsgroups: comp.windows.x,comp.unix.osf.osf1,comp.sys.dec This is a multi-part message in MIME format. --------------6A1D8D135022CDEAD6632EA8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 #include /*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 --------------6A1D8D135022CDEAD6632EA8 Content-Type: text/x-vcard; charset=us-ascii; name="max.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Maximilien Lincourt Content-Disposition: attachment; filename="max.vcf" 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 --------------6A1D8D135022CDEAD6632EA8--