Lines Matching refs:sid
115 xp_surface_id sid;
122 xp_surface_id sid;
189 if (context->sid != 0 && surface_hash != NULL) {
190 lst = x_hash_table_lookup(surface_hash, x_cvt_uint_to_vptr(context->sid), NULL);
192 x_hash_table_insert(surface_hash, x_cvt_uint_to_vptr(context->sid), lst);
241 draw->sid = 0;
275 if (draw->sid == 0) {
278 0, &draw->sid, NULL,
284 if (!context->isAttached || context->sid != draw->sid) {
287 if (xp_attach_gl_context(context->ctx, draw->sid) != Success) {
292 x_hash_table_remove(surface_hash, x_cvt_uint_to_vptr(draw->sid));
294 draw->sid = 0;
299 context->sid = draw->sid;
304 lst = x_hash_table_lookup(surface_hash, x_cvt_uint_to_vptr(context->sid), NULL);
307 x_hash_table_insert(surface_hash, x_cvt_uint_to_vptr(context->sid), lst);
313 (unsigned int) draw->sid);
333 lst = x_hash_table_lookup(surface_hash, (void *) context->sid, NULL);
335 x_hash_table_insert(surface_hash, (void *) context->sid, lst);
340 context->sid = 0;
583 glxPriv->sid = 0;