Searched refs:memoryBudget (Results 1 – 7 of 7) sorted by relevance
2079 DOUBLE memoryBudget, in BlockTypeWithinMemoryBudget() argument2084 if (memoryBudget >= 1.0) in BlockTypeWithinMemoryBudget()2088 if ((static_cast<DOUBLE>(newBlockTypeSize) / minSize) <= memoryBudget) in BlockTypeWithinMemoryBudget()2095 if ((static_cast<DOUBLE>(minSize) / newBlockTypeSize) > memoryBudget) in BlockTypeWithinMemoryBudget()
933 DOUBLE memoryBudget = 0.0f,
2568 VkPhysicalDeviceMemoryBudgetPropertiesEXT *memoryBudget) in anv_get_memory_budget() argument2619 memoryBudget->heapUsage[i] = heap_used; in anv_get_memory_budget()2620 memoryBudget->heapBudget[i] = heap_budget; in anv_get_memory_budget()2627 memoryBudget->heapBudget[i] = 0; in anv_get_memory_budget()2628 memoryBudget->heapUsage[i] = 0; in anv_get_memory_budget()
2401 VkPhysicalDeviceMemoryBudgetPropertiesEXT *memoryBudget) in radv_get_memory_budget_properties() argument2454 memoryBudget->heapBudget[vram_vis_heap_idx] = vram_vis_free_space + vram_vis_internal_usage; in radv_get_memory_budget_properties()2455 memoryBudget->heapUsage[vram_vis_heap_idx] = vram_vis_internal_usage; in radv_get_memory_budget_properties()2456 memoryBudget->heapBudget[gtt_heap_idx] = gtt_free_space + gtt_internal_usage; in radv_get_memory_budget_properties()2457 memoryBudget->heapUsage[gtt_heap_idx] = gtt_internal_usage; in radv_get_memory_budget_properties()2486 memoryBudget->heapBudget[heap] = free_space + internal_usage; in radv_get_memory_budget_properties()2487 memoryBudget->heapUsage[heap] = internal_usage; in radv_get_memory_budget_properties()2499 memoryBudget->heapBudget[i] = 0; in radv_get_memory_budget_properties()2500 memoryBudget->heapUsage[i] = 0; in radv_get_memory_budget_properties()
2825 pIn->memoryBudget, in HwlGetPreferredSurfaceSetting()3064 … const BOOL_32 computeMinSize = (pIn->flags.minimizeAlign == 1) || (pIn->memoryBudget >= 1.0); in HwlGetPreferredSurfaceSetting()3158 if (pIn->memoryBudget > 1.0) in HwlGetPreferredSurfaceSetting()3193 pIn->memoryBudget, in HwlGetPreferredSurfaceSetting()
3737 … const BOOL_32 computeMinSize = (pIn->flags.minimizeAlign == 1) || (pIn->memoryBudget >= 1.0); in HwlGetPreferredSurfaceSetting()3809 if (pIn->memoryBudget > 1.0) in HwlGetPreferredSurfaceSetting()3838 … if (BlockTypeWithinMemoryBudget(minSize, padSize[i], 0, 0, pIn->memoryBudget) == FALSE) in HwlGetPreferredSurfaceSetting()
3875 DOUBLE memoryBudget; ///< Memory consumption ratio based on minimum possible member