OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mContexts
(Results
1 - 2
of
2
) sorted by null
/cts/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/
ContextSwitchRenderer.h
27
EGLContext*
mContexts
;
ContextSwitchRenderer.cpp
78
Renderer(window, offscreen, workload),
mContexts
(NULL) {
104
mContexts
= new EGLContext[NUM_WORKER_CONTEXTS];
108
mContexts
[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs);
109
if (EGL_NO_CONTEXT ==
mContexts
[i] || EGL_SUCCESS != eglGetError()) {
113
if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
mContexts
[i])
139
if (
mContexts
) {
144
eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
mContexts
[i]);
149
eglDestroyContext(mEglDisplay,
mContexts
[i]);
151
delete[]
mContexts
;
201
eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
mContexts
[i])
[
all
...]
Completed in 645 milliseconds