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

Unified Diff: third_party/libva/va/drm/va_drm_auth.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/drm/va_drm_auth.h
diff --git a/third_party/libva/va/egl/va_egl_impl.h b/third_party/libva/va/drm/va_drm_auth.h
similarity index 78%
copy from third_party/libva/va/egl/va_egl_impl.h
copy to third_party/libva/va/drm/va_drm_auth.h
index 8b6fb91b9fe112aca7b95f9a07da426b1a4cd97b..1aa6989dcf181be732735baff4b5b9faa956cf5f 100644
--- a/third_party/libva/va/egl/va_egl_impl.h
+++ b/third_party/libva/va/drm/va_drm_auth.h
@@ -21,19 +21,19 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifndef _VA_EGL_IMPL_H_
-#define _VA_EGL_IMPL_H_
-#define IMPL_MAX_EGL_SURFACE_TARGETS 4
-#define IMPL_MAX_EGL_SURFACE_ATTRIBUTES 8
+#ifndef VA_DRM_AUTH_H
+#define VA_DRM_AUTH_H
+#include <stdint.h>
+#include <stdbool.h>
-/**
- * Initialize EGL driver context
- *
- * @param[in] dpy the VA Display
- * @return VA_STATUS_SUCCESS if successful
- */
-VAStatus va_egl_init_context(VADisplay dpy);
+DLL_HIDDEN
+bool
+va_drm_is_authenticated(int fd);
+
+DLL_HIDDEN
+bool
+va_drm_authenticate(int fd, uint32_t magic);
-#endif /* _VA_GLX_IMPL_H_ */
+#endif /* VA_DRM_AUTH_H */

Powered by Google App Engine
This is Rietveld 408576698