Changeset 45041 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Mar 14, 2013 3:08:51 PM (12 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r45009 r45041 58 58 mural->width = dims[0]; 59 59 mural->height = dims[1]; 60 61 cr_server.head_spu->dispatch_table.GetChromiumParametervCR(GL_WINDOW_VISIBILITY_CR, spuWindow, GL_INT, 1, dims); 60 62 61 63 mural->spuWindow = spuWindow; 62 64 mural->screenId = 0; 63 mural->bVisible = GL_FALSE;65 mural->bVisible = !!dims[0]; 64 66 mural->fUseFBO = CR_SERVER_REDIR_NONE; 65 67 -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r45039 r45041 1447 1447 } 1448 1448 break; 1449 case GL_WINDOW_VISIBILITY_CR: 1450 { 1451 GLint *vis = (GLint *) values; 1452 WindowInfo *window; 1453 CRASSERT(type == GL_INT); 1454 CRASSERT(count == 1); 1455 CRASSERT(values); 1456 vis[0] = 0; /* default */ 1457 window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, index); 1458 if (window) 1459 { 1460 vis[0] = window->visible; 1461 } 1462 } 1463 break; 1449 1464 default: 1450 1465 ; /* nothing - silence compiler */
Note:
See TracChangeset
for help on using the changeset viewer.