commit | b68fde08063218fb1208cdaa402ccb4d587d8879 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Fri Nov 11 14:24:58 2011 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Nov 11 14:24:58 2011 -0800 |
tree | d660719b16f28797e0fd81ac00a7b5f15272781d | |
parent | f01724f46a770730d9602443d37651cd52dd2a02 [diff] | |
parent | 53de2e881aef01cdb0b34ef62b57e7f2608cd505 [diff] |
Merge "Fix issue #5595933: GREF leak due to race condition in..." 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;