Searched refs:read_elements (Results 1 – 1 of 1) sorted by relevance
47 const size_t read_elements = (readable_elements < element_count ? in GetBufferReadRegions() local52 if (read_elements > margin) { in GetBufferReadRegions()57 *data_ptr_bytes_2 = (read_elements - margin) * buf->element_size; in GetBufferReadRegions()60 *data_ptr_bytes_1 = read_elements * buf->element_size; in GetBufferReadRegions()65 return read_elements; in GetBufferReadRegions()