Changeset 35102 in vbox
- Timestamp:
- Dec 14, 2010 4:23:46 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 2 edited
-
vboxutils.c (modified) (3 diffs)
-
vboxvideo.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r35048 r35102 242 242 pViews[i].u32ViewIndex = i; 243 243 pViews[i].u32ViewOffset = 0; 244 pViews[i].u32ViewSize = pVBox->cb Framebuffer;244 pViews[i].u32ViewSize = pVBox->cbView; 245 245 pViews[i].u32MaxScreenSize = pVBox->cbFramebuffer; 246 246 } … … 282 282 return FALSE; 283 283 } 284 pVBox->cb Framebuffer = offVRAMBaseMapping;284 pVBox->cbView = pVBox->cbFramebuffer = offVRAMBaseMapping; 285 285 pVBox->cScreens = VBoxHGSMIGetMonitorCount(&pVBox->guestCtx); 286 286 xf86DrvMsg(scrnIndex, X_INFO, "Requested monitor count: %u\n", 287 287 pVBox->cScreens); 288 rc = VBoxHGSMISendViewInfo(&pVBox->guestCtx, pVBox->cScreens,289 vboxFillViewInfo, (void *)pVBox);290 288 for (i = 0; i < pVBox->cScreens; ++i) 291 289 { … … 296 294 VBVA_MIN_BUFFER_SIZE); 297 295 } 296 rc = VBoxHGSMISendViewInfo(&pVBox->guestCtx, pVBox->cScreens, 297 vboxFillViewInfo, (void *)pVBox); 298 298 299 299 /* Set up the dirty rectangle handler. Since this seems to be a -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r34911 r35102 185 185 /** The amount of VRAM available for use as a framebuffer */ 186 186 unsigned long cbFramebuffer; 187 /** The size of the framebuffer and the VBVA buffers at the end of it. */ 188 unsigned long cbView; 187 189 /** The current line size in bytes */ 188 190 uint32_t cbLine;
Note:
See TracChangeset
for help on using the changeset viewer.

