Changeset 34686 in vbox for trunk/include/VBox
- Timestamp:
- Dec 3, 2010 11:06:34 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideoGuest.h
r34665 r34686 193 193 RTDECL(int) VBoxHGSMIBufferSubmit(PHGSMIGUESTCOMMANDCONTEXT pCtx, 194 194 void *pvBuffer); 195 196 struct VBVAINFOVIEW;197 /**198 * Callback funtion called from @a VBoxHGSMISendViewInfo to initialise199 * the @a VBVAINFOVIEW structure for each screen.200 *201 * @returns iprt status code202 * @param pvData context data for the callback, passed to @a203 * VBoxHGSMISendViewInfo along with the callback204 * @param pInfo array of @a VBVAINFOVIEW structures to be filled in205 * @todo explicitly pass the array size206 */207 typedef DECLCALLBACK(int) FNHGSMIFILLVIEWINFO(void *pvData,208 struct VBVAINFOVIEW *pInfo,209 uint32_t cViews);210 /** Pointer to a FNHGSMIFILLVIEWINFO callback */211 typedef FNHGSMIFILLVIEWINFO *PFNHGSMIFILLVIEWINFO;212 213 RTDECL(int) VBoxHGSMISendViewInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx,214 uint32_t u32Count,215 PFNHGSMIFILLVIEWINFO pfnFill,216 void *pvData);217 195 RTDECL(void) VBoxHGSMIGetBaseMappingInfo(uint32_t cbVRAM, 218 196 uint32_t *poffVRAMBaseMapping, … … 242 220 uint32_t offVRAMHostArea, 243 221 uint32_t cbHostArea); 244 RTDECL(uint32_t) VBoxHGSMIGetMonitorCount(PHGSMIGUESTCOMMANDCONTEXT pCtx); 222 RTDECL(int) VBoxQueryConfHGSMI(PHGSMIGUESTCOMMANDCONTEXT pCtx, 223 uint32_t u32Index, uint32_t *pulValue); 245 224 RTDECL(bool) VBoxHGSMIUpdatePointerShape(PHGSMIGUESTCOMMANDCONTEXT pCtx, 246 225 uint32_t fFlags, … … 272 251 uint32_t offVRAMBuffer, 273 252 uint32_t cbBuffer); 274 RTDECL(void) VBoxHGSMIProcessDisplayInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx, 275 uint32_t cDisplay, 276 int32_t cOriginX, 277 int32_t cOriginY, 278 uint32_t offStart, 279 uint32_t cbPitch, 280 uint32_t cWidth, 281 uint32_t cHeight, 282 uint16_t cBPP); 253 254 /** @} */ 255 256 /** @name Modesetting APIs 257 * @{ */ 258 259 RTDECL(uint32_t) VBoxHGSMIGetMonitorCount(PHGSMIGUESTCOMMANDCONTEXT pCtx); 260 261 struct VBVAINFOVIEW; 262 /** 263 * Callback funtion called from @a VBoxHGSMISendViewInfo to initialise 264 * the @a VBVAINFOVIEW structure for each screen. 265 * 266 * @returns iprt status code 267 * @param pvData context data for the callback, passed to @a 268 * VBoxHGSMISendViewInfo along with the callback 269 * @param pInfo array of @a VBVAINFOVIEW structures to be filled in 270 * @todo explicitly pass the array size 271 */ 272 typedef DECLCALLBACK(int) FNHGSMIFILLVIEWINFO(void *pvData, 273 struct VBVAINFOVIEW *pInfo, 274 uint32_t cViews); 275 /** Pointer to a FNHGSMIFILLVIEWINFO callback */ 276 typedef FNHGSMIFILLVIEWINFO *PFNHGSMIFILLVIEWINFO; 277 278 RTDECL(int) VBoxHGSMISendViewInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx, 279 uint32_t u32Count, 280 PFNHGSMIFILLVIEWINFO pfnFill, 281 void *pvData); 282 RTDECL(void) VBoxVideoSetModeRegisters(uint16_t cWidth, uint16_t cHeight, 283 uint16_t cVirtWidth, uint16_t cBPP, 284 uint16_t cx, uint16_t cy); 285 RTDECL(void) VBoxHGSMIProcessDisplayInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx, 286 uint32_t cDisplay, 287 int32_t cOriginX, 288 int32_t cOriginY, 289 uint32_t offStart, 290 uint32_t cbPitch, 291 uint32_t cWidth, 292 uint32_t cHeight, 293 uint16_t cBPP); 283 294 284 295 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.