VirtualBox

Ignore:
Timestamp:
Jul 22, 2011 1:26:19 PM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: 1. fix invalid visible rectreporting on swapchain destruction 2. single context for wine (disabled so far), 3 wine & 3d driver bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/query.c

    r33656 r38112  
    6464    if (!query->context->gl_info->supported[ARB_SYNC] && query->context->tid != GetCurrentThreadId())
    6565    {
     66#ifdef VBOX_WINE_WITH_SINGLE_CONTEXT
     67        ERR("Event query tested from wrong thread\n");
     68#else
    6669        WARN("Event query tested from wrong thread\n");
     70#endif
    6771        return WINED3D_EVENT_QUERY_WRONG_THREAD;
    6872    }
     
    141145         * to find its own way to cope with the thread switch
    142146         */
     147#ifdef VBOX_WINE_WITH_SINGLE_CONTEXT
     148        ERR("Event query finished from wrong thread\n");
     149#else
    143150        WARN("Event query finished from wrong thread\n");
     151#endif
    144152        return WINED3D_EVENT_QUERY_WRONG_THREAD;
    145153    }
     
    198206        if (!query->context->gl_info->supported[ARB_SYNC] && query->context->tid != GetCurrentThreadId())
    199207        {
     208#ifdef VBOX_WINE_WITH_SINGLE_CONTEXT
     209            ERR("unexpected\n");
     210#endif
    200211            context_free_event_query(query);
    201212            context = context_acquire(device, NULL, CTXUSAGE_RESOURCELOAD);
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