OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d714c83
)
Terminate EGL when an app goes in the background
author
Romain Guy
<romainguy@google.com>
Thu, 10 Nov 2011 04:10:18 +0000
(20:10 -0800)
committer
Romain Guy
<romainguy@google.com>
Fri, 11 Nov 2011 00:44:49 +0000
(16:44 -0800)
This does not happen on high end gfx devices. This happens
only if only one EGL context is initialized in the current
process.
Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e
opengl/libs/EGL/egl_display.h
patch
|
blob
|
history
diff --git
a/opengl/libs/EGL/egl_display.h
b/opengl/libs/EGL/egl_display.h
index
1c1092c
..
e0a367d
100644
(file)
--- 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;