Changeset 45577 in vbox
- Timestamp:
- Apr 16, 2013 5:33:59 PM (12 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h
r45348 r45577 522 522 GLboolean bUseMultipleContexts; 523 523 524 GLboolean bWindowsInitiallyHidden; 525 524 526 /* @todo: should we use just one blitter? 525 527 * we use two currently because the drawable attribs can differ*/ -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.c
r45348 r45577 57 57 cr_server.bUsePBOForReadback = GL_FALSE; 58 58 cr_server.bUseOutputRedirect = GL_FALSE; 59 cr_server.bWindowsInitiallyHidden = GL_FALSE; 59 60 } 60 61 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
r45507 r45577 239 239 cr_server.currentEye = value ? 1 : 0; 240 240 break; 241 case GL_HOST_WND_CREATED_HIDDEN: 242 cr_server.bWindowsInitiallyHidden = value ? 1 : 0; 243 break; 241 244 default: 242 245 /* Pass the parameter info to the head SPU */ -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r45527 r45577 79 79 mural->height = dims[1]; 80 80 81 cr_server.head_spu->dispatch_table.GetChromiumParametervCR(GL_WINDOW_VISIBILITY_CR, spuWindow, GL_INT, 1, dims);82 83 81 mural->spuWindow = spuWindow; 84 82 mural->screenId = 0; 85 83 mural->fHasParentWindow = !!cr_server.screen[0].winID; 86 mural->bVisible = !!dims[0];84 mural->bVisible = cr_server.bWindowsInitiallyHidden; 87 85 mural->fPresentMode = CR_SERVER_REDIR_F_NONE; 88 86 -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r45507 r45577 467 467 crHashtableAdd(render_spu.windowTable, id, window); 468 468 469 if (render_spu.force_hidden_wdn_create 470 || ((render_spu.render_to_app_window || render_spu.render_to_crut_window) && !crGetenv("CRNEWSERVER"))) 471 showIt = 0; 472 else 473 showIt = (id != CR_RENDER_DEFAULT_WINDOW_ID); 469 showIt = 0; 474 470 475 471 /* … … 1233 1229 switch (target) 1234 1230 { 1235 case GL_HOST_WND_CREATED_HIDDEN:1236 render_spu.force_hidden_wdn_create = value ? GL_TRUE : GL_FALSE;1237 break;1238 1231 default: 1239 1232 // crWarning("Unhandled target in renderspuChromiumParameteriCR()"); -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.h
r45132 r45577 317 317 # endif 318 318 #endif /* RT_OS_DARWIN */ 319 320 int force_hidden_wdn_create;321 319 } RenderSPU; 322 320
Note:
See TracChangeset
for help on using the changeset viewer.