diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-20 15:52:50 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-20 18:15:26 +0800 |
commit | 11f4360f2e915f236558da22efe5bdabd81446f3 (patch) | |
tree | 8fdd0a0b5cf22e28ed68de3fcd3e7302a3a1692c /src/gallium/state_trackers/egl_g3d/kms/native_kms.c | |
parent | c5766c4ae39b4190965abd65eaf67b478a9ad028 (diff) |
st/egl_g3d: Add support for probe to native displays.
The functions can be used to check if a display is supported without
creating a struct native_display. It uses a probe object that can be
shared across drivers.
Diffstat (limited to 'src/gallium/state_trackers/egl_g3d/kms/native_kms.c')
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/kms/native_kms.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl_g3d/kms/native_kms.c b/src/gallium/state_trackers/egl_g3d/kms/native_kms.c index dc66436630..d5baf2c2f0 100644 --- a/src/gallium/state_trackers/egl_g3d/kms/native_kms.c +++ b/src/gallium/state_trackers/egl_g3d/kms/native_kms.c @@ -820,6 +820,18 @@ kms_create_display(EGLNativeDisplayType dpy, struct drm_api *api) return &kdpy->base; } +struct native_probe * +native_create_probe(EGLNativeDisplayType dpy) +{ + return NULL; +} + +enum native_probe_result +native_get_probe_result(struct native_probe *nprobe) +{ + return NATIVE_PROBE_UNKNOWN; +} + /* the api is destroyed with the native display */ static struct drm_api *drm_api; |