Changeset 78190 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_swapbuf.c
- Timestamp:
- Apr 18, 2019 12:07:07 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130111
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 9 9 /branches/VBox-5.1:112367,115992,116543,116550,116568,116573 10 10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 /branches/aeichner/vbox-chromium-cleanup:129816,129818-129851,129853-129861,129871-129872,129876,129880,129882,130013-130015,130036,130094-130095 11 12 /branches/andy/draganddrop:90781-91268 12 13 /branches/andy/guestctrl20:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox
- Property svn:mergeinfo
-
old new 9 9 /branches/VBox-5.1/src/VBox:112367,116543,116550,116568,116573 10 10 /branches/VBox-5.2/src/VBox:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124263,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812,127158-127159,127162-127167,127180 11 /branches/aeichner/vbox-chromium-cleanup/src/VBox:129818-129851,129853-129861,129871-129872,129876,129880,129882,130013-130015,130094-130095 11 12 /branches/andy/draganddrop/src/VBox:90781-91268 12 13 /branches/andy/guestctrl20/src/VBox:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_swapbuf.c
r69310 r78190 11 11 #include "packspu_proto.h" 12 12 13 #if 014 15 void PACKSPU_APIENTRY packspu_SwapBuffers( GLint window, GLint flags )16 {17 GET_THREAD(thread);18 if (pack_spu.swap)19 {20 crPackSwapBuffersSWAP( window, flags );21 }22 else23 {24 crPackSwapBuffers( window, flags );25 }26 packspuFlush( (void *) thread );27 }28 29 30 #else31 13 32 14 void PACKSPU_APIENTRY packspu_SwapBuffers( GLint window, GLint flags ) … … 34 16 GET_THREAD(thread); 35 17 36 if (pack_spu.swap) 37 { 38 crPackSwapBuffersSWAP( window, flags ); 39 } 40 else 41 { 42 crPackSwapBuffers( window, flags ); 43 } 18 crPackSwapBuffers( window, flags ); 44 19 packspuFlush( (void *) thread ); 45 20 … … 73 48 */ 74 49 thread->writeback = 1; 75 if (pack_spu.swap) 76 { 77 crPackWritebackSWAP( (GLint *) &thread->writeback ); 78 } 79 else 80 { 81 crPackWriteback( (GLint *) &thread->writeback ); 82 } 50 crPackWriteback( (GLint *) &thread->writeback ); 83 51 break; 84 52 case 1: … … 92 60 /* want to emit a parameter here */ 93 61 if (pack_spu.emit_GATHER_POST_SWAPBUFFERS) 94 { 95 if (pack_spu.swap) 96 crPackChromiumParameteriCRSWAP(GL_GATHER_POST_SWAPBUFFERS_CR, 1); 97 else 98 crPackChromiumParameteriCR(GL_GATHER_POST_SWAPBUFFERS_CR, 1); 99 } 62 crPackChromiumParameteriCR(GL_GATHER_POST_SWAPBUFFERS_CR, 1); 100 63 } 101 64 102 #endif
Note:
See TracChangeset
for help on using the changeset viewer.