From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,680cc30ca84235a0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-04-15 05:14:26 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!athena.uto.dec.com!beyer From: beyer@athena.uto.dec.com (Peter Beyer) Subject: Re: DEC pixmap size Message-ID: <1993Apr15.114924.4036@nntpd.lkg.dec.com> Sender: beyer@beyer.uto.dec.com (Peter Beyer) Reply-To: beyer@athena.uto.dec.com Organization: Digital Equipment Corporation References: <1963@igd.fhg.de> Date: Thu, 15 Apr 1993 11:49:24 GMT In article <1963@igd.fhg.de>, haase@igd.fhg.de (Helmut Haase (Goebel)) writes: >Hi everyone, > >I've got a problem concerning the maximum size of X pixmaps in DECwindows. > >I am using a DECstation 5000/200 running ULTRIX V4.2 (Rev. 96) System #2 >and UWS V4.2 (Rev. 272) (DECwindows). Our color display has 1280x1024 >pixels. > >When creating a pixmap using the function > XCreatePixmap(display, window, width, height, 1); >I succeed if "width x height" dos not exceed 1280x1024. > >If I try to create a pixmap larger than the size of my screen the program >will terminate displaying the message: > >X Error: BadAlloc - insufficient resources > Request Major code 53 () > Error Serial #225 > Current Serial #308 The maximum size of a pixmap is totaly implementation dependent. Since X is network transparent, your application must be able to display on any variety of X-servers. As many servers, from DEC and from other vendors, limit the size of the pixmap to the size of the screen, your application must be able to deal with this limit. That is, if you want to be interoperable /Peter -- Peter Beyer Windows, Graphics & Multimedia Digital Equipment b.v. beyer@utrtsc.enet.dec.com beyer@athena.uto.dec.com