Searched refs:available_texture_mem (Results 1 – 4 of 4) sorted by relevance
82 p_atomic_add(&This->base.device->available_texture_mem, -This->size); in NineResource9_ctor()85 p_atomic_read(&This->base.device->available_texture_mem) <= in NineResource9_ctor()88 if (p_atomic_read(&This->base.device->available_texture_mem) <= in NineResource9_ctor()102 (int)(This->base.device->available_texture_mem >> 10), in NineResource9_ctor()124 p_atomic_add(&This->base.device->available_texture_mem, This->size); in NineResource9_dtor()
279 This->available_texture_mem = This->screen->get_param(This->screen, PIPE_CAP_VIDEO_MEMORY); in NineDevice9_ctor()280 This->available_texture_mem = (pCTX->override_vram_size >= 0) ? in NineDevice9_ctor()281 (long long)pCTX->override_vram_size : This->available_texture_mem; in NineDevice9_ctor()282 This->available_texture_mem <<= 20; in NineDevice9_ctor()287 This->available_texture_limit = This->available_texture_mem * 5LL / 100LL; in NineDevice9_ctor()722 …return (UINT)MIN2(This->available_texture_mem, (long long)(UINT_MAX - (64 << 20))); /* 64 MB margi… in NineDevice9_GetAvailableTextureMem()
159 long long available_texture_mem; member
59 - st/nine: Use atomics for available_texture_mem