DIRECTORY SF USING [Box], ImagerSample USING [BitsPerSample, RasterSampleMap, SampleMap], Xl USING [Connection, Drawable, nullDrawable, Pixmap]; XlShmPixmaps: CEDAR DEFINITIONS ~ BEGIN NewSharedSampleMap: PROC [box: SF.Box, bitsPerSample: ImagerSample.BitsPerSample ¬ 1] RETURNS [ImagerSample.RasterSampleMap]; SampleMapSupportsThis: PROC [sm: ImagerSample.SampleMap] RETURNS [BOOL]; UnsafeCreatePixmap: PROC [c: Xl.Connection, drawable: Xl.Drawable ¬ Xl.nullDrawable, sm: ImagerSample.RasterSampleMap] RETURNS [Xl.Pixmap]; ConnectionSupportsThis: PROC [c: Xl.Connection] RETURNS [BOOL]; ConnectionSupportsPixmaps: PROC [c: Xl.Connection] RETURNS [BOOL]; END. Ζ XlShmPixmaps.mesa Copyright Σ 1990, 1991 by Xerox Corporation. All rights reserved. Created by Christian Jacobi, January 31, 1990 Christian Jacobi, February 5, 1990 Christian Jacobi, August 14, 1991 10:54 am PDT Creates new sample map in shared memory. May return NIL if not enough shared memory is available. Supports only few bitsPerSample values known to work for X Pixmaps. The created sample map may be slightly larger to fit machine dependent alignment conditions. Returns whether sample map is allocated in shared memory using NewSharedSampleMap Unsafe because X server might keep referencing SampleMap after it has been garbage collected. Samplemap must have been created with NewSharedSampleMap. Does synch; errors raised inline.. Returns whether the connection supports shared memory with the caller. If c=NIL, returns whether shared memory is available in general. Returns whether the connection supports shared memory pixmaps with the caller Κ‰•NewlineDelimiter –(cedarcode) style™šœ™Icodešœ Οeœ7™BKšœ-™-Kšœ"™"K™.K™—šΟk ˜ Kšžœžœ˜Kšœ žœ-˜?Kšœžœ.˜6K˜—KšΟn œžœž ˜Kšœž˜K˜šŸœžœžœ5žœ ˜}Kšœ(™(K™9KšœC™CK™\K˜—šŸœžœžœžœ˜HKšœQ™QK˜—šŸœžœ_žœ ˜‹Kšœ]™]Kšœ9™9Kšœ"™"K˜—šŸœžœžœžœ˜?KšœF™FK™@K™—šŸœžœžœžœ˜BKšœM™MK˜—Kšžœ˜K˜K˜K™K˜—…—žν