vi: Partially implement buffer crop parameters.

This commit is contained in:
bunnei
2018-07-17 20:11:41 -04:00
parent 8e28af6f89
commit c3dd456d51
9 changed files with 46 additions and 14 deletions

View File

@ -149,7 +149,8 @@ void NVFlinger::Compose() {
ASSERT(nvdisp);
nvdisp->flip(igbp_buffer.gpu_buffer_id, igbp_buffer.offset, igbp_buffer.format,
igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform);
igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform,
buffer->crop_rect);
buffer_queue->ReleaseBuffer(buffer->slot);
}