Changeset 47600 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Timestamp:
- Aug 7, 2013 6:04:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r47577 r47600 92 92 crWarning("CrVrScrCompositorRegionsGet failed rc %d", rc); 93 93 94 } 95 96 void crServerWindowReparent(CRMuralInfo *pMural) 97 { 98 crServerVBoxCompositionDisableEnter(pMural); 99 100 pMural->fHasParentWindow = !!cr_server.screen[pMural->screenId].winID; 101 102 renderspuReparentWindow(pMural->spuWindow); 103 104 crServerVBoxCompositionDisableLeave(pMural, GL_FALSE); 94 105 } 95 106 … … 518 529 } 519 530 520 voidcrServerMuralSize(CRMuralInfo *mural, GLint width, GLint height)531 GLboolean crServerMuralSize(CRMuralInfo *mural, GLint width, GLint height) 521 532 { 522 533 RTRECT Rect; … … 529 540 530 541 if (mural->width == width && mural->height == height) 531 return ;542 return GL_FALSE; 532 543 533 544 … … 642 653 crServerVBoxCompositionDisableLeave(mural, GL_FALSE); 643 654 655 return GL_TRUE; 644 656 } 645 657 … … 666 678 } 667 679 668 void crServerMu talPosition(CRMuralInfo *mural, GLint x, GLinty)680 void crServerMuralPosition(CRMuralInfo *mural, GLint x, GLint y, GLboolean fSkipCheckGeometry) 669 681 { 670 682 GLboolean fForcePresent = GL_FALSE; … … 714 726 } 715 727 716 crServerCheckMuralGeometry(mural); 728 if (!fSkipCheckGeometry) 729 crServerCheckMuralGeometry(mural); 717 730 718 731 /* 3. re-set the compositor (see above comment) */ … … 731 744 return; 732 745 } 733 crServerMu talPosition(mural, x, y);746 crServerMuralPosition(mural, x, y, GL_FALSE); 734 747 } 735 748
Note:
See TracChangeset
for help on using the changeset viewer.