summaryrefslogtreecommitdiffstats
path: root/opengl/libs
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-11-10 17:10:41 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-10 17:10:41 -0800
commitc58b9999e1ccfee50b8248a2f0bc9a8ed39ed902 (patch)
treed660719b16f28797e0fd81ac00a7b5f15272781d /opengl/libs
parent6bb9013ea2aaee587558461775e776a721e46bf4 (diff)
parent4725e2ca8050250813afcdcac1330244c6e0f5ae (diff)
downloadframeworks_native-c58b9999e1ccfee50b8248a2f0bc9a8ed39ed902.zip
frameworks_native-c58b9999e1ccfee50b8248a2f0bc9a8ed39ed902.tar.gz
frameworks_native-c58b9999e1ccfee50b8248a2f0bc9a8ed39ed902.tar.bz2
Merge "Terminate EGL when an app goes in the background" into ics-mr1
Diffstat (limited to 'opengl/libs')
-rw-r--r--opengl/libs/EGL/egl_display.h2
1 files changed, 2 insertions, 0 deletions
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 @@ public:
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;