diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-02-21 10:58:22 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-03-05 10:19:05 +0800 |
commit | e38f28ddedd6d4902ae18b1bf243e67d4b16decb (patch) | |
tree | 30237b21b483746ecf2263c16ed380062e1fae53 /src/gallium/state_trackers/egl/x11/native_x11.h | |
parent | 45df4bad9fc0379f05197bee10c03fd351f24094 (diff) |
st/egl: Add event support to the native display interface.
There is only invalid_surface event right now. When EGL receives the
event, it sets the force_validate flag of the context binding to the
surface. This helps skip an unnecessary check.
Diffstat (limited to 'src/gallium/state_trackers/egl/x11/native_x11.h')
-rw-r--r-- | src/gallium/state_trackers/egl/x11/native_x11.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_x11.h b/src/gallium/state_trackers/egl/x11/native_x11.h index 622ddac5df..8c6a7d9349 100644 --- a/src/gallium/state_trackers/egl/x11/native_x11.h +++ b/src/gallium/state_trackers/egl/x11/native_x11.h @@ -29,9 +29,13 @@ #include "common/native.h" struct native_display * -x11_create_ximage_display(EGLNativeDisplayType dpy, boolean use_xshm); +x11_create_ximage_display(EGLNativeDisplayType dpy, + struct native_event_handler *event_handler, + boolean use_xshm); struct native_display * -x11_create_dri2_display(EGLNativeDisplayType dpy, struct drm_api *api); +x11_create_dri2_display(EGLNativeDisplayType dpy, + struct native_event_handler *event_handler, + struct drm_api *api); #endif /* _NATIVE_X11_H_ */ |