VirtualBox

Changeset 38660 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Sep 6, 2011 3:04:56 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73872
Message:

Wddm/3D: fix incorrect window border blurs under aero on ati cards

Location:
trunk/src/VBox/Additions/WINNT/Graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp

    r38636 r38660  
    59235923                VBOXVDBG_BREAK_SHARED(pSrcRc);
    59245924                VBOXVDBG_BREAK_SHARED(pDstRc);
    5925                 if (   pSrcAlloc->SurfDesc.width == 658 && pSrcAlloc->SurfDesc.height == 493
    5926                     && pData->SrcRect.left == 0 && pData->SrcRect.top == 0
    5927                     && pData->SrcRect.right == 658 && pData->SrcRect.bottom == 493
    5928                     && pDstAlloc->SurfDesc.width == 756 && pDstAlloc->SurfDesc.height == 493
    5929                     && pData->DstRect.left == 0 && pData->DstRect.top == 0
    5930                     && pData->DstRect.right == 658 && pData->DstRect.bottom == 493)
    5931                 {
    5932                     VBOXVDBG_DUMP_BLT_ENTER(pSrcAlloc, pSrcSurfIf, &pData->SrcRect, pDstAlloc, pDstSurfIf, &pData->DstRect);
    5933                 }
     5925                VBOXVDBG_DUMP_BLT_ENTER(pSrcAlloc, pSrcSurfIf, &pData->SrcRect, pDstAlloc, pDstSurfIf, &pData->DstRect);
    59345926
    59355927                /* we support only Point & Linear, we ignore [Begin|Continue|End]PresentToDwm */
     
    59425934                Assert(hr == S_OK);
    59435935
    5944                 if (   pSrcAlloc->SurfDesc.width == 658 && pSrcAlloc->SurfDesc.height == 493
    5945                     && pData->SrcRect.left == 0 && pData->SrcRect.top == 0
    5946                     && pData->SrcRect.right == 658 && pData->SrcRect.bottom == 493
    5947                     && pDstAlloc->SurfDesc.width == 756 && pDstAlloc->SurfDesc.height == 493
    5948                     && pData->DstRect.left == 0 && pData->DstRect.top == 0
    5949                     && pData->DstRect.right == 658 && pData->DstRect.bottom == 493)
    5950                 {
    5951                     VBOXVDBG_DUMP_BLT_LEAVE(pSrcAlloc, pSrcSurfIf, &pData->SrcRect, pDstAlloc, pDstSurfIf, &pData->DstRect);
    5952                 }
     5936                VBOXVDBG_DUMP_BLT_LEAVE(pSrcAlloc, pSrcSurfIf, &pData->SrcRect, pDstAlloc, pDstSurfIf, &pData->DstRect);
    59535937
    59545938                pSrcSurfIf->Release();
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r38565 r38660  
    37333733                    /* ensure the last char is \0*/
    37343734                    *((uint8_t*)pDbgPrint + pEscape->PrivateDriverDataSize - 1) = '\0';
    3735 #ifdef DEBUG_misha
     3735#if defined(DEBUG_misha) || defined(DEBUG_leo)
    37363736                    DbgPrint("%s", pDbgPrint->aStringBuf);
    37373737#else
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c

    r38589 r38660  
    35363536        /* top left */
    35373537        glTexCoord2f(left, top);
    3538         glVertex2i(0, fbheight - dst_rect.bottom - dst_rect.top);
     3538        glVertex2i(0, fbheight - (dst_rect.bottom - dst_rect.top));
    35393539
    35403540        /* top right */
    35413541        glTexCoord2f(right, top);
    3542         glVertex2i(dst_rect.right - dst_rect.left, fbheight - dst_rect.bottom - dst_rect.top);
     3542        glVertex2i(dst_rect.right - dst_rect.left, fbheight - (dst_rect.bottom - dst_rect.top));
    35433543
    35443544        /* bottom right */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette