Changeset 13836 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c
- Timestamp:
- Nov 5, 2008 2:42:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c
r8155 r13836 87 87 { 88 88 PPDEV ppdev = (PPDEV)pso->dhpdev; 89 90 /* The screen surface has the 'pso->dhpdev' field, 89 90 /* The screen surface has the 'pso->dhpdev' field, 91 91 * and is either the screen device surface with handle = hsurfScreen, 92 92 * or a surface derived from DDRAW with address equal to the framebuffer. … … 302 302 303 303 STATPRINT; 304 304 305 305 #ifdef VBOX_VBVA_ADJUST_RECT 306 /* Experimental fix for too large bitmap updates. 306 /* Experimental fix for too large bitmap updates. 307 307 * 308 308 * Some application do a large bitmap update event if only … … 312 312 * the current framebuffer content with the source bitmap. 313 313 * 314 * The optimization is only active when: 314 * The optimization is only active when: 315 315 * - the VBVA extension is enabled; 316 316 * - the source bitmap is not cacheable; … … 597 597 DISPDBG((1, "DrvSaveScreenBits: SS_SAVE %d\n", ppdev->cSSB)); 598 598 599 if (ppdev->cSSB >= ELEMENTS(ppdev->aSSB))599 if (ppdev->cSSB >= RT_ELEMENTS(ppdev->aSSB)) 600 600 { 601 601 /* All slots are already in use. Fail. */
Note:
See TracChangeset
for help on using the changeset viewer.