SpiceClientGLib.DisplayPrimary
Description: Reference for SpiceClientGLib.DisplayPrimary

### Struct

# SpiceClientGLibDisplayPrimary

#### Description [src]

    struct SpiceDisplayPrimary {
      SpiceSurfaceFmt format;
      gint width;
      gint height;
      gint stride;
      gint shmid;
      guint8* data;
      gboolean marked;
    }

Holds the information necessary to use the primary surface.

###### Structure members

`format:` `SpiceSurfaceFmt`

  Primary buffer format.

`width:` `gint`

  Width of the primary.

`height:` `gint`

  Height of the primary.

`stride:` `gint`

  Stride of the primary.

`shmid:` `gint`

  Identifier of the shared memory segment associated with the `data`, or -1 if not shm.

`data:` `guint8*`

  Pointer to primary buffer.

`marked:` `gboolean`

  Whether the display is marked ready.