Lines Matching refs:currentLayer
178 size_t currentLayer = 0; in setChangedCompositionTypes() local
180 while (currentLayer < totalLayers) { in setChangedCompositionTypes()
181 size_t count = std::min(totalLayers - currentLayer, static_cast<size_t>(kMaxLength) / 3); in setChangedCompositionTypes()
185 write64(layers[currentLayer + i]); in setChangedCompositionTypes()
186 writeSigned(static_cast<int32_t>(types[currentLayer + i])); in setChangedCompositionTypes()
190 currentLayer += count; in setChangedCompositionTypes()
197 size_t currentLayer = 0; in setDisplayRequests() local
199 while (currentLayer < totalLayers) { in setDisplayRequests()
200 size_t count = std::min(totalLayers - currentLayer, static_cast<size_t>(kMaxLength - 1) / 3); in setDisplayRequests()
205 write64(layers[currentLayer + i]); in setDisplayRequests()
206 write(static_cast<int32_t>(layerRequestMasks[currentLayer + i])); in setDisplayRequests()
210 currentLayer += count; in setDisplayRequests()
224 size_t currentLayer = 0; in setReleaseFences() local
226 while (currentLayer < totalLayers) { in setReleaseFences()
227 size_t count = std::min(totalLayers - currentLayer, static_cast<size_t>(kMaxLength) / 3); in setReleaseFences()
231 write64(layers[currentLayer + i]); in setReleaseFences()
232 writeFence(releaseFences[currentLayer + i]); in setReleaseFences()
236 currentLayer += count; in setReleaseFences()