diff options
author | Chris Craik <ccraik@google.com> | 2012-05-22 13:29:40 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-05-22 14:26:15 -0700 |
commit | f8dafa14e058cdc2f408b59be7911abaceb73c47 (patch) | |
tree | a3de994c2147cc21885a021199a24d82060527bb /libs/hwui | |
parent | c8538ade8df2c2f013f8b93094912057ee1cc417 (diff) | |
download | frameworks_base-f8dafa14e058cdc2f408b59be7911abaceb73c47.zip frameworks_base-f8dafa14e058cdc2f408b59be7911abaceb73c47.tar.gz frameworks_base-f8dafa14e058cdc2f408b59be7911abaceb73c47.tar.bz2 |
Add temporary functor lifetime logging
bug:6535911
Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 766a199..a6e7862 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -250,6 +250,7 @@ void OpenGLRenderer::resume() { } void OpenGLRenderer::detachFunctor(Functor* functor) { + ALOGD("opengl renderer %p detaching functor %p", this, functor); mFunctors.remove(functor); } @@ -302,7 +303,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) { status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { interrupt(); - detachFunctor(functor); + mFunctors.remove(functor); if (mDirtyClip) { setScissorFromClip(); |