Changeset 51101 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Timestamp:
- Apr 17, 2014 8:36:20 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93381
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp
r51094 r51101 4772 4772 } 4773 4773 4774 static void crVBoxServerCrCmdBltPrimaryUpdate(const RTRECT *pRects, uint32_t cRects, uint32_t u32PrimaryID)4774 static void crVBoxServerCrCmdBltPrimaryUpdate(const VBVAINFOSCREEN *pScreen, const RTRECT *pRects, uint32_t cRects, uint32_t u32PrimaryID) 4775 4775 { 4776 4776 if (!cRects) … … 4827 4827 if (dirtyRect.xRight - dirtyRect.xLeft) 4828 4828 { 4829 cr_server.CrCmdClientInfo.pfnCltScrUpdateEnd(cr_server.CrCmdClientInfo.hCltScr, u32PrimaryID, dirtyRect.xLeft,dirtyRect.yTop,4829 cr_server.CrCmdClientInfo.pfnCltScrUpdateEnd(cr_server.CrCmdClientInfo.hCltScr, u32PrimaryID, pScreen->i32OriginX + dirtyRect.xLeft, pScreen->i32OriginY + dirtyRect.yTop, 4830 4830 dirtyRect.xRight - dirtyRect.xLeft, dirtyRect.yBottom - dirtyRect.yTop); 4831 4831 } … … 4937 4937 4938 4938 crServerDispatchVBoxTexPresent(texId, u32PrimaryID, pCmd->Hdr.Pos.x, pCmd->Hdr.Pos.y, cRects, (const GLint*)pRects); 4939 4940 return 0; 4939 4941 } 4940 4942 else … … 4956 4958 } 4957 4959 4958 crVBoxServerCrCmdBltPrimaryUpdate( pRects, cRects, u32PrimaryID);4960 crVBoxServerCrCmdBltPrimaryUpdate(CrFbGetScreenInfo(hFb), pRects, cRects, u32PrimaryID); 4959 4961 4960 4962 return 0; … … 5107 5109 5108 5110 crServerDispatchVBoxTexPresent(texId, u32PrimaryID, pCmd->Hdr.Pos.x, pCmd->Hdr.Pos.y, cRects, (const GLint*)pRects); 5111 5112 return 0; 5109 5113 } 5110 5114 else … … 5137 5141 } 5138 5142 5139 crVBoxServerCrCmdBltPrimaryUpdate( pRects, cRects, u32PrimaryID);5143 crVBoxServerCrCmdBltPrimaryUpdate(CrFbGetScreenInfo(hFb), pRects, cRects, u32PrimaryID); 5140 5144 5141 5145 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.