Chromium Code Reviews

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

Issue 10375035: Add libva to chromium third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/libva/va/egl/va_egl_impl.h
diff --git a/third_party/libva/va/egl/va_egl_impl.h b/third_party/libva/va/egl/va_egl_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..7d4b6f5ef356afde097d5dda8fbbadc4bcbb865f
--- /dev/null
+++ b/third_party/libva/va/egl/va_egl_impl.h
@@ -0,0 +1,16 @@
+#ifndef _VA_EGL_IMPL_H_
+#define _VA_EGL_IMPL_H_
+
+#define IMPL_MAX_EGL_SURFACE_TARGETS 4
+#define IMPL_MAX_EGL_SURFACE_ATTRIBUTES 8
+
+
+/**
+ * Initialize EGL driver context
+ *
+ * @param[in] dpy the VA Display
+ * @return VA_STATUS_SUCCESS if successful
+ */
+VAStatus va_egl_init_context(VADisplay dpy);
+
+#endif /* _VA_GLX_IMPL_H_ */

Powered by Google App Engine