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 */ |