projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context
[mesa.git]
/
src
/
gallium
/
state_trackers
/
egl
/
common
/
egl_g3d_sync.c
diff --git
a/src/gallium/state_trackers/egl/common/egl_g3d_sync.c
b/src/gallium/state_trackers/egl/common/egl_g3d_sync.c
index 4e6d944c1510ec38c2f7a08b67337f32c73f117a..9a1002b29a77c22bf9249c37ec35072384b9426f 100644
(file)
--- a/
src/gallium/state_trackers/egl/common/egl_g3d_sync.c
+++ b/
src/gallium/state_trackers/egl/common/egl_g3d_sync.c
@@
-35,8
+35,6
@@
#include "egl_g3d.h"
#include "egl_g3d_sync.h"
#include "egl_g3d.h"
#include "egl_g3d_sync.h"
-#ifdef EGL_KHR_reusable_sync
-
/**
* Wait for the conditional variable.
*/
/**
* Wait for the conditional variable.
*/
@@
-109,7
+107,7
@@
egl_g3d_wait_fence_sync(struct egl_g3d_sync *gsync, EGLTimeKHR timeout)
_eglUnlockMutex(&dpy->Mutex);
/* no timed finish? */
_eglUnlockMutex(&dpy->Mutex);
/* no timed finish? */
- screen->fence_finish(screen, fence,
0x0
);
+ screen->fence_finish(screen, fence,
PIPE_TIMEOUT_INFINITE
);
ret = EGL_CONDITION_SATISFIED_KHR;
_eglLockMutex(&dpy->Mutex);
ret = EGL_CONDITION_SATISFIED_KHR;
_eglLockMutex(&dpy->Mutex);
@@
-234,7
+232,7
@@
egl_g3d_client_wait_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync,
struct egl_g3d_context *gctx = egl_g3d_context(ctx);
if (gctx)
struct egl_g3d_context *gctx = egl_g3d_context(ctx);
if (gctx)
- gctx->stctxi->flush(gctx->stctxi,
PIPE_FLUSH_RENDER_CACHE
, NULL);
+ gctx->stctxi->flush(gctx->stctxi,
ST_FLUSH_FRONT
, NULL);
}
if (timeout) {
}
if (timeout) {
@@
-279,5
+277,3
@@
egl_g3d_signal_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync,
return EGL_TRUE;
}
return EGL_TRUE;
}
-
-#endif /* EGL_KHR_reusable_sync */