Lines Matching refs:self
38 static void mix_surfacepool_init(MixSurfacePool * self) { in mix_surfacepool_init() argument
40 self->free_list = NULL; in mix_surfacepool_init()
41 self->in_use_list = NULL; in mix_surfacepool_init()
42 self->free_list_max_size = 0; in mix_surfacepool_init()
43 self->free_list_cur_size = 0; in mix_surfacepool_init()
44 self->high_water_mark = 0; in mix_surfacepool_init()
46 self->reserved1 = NULL; in mix_surfacepool_init()
47 self->reserved2 = NULL; in mix_surfacepool_init()
48 self->reserved3 = NULL; in mix_surfacepool_init()
49 self->reserved4 = NULL; in mix_surfacepool_init()
53 self->objectlock = g_mutex_new(); in mix_surfacepool_init()
79 MixSurfacePool *self = MIX_SURFACEPOOL(obj); in mix_surfacepool_finalize() local
81 if (self->objectlock) { in mix_surfacepool_finalize()
82 g_mutex_free(self->objectlock); in mix_surfacepool_finalize()
83 self->objectlock = NULL; in mix_surfacepool_finalize()