VirtualBox

Ignore:
Timestamp:
Oct 9, 2013 12:16:19 PM (11 years ago)
Author:
vboxsync
Message:

wddm: ensure all windows are initially hidden

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/context.c

    r48345 r48999  
    18061806            goto out;
    18071807        }
     1808
     1809#ifdef VBOX_WITH_WDDM
     1810        pVBoxCtxChromiumParameteriCR(ctx, GL_HOST_WND_CREATED_HIDDEN_CR,  GL_TRUE);
     1811#endif
    18081812
    18091813#ifndef VBOX
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/directx.c

    r48345 r48999  
    402402        goto fail;
    403403    }
     404
     405#ifdef VBOX_WITH_WDDM
     406        pVBoxCtxChromiumParameteriCR(ctx->gl_ctx, GL_HOST_WND_CREATED_HIDDEN_CR,  GL_TRUE);
     407#endif
    404408
    405409    /* Make it the current GL context. */
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/wined3d_gl.h

    r48345 r48999  
    192192
    193193HGLRC (WINAPI *pVBoxCreateContext)(HDC, struct VBOXUHGSMI*) DECLSPEC_HIDDEN;
     194void (WINAPI *pVBoxCtxChromiumParameteriCR)(HGLRC , GLenum , GLint) DECLSPEC_HIDDEN;
    194195void (WINAPI *pVBoxFlushToHost)(HGLRC) DECLSPEC_HIDDEN;
    195196GLint (WINAPI *pVBoxGetWindowId)(HDC)  DECLSPEC_HIDDEN;
     
    201202# define VBOX_GL_FUNCS_GEN \
    202203        VBOX_USE_FUNC(VBoxCreateContext) \
     204        VBOX_USE_FUNC(VBoxCtxChromiumParameteriCR) \
    203205        VBOX_USE_FUNC(VBoxFlushToHost) \
    204206        VBOX_USE_FUNC(VBoxGetWindowId) \
Note: See TracChangeset for help on using the changeset viewer.

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