summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2012-04-04 16:53:42 -0700
committer Jesse Hall <jessehall@google.com> 2012-04-09 21:35:17 -0700
commitb29e5e8c2682ae145e8c56d9afb061f8da7f854c (patch)
treece680c1c4e5c2fd4b5db979448d64745254a6753 /libs/gui/BufferQueue.cpp
parentd5caca1d0d0a57b4a279a51717d97ee146f00ebd (diff)
Increment/decrement a counter around EGL calls
This is in preparation for a change that will hibernate the underlying EGL when idle. Instead of a bare egl_display_t*, get_display() now returns a egl_display_ptr, which acts like a smart pointer. The "wakecount" counter managed by the smart pointer isn't used for anything in this change. It will be used to make sure we don't hibernate when any thread is in an EGL call, without having to hold a mutex for the duration of the call. Change-Id: Iee52f3549a51162efc3800e1195d3f76bba2f2ce
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions