VirtualBox

Ticket #13653: vbox-NVIDIA-fix-v2.patch.txt

File vbox-NVIDIA-fix-v2.patch.txt, 683 bytes (added by Technologov, 9 years ago)

patch v2. Clean code.

Line 
1--- /home/alexey/vbox-orig/VirtualBox-5.0.0_BETA4/./src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c 2015-05-18 18:02:05.000000000 +0300
2+++ ./src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c 2015-05-22 23:33:33.000000000 +0300
3@@ -1922,11 +1922,10 @@
4 XSync(window->visual->dpy, 0);
5 }
6 }
7 }
8
9-#define CR_RENDER_FORCE_PRESENT_MAIN_THREAD
10
11 void renderspu_SystemVBoxPresentComposition( WindowInfo *window, const struct VBOXVR_SCR_COMPOSITOR_ENTRY *pChangedEntry )
12 {
13 /* the CR_RENDER_FORCE_PRESENT_MAIN_THREAD is actually inherited from cocoa backend impl,
14 * here it forces rendering in WinCmd thread rather than a Main thread.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy