Changeset 28256 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 13, 2010 2:32:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r28245 r28256 2253 2253 *pu32Width = 0; 2254 2254 *pu32Height = 0; 2255 rc = VINF_SUCCESS; 2255 2256 } 2256 2257 } … … 2500 2501 if (pFBInfo->fDefaultFormat) 2501 2502 { 2502 BYTE *address = NULL;2503 address = NULL; 2503 2504 HRESULT hrc = pFBInfo->pFramebuffer->COMGETTER(Address) (&address); 2504 2505 if (SUCCEEDED(hrc) && address != NULL) 2505 2506 { 2506 const uint8_t *pu8Src = pFBInfo->pu8FramebufferVRAM;2507 int32_txSrc = x;2508 int32_tySrc = y;2509 u int32_t u32SrcWidth = pFBInfo->w;2510 u int32_t u32SrcHeight = pFBInfo->h;2511 u int32_t u32SrcLineSize = pFBInfo->u32LineSize;2512 u int32_t u32SrcBitsPerPixel = pFBInfo->u16BitsPerPixel;2507 pu8Src = pFBInfo->pu8FramebufferVRAM; 2508 xSrc = x; 2509 ySrc = y; 2510 u32SrcWidth = pFBInfo->w; 2511 u32SrcHeight = pFBInfo->h; 2512 u32SrcLineSize = pFBInfo->u32LineSize; 2513 u32SrcBitsPerPixel = pFBInfo->u16BitsPerPixel; 2513 2514 2514 2515 /* Default format is 32 bpp. */ 2515 uint8_t *pu8Dst = address;2516 int32_txDst = xSrc;2517 int32_tyDst = ySrc;2518 u int32_t u32DstWidth = u32SrcWidth;2519 u int32_t u32DstHeight = u32SrcHeight;2520 u int32_t u32DstLineSize = u32DstWidth * 4;2521 u int32_t u32DstBitsPerPixel = 32;2516 pu8Dst = address; 2517 xDst = xSrc; 2518 yDst = ySrc; 2519 u32DstWidth = u32SrcWidth; 2520 u32DstHeight = u32SrcHeight; 2521 u32DstLineSize = u32DstWidth * 4; 2522 u32DstBitsPerPixel = 32; 2522 2523 2523 2524 pDisplay->mpDrv->pUpPort->pfnCopyRect(pDisplay->mpDrv->pUpPort,
Note:
See TracChangeset
for help on using the changeset viewer.