VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 10:05:18 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: Allow 64bit window ids for the parent window.

Location:
trunk/src/VBox/HostServices/SharedOpenGL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r22284 r22502  
    8585{
    8686    uint64_t winId = *((uint64_t*)pv);
    87     renderspuSetWindowId((uint32_t)winId);
     87    renderspuSetWindowId(winId);
    8888    CRServerMain(0, NULL);
    8989    crIsThreadWorking = 0;
     
    132132#else
    133133    g_pFrameBuffer->COMGETTER(WinId)(&g_winId);
    134     renderspuSetWindowId((uint32_t)g_winId);
     134    renderspuSetWindowId(g_winId);
    135135    rc = crVBoxServerAddClient(u32ClientID);
    136136#endif
     
    238238    /*MS's opengl32 tryes to load our ICD around 30 times on failure...this is to prevent unnecessary spam*/
    239239    static int shown = 0;
    240    
     240
    241241    if (g_pVM && !shown)
    242242    {
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.h

    r18830 r22502  
    252252
    253253/* @todo remove this hack */
    254 extern unsigned int render_spu_parent_window_id;
     254extern uint64_t render_spu_parent_window_id;
    255255
    256256#ifdef CHROMIUM_THREADSAFE
     
    293293extern "C" {
    294294#endif
    295 DECLEXPORT(void) renderspuSetWindowId(unsigned int winId);
     295DECLEXPORT(void) renderspuSetWindowId(uint64_t winId);
    296296DECLEXPORT(void) renderspuSetRootVisibleRegion(GLint cRects, GLint *pRects);
    297297#ifdef __cplusplus
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_init.c

    r20266 r22502  
    2626
    2727RenderSPU render_spu;
    28 unsigned int render_spu_parent_window_id;
     28uint64_t render_spu_parent_window_id;
    2929
    3030#ifdef CHROMIUM_THREADSAFE
     
    435435}
    436436
    437 DECLEXPORT(void) renderspuSetWindowId(unsigned int winId)
     437DECLEXPORT(void) renderspuSetWindowId(uint64_t winId)
    438438{
    439439    render_spu_parent_window_id = winId;
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