VirtualBox

Ignore:
Timestamp:
Mar 20, 2020 4:19:35 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136558
Message:

VMSVGA: Implemented SVGA_CMD_RECT_COPY (see bugref:9424).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/vmsvga/svga_reg.h

    r83274 r83354  
    10111011   SVGA_CMD_INVALID_CMD           = 0,
    10121012   SVGA_CMD_UPDATE                = 1,
     1013   SVGA_CMD_RECT_FILL             = 2,  // No longer documented, used by old drivers.
    10131014   SVGA_CMD_RECT_COPY             = 3,
     1015   SVGA_CMD_RECT_ROP_COPY         = 14, // No longer documented, used by old drivers.
    10141016   SVGA_CMD_DEFINE_CURSOR         = 19,
    10151017   SVGA_CMD_DISPLAY_CURSOR        = 20, // Deprecated.
     
    10741076
    10751077/*
     1078 * SVGA_CMD_RECT_FILL --
     1079 *
     1080 *    Fill a rectangular area in the the GFB, and copy the result
     1081 *    to any screens which intersect it.
     1082 *
     1083 *    Deprecated?
     1084 *
     1085 * Availability:
     1086 *    SVGA_CAP_RECT_FILL
     1087 */
     1088
     1089typedef
     1090struct {
     1091   uint32_t pixel;
     1092   uint32_t destX;
     1093   uint32_t destY;
     1094   uint32_t width;
     1095   uint32_t height;
     1096} SVGAFifoCmdRectFill;
     1097
     1098
     1099/*
    10761100 * SVGA_CMD_RECT_COPY --
    10771101 *
     
    10921116   uint32_t height;
    10931117} SVGAFifoCmdRectCopy;
     1118
     1119
     1120/*
     1121 * SVGA_CMD_RECT_ROP_COPY --
     1122 *
     1123 *    Perform a rectangular DMA transfer from one area of the GFB to
     1124 *    another using a a raster op, and copy the result to any screens
     1125 *    which intersect it.
     1126 *
     1127 *    XFree86 4.1.0/4.2.0 drivers incorrectly use this command when
     1128 *    SVGA_CAP_RECT_COPY is present even when SVGA_CAP_RASTER_OP is not.
     1129 *
     1130 * Availability:
     1131 *    SVGA_CAP_RECT_COPY + SVGA_CAP_RASTER_OP
     1132 */
     1133
     1134typedef
     1135struct {
     1136   uint32_t srcX;
     1137   uint32_t srcY;
     1138   uint32_t destX;
     1139   uint32_t destY;
     1140   uint32_t width;
     1141   uint32_t height;
     1142   uint32_t rop;
     1143} SVGAFifoCmdRectRopCopy;
    10941144
    10951145
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette