am 9405d987: am a05a8ac5: am af831a7b: Merge "fix [4107131] nvidia driver call takes a very long time" into honeycomb-mr1
* commit '9405d98705db1c8102b77ef960f344ac416d165c': fix [4107131] nvidia driver call takes a very long time
This commit is contained in:
commit
7d7723d330
@ -2119,14 +2119,15 @@ EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)
|
|||||||
if (!validate_display_context(dpy, ctx))
|
if (!validate_display_context(dpy, ctx))
|
||||||
return EGL_FALSE;
|
return EGL_FALSE;
|
||||||
|
|
||||||
|
EGLBoolean result = EGL_FALSE;
|
||||||
egl_context_t * const c = get_context(ctx);
|
egl_context_t * const c = get_context(ctx);
|
||||||
|
|
||||||
if (c->cnx->egl.eglDestroySyncKHR) {
|
if (c->cnx->egl.eglDestroySyncKHR) {
|
||||||
return c->cnx->egl.eglDestroySyncKHR(
|
result = c->cnx->egl.eglDestroySyncKHR(
|
||||||
dp->disp[c->impl].dpy, syncObject->sync);
|
dp->disp[c->impl].dpy, syncObject->sync);
|
||||||
|
if (result)
|
||||||
|
_s.terminate();
|
||||||
}
|
}
|
||||||
|
return result;
|
||||||
return EGL_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout)
|
EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user