Home | History | Annotate | Download | only in wgl

Lines Matching refs:stw_dev

56    st = (stw_dev) ? stw_dev->stapi->get_current(stw_dev->stapi) : NULL;
71 if (!stw_dev)
74 pipe_mutex_lock( stw_dev->ctx_mutex );
87 pipe_mutex_unlock( stw_dev->ctx_mutex );
101 if (!stw_dev)
104 pipe_mutex_lock( stw_dev->ctx_mutex );
112 pipe_mutex_unlock( stw_dev->ctx_mutex );
149 if (!stw_dev)
175 pipe_mutex_lock( stw_dev->ctx_mutex );
177 pipe_mutex_unlock( stw_dev->ctx_mutex );
213 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi,
214 stw_dev->smapi, &attribs, &ctx_err, shareCtx ? shareCtx->st : NULL);
220 pipe_mutex_lock( stw_dev->ctx_mutex );
221 ctx->dhglrc = handle_table_add(stw_dev->ctx_table, ctx);
222 pipe_mutex_unlock( stw_dev->ctx_mutex );
243 if (!stw_dev)
246 pipe_mutex_lock( stw_dev->ctx_mutex );
248 handle_table_remove(stw_dev->ctx_table, dhglrc);
249 pipe_mutex_unlock( stw_dev->ctx_mutex );
256 stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL);
273 if (!stw_dev)
276 pipe_mutex_lock( stw_dev->ctx_mutex );
278 pipe_mutex_unlock( stw_dev->ctx_mutex );
331 if (!stw_dev)
347 pipe_mutex_lock( stw_dev->ctx_mutex );
349 pipe_mutex_unlock( stw_dev->ctx_mutex );
378 ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st,
382 ret = stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL);
394 stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL);