Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: third_party/libva/va/egl/va_backend_egl.h

Issue 62273006: Update libva headers to the latest release (1.2.1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: remove two header files, fix comment style Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */

Powered by Google App Engine
This is Rietveld 408576698