summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-03-24 13:46:15 -0700
committerJack Palevich <jackpal@google.com>2010-03-24 13:48:27 -0700
commitb1768998f14e03bd69cf049783d6cbeccf6d5839 (patch)
tree6a627c625a32bd2ef73abe417ee1ef8d35fe8971 /libs/rs/rsg_ScriptJavaClass.cpp
parent07353a1e8598b1e2993b8b6763f630379ae6e8bb (diff)
Improve our EGL management when pausing / resuming.
We now release the EGL context when pausing. This is required to reduce the chance of running out of contexts on devices which support a limited number of active EGL contexts. Someday we may implement a global EGL context manager that will allow us to let EGL contexts persist until another activity needs an EGL context. But for now, without such a manager, we take the conservative approach. Separately, we now terminate EGL when pausing on Sapphire. This is a requirement of the Sapphire OpenGL driver.
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions