- Timestamp:
- Jun 27, 2012 4:06:41 PM (12 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c
r41481 r41929 1844 1844 GL_EXTCALL(glChromiumParameteriCR(GL_FLUSH_ON_THREAD_SWITCH_CR, GL_TRUE)); 1845 1845 #endif 1846 #if defined(VBOX_WITH_WDDM) 1847 GL_EXTCALL(glChromiumParameteriCR(GL_HOST_WND_CREATED_HIDDEN, GL_TRUE)); 1848 #endif 1849 1846 1850 LEAVE_GL(); 1847 1851 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/wined3d_gl.h
r41109 r41929 3782 3782 /*report that the shared resource is no longer used by this context, the parameter value is a texture name*/ 3783 3783 #define GL_RCUSAGE_TEXTURE_CLEAR_CR 0x8B2A 3784 /*configures host to create windows initially hidden*/ 3785 #define GL_HOST_WND_CREATED_HIDDEN 0x8B2B 3784 3786 3785 3787 typedef void (WINE_GLAPI *PGLFNCHROMIUMPARAMETERUCR)(GLenum param, GLint value); -
trunk/src/VBox/GuestHost/OpenGL/include/chromium.h
r41109 r41929 703 703 /*report that the shared resource is no longer used by this context, the parameter value is a texture name*/ 704 704 #define GL_RCUSAGE_TEXTURE_CLEAR_CR 0x8B2A 705 /*configures host to create windows initially hidden*/ 706 #define GL_HOST_WND_CREATED_HIDDEN 0x8B2B 705 707 706 708 /**********************************************************************/ -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r40691 r41929 297 297 window->height = render_spu.defaultHeight; 298 298 299 if ((render_spu.render_to_app_window || render_spu.render_to_crut_window) && !crGetenv("CRNEWSERVER")) 299 if (render_spu.force_hidden_wdn_create 300 || ((render_spu.render_to_app_window || render_spu.render_to_crut_window) && !crGetenv("CRNEWSERVER"))) 300 301 showIt = 0; 301 302 else … … 696 697 static void RENDER_APIENTRY renderspuChromiumParameteriCR(GLenum target, GLint value) 697 698 { 698 (void) target; 699 (void) value; 700 701 702 #if 0 699 703 700 switch (target) 704 701 { 702 case GL_HOST_WND_CREATED_HIDDEN: 703 render_spu.force_hidden_wdn_create = value ? GL_TRUE : GL_FALSE; 704 break; 705 705 default: 706 crWarning("Unhandled target in renderspuChromiumParameteriCR()");706 // crWarning("Unhandled target in renderspuChromiumParameteriCR()"); 707 707 break; 708 708 } 709 #endif710 709 } 711 710 -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.h
r40691 r41929 247 247 # endif 248 248 #endif /* RT_OS_DARWIN */ 249 250 int force_hidden_wdn_create; 249 251 } RenderSPU; 250 252
Note:
See TracChangeset
for help on using the changeset viewer.