OSDN Git Service

SurfaceTexture: eglDestroySync after duping its fd
authorJamie Gennis <jgennis@google.com>
Mon, 10 Sep 2012 21:49:42 +0000 (14:49 -0700)
committerJamie Gennis <jgennis@google.com>
Mon, 10 Sep 2012 21:49:42 +0000 (14:49 -0700)
commit98ff0597bd9e57ba133d54f8f09841f96955cba1
tree77baaa375ae8ced168d825bf5e8b2afd585f856a
parent61e04b92bdeafc6fca89052d14dab1bd0c384a71
SurfaceTexture: eglDestroySync after duping its fd

This change adds a call to eglDestroySync after we've dup'd the fd for the
Android fence that the EGLSyncKHR object wraps.

Change-Id: I4fa6ece863260793630d70bb9a69d6284d05d99e
libs/gui/SurfaceTexture.cpp