Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp326 size_t required_size = (num_hw_layers + blit_target_count) * in AllocateLayerStack() local
341 required_size += num_rects * sizeof(LayerRect); in AllocateLayerStack()
346 if (layer_stack_memory_.size < required_size) { in AllocateLayerStack()
353 required_size = ROUND_UP(required_size, layer_stack_memory_.kSizeSteps); in AllocateLayerStack()
354 layer_stack_memory_.raw = new uint8_t[required_size]; in AllocateLayerStack()
359 layer_stack_memory_.size = required_size; in AllocateLayerStack()