summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/Graphics/vmsvga/svga_overlay.h
blob: 08aae92de8e4bd40d9d584c0010192d40ec88944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * VMware SVGA video overlay definitions
 */

#ifndef _SVGA_OVERLAY_H_
#define _SVGA_OVERLAY_H_

#define SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS    0x00020001
#define SVGA_ESCAPE_VMWARE_VIDEO_FLUSH       0x00020002

typedef struct SVGAEscapeVideoSetRegs
{
   struct
   {
      uint32_t cmdType;
      uint32_t streamId;
   } header;

   struct
   {
      uint32_t registerId;
      uint32_t value;
   } items[1];
} SVGAEscapeVideoSetRegs;

typedef struct SVGAEscapeVideoFlush
{
   uint32_t cmdType;
   uint32_t streamId;
} SVGAEscapeVideoFlush;

#endif /* _SVGA_OVERLAY_H_ */