summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Francis Hart <fhart@nvidia.com> 2014-12-01 16:04:49 +0200
committer Francis Hart <fhart@nvidia.com> 2016-12-09 13:23:13 +0200
commitdc10f8464090ccdac5e7bb6839fd8c1bba87b022 (patch)
tree1430f499edcc5533c569b3ecec4465779c8c716e /libs/gui/BufferQueue.cpp
parent77f764d66fdfb89e0e7dd07fca64ae78fd02aad5 (diff)
Surface: Ensure synchronisation of copyBlt
The Surface::lock() function has an optimisation for copying the previously drawn contents from the frontbuffer to the (current) backbuffer, so that the client does not have to redraw the whole surface contents. This logic was not using the sync fence FD from dequeueBuffer() and so was not correctly synchronised with pending operations on the backbuffer. Change-Id: Ib44574d50f8bdb4a23078cd8da1c5c512c876320
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions