OSDN Git Service

Unlock the graphics buffer before queuing it.
authorNicolas Capens <capn@google.com>
Fri, 17 Feb 2017 01:32:45 +0000 (20:32 -0500)
committerNicolas Capens <capn@google.com>
Sat, 18 Feb 2017 01:01:39 +0000 (01:01 +0000)
commitd7f3cc867376ca04f833b8c0b6c37c911dc423a4
treeee4483140441cd2ddb656580bc580cace80b4c9f
parent8ea247e98021147c4b64426e8dc76842841e1110
Unlock the graphics buffer before queuing it.

The buffer changes ownership after queuing it, so unlock it first.
The decRef() gets removed in a subsequent patch.

Bug b/34981145

Change-Id: I4710699af46a7cbde12e97bc444ad35747509b07
Reviewed-on: https://swiftshader-review.googlesource.com/8848
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
src/Main/FrameBufferAndroid.cpp