Changeset 34438 in vbox for trunk/include/VBox
- Timestamp:
- Nov 28, 2010 9:56:32 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68211
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideoGuest.h
r34429 r34438 49 49 * via HGSMI 50 50 */ 51 typedef struct _HGSMIGUESTCOMMANDCONTEXT51 typedef struct HGSMIGUESTCOMMANDCONTEXT 52 52 { 53 53 /** Information about the memory heap located in VRAM from which data … … 64 64 * via HGSMI 65 65 */ 66 typedef struct _HGSMIHOSTCOMMANDCONTEXT66 typedef struct HGSMIHOSTCOMMANDCONTEXT 67 67 { 68 68 /** Information about the memory area located in VRAM in which the host … … 85 85 RTIOPORT port; 86 86 } HGSMIHOSTCOMMANDCONTEXT, *PHGSMIHOSTCOMMANDCONTEXT; 87 88 89 typedef struct VBVARECORD VBVARECORD, *PVBVARECORD; 90 typedef struct _VBVABUFFER VBVABUFFER, *PVBVABUFFER; 91 92 /** 93 * Structure grouping the context needed for sending graphics acceleration 94 * information to the host via VBVA. Each screen has its own VBVA buffer. 95 */ 96 typedef struct VBVABUFFERCONTEXT 97 { 98 /** Offset of the buffer in the VRAM section for the screen */ 99 uint32_t offVRAMBuffer; 100 /** Length of the buffer in bytes */ 101 uint32_t cbBuffer; 102 /** This flag is set if we wrote to the buffer faster than the host could 103 * read it. */ 104 bool fHwBufferOverflow; 105 /** The VBVA record that we are currently preparing for the host, NULL if 106 * none. */ 107 VBVARECORD *pRecord; 108 /** Pointer to the VBVA buffer mapped into the current address space. Will 109 * be NULL if VBVA is not enabled. */ 110 VBVABUFFER *pVBVA; 111 } VBVABUFFERCONTEXT, *PVBVABUFFERCONTEXT; 87 112 88 113 /** @name Helper functions … … 231 256 /** @} */ 232 257 258 /** @name VBVA APIs 259 * @{ */ 260 RTDECL(bool) VBoxVBVAEnable(PVBVABUFFERCONTEXT pCtx, 261 PHGSMIGUESTCOMMANDCONTEXT pHGSMICtx, 262 VBVABUFFER *pVBVA); 263 RTDECL(void) VBoxVBVADisable(PVBVABUFFERCONTEXT pCtx, 264 PHGSMIGUESTCOMMANDCONTEXT pHGSMICtx); 265 RTDECL(bool) VBoxVBVABufferBeginUpdate(PVBVABUFFERCONTEXT pCtx, 266 PHGSMIGUESTCOMMANDCONTEXT pHGSMICtx); 267 RTDECL(void) VBoxVBVABufferEndUpdate(PVBVABUFFERCONTEXT pCtx); 268 RTDECL(bool) VBoxVBVAWrite(PVBVABUFFERCONTEXT pCtx, 269 PHGSMIGUESTCOMMANDCONTEXT pHGSMICtx, 270 const void *pv, uint32_t cb); 271 RTDECL(bool) VBoxVBVAOrderSupported(PVBVABUFFERCONTEXT pCtx, unsigned code); 272 RTDECL(void) VBoxHGSMIProcessDisplayInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx, 273 uint32_t cDisplay, 274 int32_t cOriginX, 275 int32_t cOriginY, 276 uint32_t offStart, 277 uint32_t cbPitch, 278 uint32_t cWidth, 279 uint32_t cHeight, 280 uint16_t cBPP); 281 282 /** @} */ 283 233 284 RT_C_DECLS_END 234 285 -
trunk/include/VBox/VMMDev.h
r33676 r34438 1917 1917 * VBVA record. 1918 1918 */ 1919 typedef struct 1919 typedef struct VBVARECORD 1920 1920 { 1921 1921 /** The length of the record. Changed by guest. */
Note:
See TracChangeset
for help on using the changeset viewer.