diff options
author | Ren Zhaohan <zhaohan.ren@intel.com> | 2010-05-06 19:40:00 +0800 |
---|---|---|
committer | Ren Zhaohan <zhaohan.ren@intel.com> | 2010-05-06 19:40:00 +0800 |
commit | 085f5e3b74c3db11d5d8a769d4cc57c2a022bc86 (patch) | |
tree | 32965d88cf5f6f8ddc93ccb2343701f45a0c68d6 /va/x11 | |
parent | e498c6a1ab475acde9a4343bc403109ae73f652d (diff) |
move va_android.c => va_android.cpp, use sp<Surface> instead of void*.
Diffstat (limited to 'va/x11')
-rw-r--r-- | va/x11/va_dricommon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/va/x11/va_dricommon.h b/va/x11/va_dricommon.h index 8345816..0d324ad 100644 --- a/va/x11/va_dricommon.h +++ b/va/x11/va_dricommon.h @@ -3,10 +3,10 @@ #ifndef ANDROID #include <X11/Xlib.h> -#endif #include <xf86drm.h> #include <drm.h> #include <drm_sarea.h> +#endif #include <va/va_backend.h> @@ -47,6 +47,7 @@ struct dri_state { int fd; int driConnectedFlag; /* 0: disconnected, 1: DRI, 2: DRI2 */ +#ifndef ANDROID drm_handle_t hSAREA; drm_context_t hwContext; drmAddress pSAREA; @@ -58,6 +59,7 @@ struct dri_state void (*swapBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable); union dri_buffer *(*getRenderingBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable); void (*close)(VADriverContextP ctx); +#endif }; Bool isDRI2Connected(VADriverContextP ctx, char **driver_name); |