Index: third_party/libva/va/drm/va_drm_auth_x11.h |
diff --git a/third_party/libva/va/egl/va_egl_impl.h b/third_party/libva/va/drm/va_drm_auth_x11.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_x11.h |
index 8b6fb91b9fe112aca7b95f9a07da426b1a4cd97b..530eeed74af6a1c993fce3d5e49fa55f449df4d5 100644 |
--- a/third_party/libva/va/egl/va_egl_impl.h |
+++ b/third_party/libva/va/drm/va_drm_auth_x11.h |
@@ -21,19 +21,15 @@ |
* 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_X11_H |
+#define VA_DRM_AUTH_X11_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_authenticate_x11(int fd, uint32_t magic); |
-#endif /* _VA_GLX_IMPL_H_ */ |
+#endif /* VA_DRM_AUTH_X11_H */ |