Lines Matching refs:contexts
526 if (!device->contexts) new_array = HeapAlloc(GetProcessHeap(), 0, sizeof(*new_array));
527 else new_array = HeapReAlloc(GetProcessHeap(), 0, device->contexts, sizeof(*new_array) * (device->numContexts + 1));
536 device->contexts = new_array;
550 if (device->contexts[i] == context)
565 HeapFree(GetProcessHeap(), 0, device->contexts);
566 device->contexts = NULL;
570 memmove(&device->contexts[i], &device->contexts[i + 1], (device->numContexts - i) * sizeof(*device->contexts));
571 new_array = HeapReAlloc(GetProcessHeap(), 0, device->contexts, device->numContexts * sizeof(*device->contexts));
578 device->contexts = new_array;
641 if(This->contexts) ERR("Context array not freed!\n");
1753 This->contexts[0]->last_was_rhw = 0;
4682 wglFlush(); /* Flush to ensure ordering across contexts. */
5806 if (wined3d_settings.strict_draw_ordering) wglFlush(); /* Flush to ensure ordering across contexts. */
6173 if (wined3d_settings.strict_draw_ordering) wglFlush(); /* Flush to ensure ordering across contexts. */
6640 context_destroy(This, This->contexts[0]);
7234 context_destroy(This, This->contexts[0]);
7261 context = This->contexts[i];
7291 context = This->contexts[i];
7315 context = This->contexts[i];
7623 context = This->contexts[i];