Home
last modified time | relevance | path

Searched refs:surface_hash (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xquartz/GL/
H A Dindirect.c190 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()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Ddri.c83 static x_hash_table *surface_hash; /* maps surface ids -> drawablePrivs */ variable
434 if (surface_hash == NULL) in DRICreateSurface()
435 surface_hash = x_hash_table_new(NULL, NULL, NULL, NULL); in DRICreateSurface()
436 x_hash_table_insert(surface_hash, in DRICreateSurface()
646 if (surface_hash != NULL) { in DRISurfaceNotify()
647 pDRIDrawablePriv = x_hash_table_lookup(surface_hash, in DRISurfaceNotify()
655 x_hash_table_remove(surface_hash, x_cvt_uint_to_vptr(id)); in DRISurfaceNotify()