Lines Matching refs:contexts
413 if (!device->contexts) new_array = HeapAlloc(GetProcessHeap(), 0, sizeof(*new_array));
414 else new_array = HeapReAlloc(GetProcessHeap(), 0, device->contexts,
424 device->contexts = new_array;
438 if (device->contexts[i] == context)
453 HeapFree(GetProcessHeap(), 0, device->contexts);
454 device->contexts = NULL;
458 memmove(&device->contexts[i], &device->contexts[i + 1], (device->context_count - i) * sizeof(*device->contexts));
459 new_array = HeapReAlloc(GetProcessHeap(), 0, device->contexts, device->context_count * sizeof(*device->contexts));
466 device->contexts = new_array;
733 gl_info->gl_ops.gl.p_glFlush(); /* Flush to ensure ordering across contexts. */
787 if (device->contexts)
1230 device->contexts[0]->last_was_rhw = 0;
1434 context_destroy(device, device->contexts[0]);
4914 swapchain_destroy_contexts(device->contexts[0]->swapchain);
4916 context_destroy(device, device->contexts[0]);
4953 device->contexts = HeapAlloc(GetProcessHeap(), 0, sizeof(*device->contexts));
4954 if (!device->contexts)
4972 HeapFree(GetProcessHeap(), 0, device->contexts);
5598 context = device->contexts[i];
5679 context = device->contexts[i];
5700 int32_t id = pVBoxGetContextId(device->contexts[0]->glCtx);
5704 ERR("pVBoxGetContextId to get id for context 0x%x", device->contexts[0]->glCtx);