commit | c58b9999e1ccfee50b8248a2f0bc9a8ed39ed902 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Nov 10 17:10:41 2011 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Nov 10 17:10:41 2011 -0800 |
tree | d660719b16f28797e0fd81ac00a7b5f15272781d | |
parent | 6bb9013ea2aaee587558461775e776a721e46bf4 [diff] | |
parent | 4725e2ca8050250813afcdcac1330244c6e0f5ae [diff] |
Merge "Terminate EGL when an app goes in the background" into ics-mr1
diff --git a/opengl/libs/EGL/egl_display.h b/opengl/libs/EGL/egl_display.h index 1c1092c..e0a367d 100644 --- a/opengl/libs/EGL/egl_display.h +++ b/opengl/libs/EGL/egl_display.h
@@ -91,6 +91,8 @@ inline bool isValid() const { return magic == '_dpy'; } inline bool isAlive() const { return isValid(); } + inline uint32_t getRefsCount() const { return refs; } + struct strings_t { char const * vendor; char const * version;