Home | History | Annotate | Download | only in wgl

Lines Matching refs:stw_dev

47  * stw_dev::fb_mutex global lock.
55 for (fb = stw_dev->fb_head; fb != NULL; fb = fb->next)
66 * Destroy this framebuffer. Both stw_dev::fb_mutex and stw_framebuffer::mutex
83 link = &stw_dev->fb_head;
91 stw_dev->stw_winsys->shared_surface_close(stw_dev->screen, fb->shared_surface);
206 if (nCode < 0 || !stw_dev)
228 pipe_mutex_lock( stw_dev->fb_mutex );
232 pipe_mutex_unlock( stw_dev->fb_mutex );
269 fb->iDisplayablePixelFormat = iPixelFormat <= stw_dev->pixelformat_count ? iPixelFormat : 1;
298 * stw_dev::fb_mutex, since no other thread can know about this framebuffer
303 pipe_mutex_lock( stw_dev->fb_mutex );
304 fb->next = stw_dev->fb_head;
305 stw_dev->fb_head = fb;
306 pipe_mutex_unlock( stw_dev->fb_mutex );
327 pipe_mutex_lock(stw_dev->fb_mutex);
332 pipe_mutex_unlock(stw_dev->fb_mutex);
366 if (!stw_dev)
369 pipe_mutex_lock( stw_dev->fb_mutex );
371 fb = stw_dev->fb_head;
380 stw_dev->fb_head = NULL;
382 pipe_mutex_unlock( stw_dev->fb_mutex );
413 if (!stw_dev)
416 pipe_mutex_lock( stw_dev->fb_mutex );
418 pipe_mutex_unlock( stw_dev->fb_mutex );
433 pipe_mutex_lock( stw_dev->fb_mutex );
435 pipe_mutex_unlock( stw_dev->fb_mutex );
450 if (!stw_dev)
514 if (!stw_dev)
521 screen = stw_dev->screen;
527 stw_dev->stw_winsys->shared_surface_close(screen, fb->shared_surface);
534 stw_dev->stw_winsys->shared_surface_open) {
535 fb->shared_surface = stw_dev->stw_winsys->shared_surface_open(screen, fb->hSharedSurface);
540 stw_dev->stw_winsys->compose(screen,
547 stw_dev->stw_winsys->present( screen, res, hdc );
569 if(stw_dev->callbacks.wglCbPresentBuffers &&
570 stw_dev->stw_winsys->compose) {
576 data.AdapterLuid = stw_dev->AdapterLuid;
583 return stw_dev->callbacks.wglCbPresentBuffers(hdc, &data);
586 struct pipe_screen *screen = stw_dev->screen;
588 stw_dev->stw_winsys->present( screen, res, hdc );
605 if (!stw_dev)