Changeset 45910 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- May 6, 2013 1:30:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_lists.c
r40691 r45910 69 69 } 70 70 71 static void crServerQueryHWState() 72 { 73 GLuint fbFbo, bbFbo; 74 CRClient *client = cr_server.curClient; 75 CRMuralInfo *mural = client ? client->currentMural : NULL; 76 if (mural && mural->fPresentMode & CR_SERVER_REDIR_F_FBO) 77 { 78 fbFbo = mural->aidFBOs[CR_SERVER_FBO_FB_IDX(mural)]; 79 bbFbo = mural->aidFBOs[CR_SERVER_FBO_BB_IDX(mural)]; 80 } 81 else 82 { 83 fbFbo = bbFbo = 0; 84 } 85 crStateQueryHWState(fbFbo, bbFbo); 86 } 87 71 88 void SERVER_DISPATCH_APIENTRY crServerDispatchEndList(void) 72 89 { 90 CRContext *g = crStateGetCurrent(); 91 CRListsState *l = &(g->lists); 92 73 93 cr_server.head_spu->dispatch_table.EndList(); 74 94 crStateEndList(); 95 96 #ifndef IN_GUEST 97 if (l->mode==GL_COMPILE) 98 { 99 crServerQueryHWState(); 100 } 101 #endif 75 102 } 76 103 … … 84 111 /* Issue the list as-is */ 85 112 cr_server.head_spu->dispatch_table.CallList( list ); 86 crS tateQueryHWState();113 crServerQueryHWState(); 87 114 } 88 115 else { … … 212 239 /* Issue the list as-is */ 213 240 cr_server.head_spu->dispatch_table.CallLists( n, type, lists ); 214 crS tateQueryHWState();241 crServerQueryHWState(); 215 242 } 216 243 else {
Note:
See TracChangeset
for help on using the changeset viewer.