Index: third_party/libva/va/egl/va_backend_egl.h |
diff --git a/third_party/libva/va/egl/va_backend_egl.h b/third_party/libva/va/egl/va_backend_egl.h |
index bd0538c5da1dab66578d0cff00cfaff7d7c4d852..925d93364b5286c07649bf55f9cd2a91f11facea 100644 |
--- a/third_party/libva/va/egl/va_backend_egl.h |
+++ b/third_party/libva/va/egl/va_backend_egl.h |
@@ -25,7 +25,7 @@ |
#ifndef VA_BACKEND_EGL_H |
#define VA_BACKEND_EGL_H |
-#include <va/va_egl.h> |
+#include <va/va.h> |
#include <va/va_backend.h> |
struct VADriverVTableEGL { |
@@ -35,56 +35,7 @@ struct VADriverVTableEGL { |
VASurfaceID surface, |
void **buffer |
); |
- |
/* TBD: more APIs for EGL */ |
- int max_egl_surface_targets; |
- int max_egl_surface_attributes; |
- |
- VAStatus (*vaQuerySurfaceTargetsEGL)( |
- VADriverContextP ctx, |
- EGLenum *target_list, /* out */ |
- int *num_targets /* out */ |
- ); |
- |
- VAStatus (*vaCreateSurfaceEGL)( |
- VADriverContextP ctx, |
- EGLenum target, |
- unsigned int width, |
- unsigned int height, |
- VASurfaceEGL *gl_surface |
- ); |
- |
- /* Optional: destroy a VA/EGL surface */ |
- VAStatus (*vaDestroySurfaceEGL)( |
- VADriverContextP ctx, |
- VASurfaceEGL egl_surface |
- ); |
- |
- VAStatus (*vaAssociateSurfaceEGL)( |
- VADriverContextP ctx, |
- VASurfaceEGL egl_surface, |
- VASurfaceID surface, |
- unsigned int flags |
- ); |
- |
- VAStatus (*vaSyncSurfaceEGL)( |
- VADriverContextP ctx, |
- VASurfaceEGL egl_surface |
- ); |
- |
- VAStatus (*vaGetSurfaceInfoEGL)( |
- VADisplay dpy, |
- VASurfaceEGL egl_surface, |
- EGLenum *target, |
- EGLClientBuffer *buffer, |
- EGLint *attrib_list, |
- int *num_attribs |
- ); |
- |
- VAStatus (*vaDeassociateSurfaceEGL)( |
- VADriverContextP ctx, |
- VASurfaceEGL egl_surface |
- ); |
}; |
#endif /* VA_BACKEND_EGL_H */ |