summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-03-15 20:45:21 -0700
committerJack Palevich <jackpal@google.com>2010-03-15 21:21:51 -0700
commit81cd08448586d73e1ea602f4c83a2203483ae735 (patch)
treef368e2498ff3729844cb38ba151c093398c69b78 /opengl/tests/gl_basic/gl_basic.cpp
parent11ebca5b4f890de197a5a5180460c7bd9aa26b54 (diff)
Implement eglInitialize / eglTerminate reference counting
Previously we imlpemented the standard semantics for eglInitialize / eglTerminate, which are that eglInitialize may be called any number of times, but the first call to eglTerminate will terminate the display. Now we follow reference-countins semantics, which means that eglTerminate will only terminate the display when the reference count returns to zero. This change allows EGL to be used by multiple independently written modules in the same process. (Otherwise there is no way for the independent modules to coordinate their use of the display.)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions