Changeset 78263 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
- Timestamp:
- Apr 23, 2019 6:41:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r78190 r78263 243 243 } 244 244 245 ContextInfo * renderspuDefaultSharedContextAcquire( )245 ContextInfo * renderspuDefaultSharedContextAcquire(void) 246 246 { 247 247 ContextInfo * pCtx = render_spu.defaultSharedContext; … … 651 651 WindowInfo *window; 652 652 653 RT_NOREF(dpyName); 654 653 655 if (id <= 0) 654 656 { … … 731 733 window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, win); 732 734 if (window) { 733 if ( w != window->BltInfo.width734 ||h != window->BltInfo.height)735 if ( (GLuint)w != window->BltInfo.width 736 || (GLuint)h != window->BltInfo.height) 735 737 { 736 738 /* window is resized, compositor data is no longer valid … … 1063 1065 { 1064 1066 PCR_BLITTER pBlitter = renderspuVBoxPresentBlitterGetAndEnter(window, i32MakeCurrentUserData, fRedraw); 1067 1068 RT_NOREF(pChangedEntry); 1065 1069 if (!pBlitter) 1066 1070 return; … … 1111 1115 { 1112 1116 WindowInfo *window = (WindowInfo *) data1; 1117 RT_NOREF(key, data2); 1118 1113 1119 renderspuVBoxCompositorSet(window, NULL); 1114 1120 } 1115 1121 1116 void renderspuVBoxCompositorClearAll( )1122 void renderspuVBoxCompositorClearAll(void) 1117 1123 { 1118 1124 /* we need to clear window compositor, which is not that trivial though, … … 1506 1512 } 1507 1513 1508 bool renderspuCalloutAvailable( )1514 bool renderspuCalloutAvailable(void) 1509 1515 { 1510 1516 return render_spu.pfnClientCallout != NULL; … … 1854 1860 { 1855 1861 WindowInfo *pWindow = (WindowInfo *)data1; 1862 RT_NOREF(key, data2); 1856 1863 1857 1864 renderspu_SystemReparentWindow(pWindow);
Note:
See TracChangeset
for help on using the changeset viewer.