Lines Matching refs:surface_hash
190 static x_hash_table *surface_hash; variable
201 if (context->sid != 0 && surface_hash != NULL) { in __glXAquaContextDestroy()
203 x_hash_table_lookup(surface_hash, x_cvt_uint_to_vptr( in __glXAquaContextDestroy()
206 x_hash_table_insert(surface_hash, x_cvt_uint_to_vptr( in __glXAquaContextDestroy()
257 if (surface_hash != NULL) in surface_notify()
258 x_hash_table_remove(surface_hash, x_cvt_uint_to_vptr(arg->id)); in surface_notify()
264 if (surface_hash != NULL) { in surface_notify()
266 x_hash_table_lookup(surface_hash, x_cvt_uint_to_vptr( in surface_notify()
314 if (surface_hash != NULL) in attach()
315 x_hash_table_remove(surface_hash, in attach()
325 if (surface_hash == NULL) in attach()
326 surface_hash = x_hash_table_new(NULL, NULL, NULL, NULL); in attach()
329 x_hash_table_lookup(surface_hash, x_cvt_uint_to_vptr( in attach()
333 x_hash_table_insert(surface_hash, x_cvt_uint_to_vptr( in attach()
359 if (surface_hash != NULL) {
360 lst = x_hash_table_lookup(surface_hash, (void *)context->sid,
363 x_hash_table_insert(surface_hash, (void *)context->sid, lst);