Lines Matching defs:context
54 EGLContext context;
61 * Initialize an EGL context for the current display.
82 EGLContext context;
102 context = eglCreateContext(display, config, NULL, NULL);
104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) {
113 engine->context = context;
146 * Tear down the EGL context currently associated with the display.
151 if (engine->context != EGL_NO_CONTEXT) {
152 eglDestroyContext(engine->display, engine->context);
161 engine->context = EGL_NO_CONTEXT;