Blame va/wayland/va_wayland_drm.h

Packit 38d9dc
/*
Packit 38d9dc
 * va_wayland_drm.h - Wayland/DRM helpers
Packit 38d9dc
 *
Packit 38d9dc
 * Copyright (c) 2012 Intel Corporation. All Rights Reserved.
Packit 38d9dc
 *
Packit 38d9dc
 * Permission is hereby granted, free of charge, to any person obtaining a
Packit 38d9dc
 * copy of this software and associated documentation files (the
Packit 38d9dc
 * "Software"), to deal in the Software without restriction, including
Packit 38d9dc
 * without limitation the rights to use, copy, modify, merge, publish,
Packit 38d9dc
 * distribute, sub license, and/or sell copies of the Software, and to
Packit 38d9dc
 * permit persons to whom the Software is furnished to do so, subject to
Packit 38d9dc
 * the following conditions:
Packit 38d9dc
 * 
Packit 38d9dc
 * The above copyright notice and this permission notice (including the
Packit 38d9dc
 * next paragraph) shall be included in all copies or substantial portions
Packit 38d9dc
 * of the Software.
Packit 38d9dc
 * 
Packit 38d9dc
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit 38d9dc
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit 38d9dc
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
Packit 38d9dc
 * IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR
Packit 38d9dc
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
Packit 38d9dc
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
Packit 38d9dc
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit 38d9dc
 */
Packit 38d9dc
Packit 38d9dc
#ifndef VA_WAYLAND_DRM_H
Packit 38d9dc
#define VA_WAYLAND_DRM_H
Packit 38d9dc
Packit 38d9dc
#include <stdbool.h>
Packit 38d9dc
#include "va_wayland.h"
Packit 38d9dc
#include "va_backend.h"
Packit 38d9dc
#include "va_backend_wayland.h"
Packit 38d9dc
Packit 38d9dc
/**
Packit 38d9dc
 * \brief Initializes Wayland/DRM layer.
Packit 38d9dc
 *
Packit 38d9dc
 * This is an internal function used to initialize the VA/DRM subsystem
Packit 38d9dc
 * if the application is running on a DRM-based server.
Packit 38d9dc
 *
Packit 38d9dc
 * @param[in]   pDisplayContext the VA display context
Packit 38d9dc
 * @return true if successful
Packit 38d9dc
 */
Packit 38d9dc
DLL_HIDDEN
Packit 38d9dc
bool
Packit 38d9dc
va_wayland_drm_create(VADisplayContextP pDisplayContext);
Packit 38d9dc
Packit 38d9dc
DLL_HIDDEN
Packit 38d9dc
void
Packit 38d9dc
va_wayland_drm_destroy(VADisplayContextP pDisplayContext);
Packit 38d9dc
Packit 38d9dc
#endif /* VA_WAYLAND_DRM_H */