Blame include/wayland-eglstream.h

Packit 4d0513
/*
Packit 4d0513
 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
Packit 4d0513
 *
Packit 4d0513
 * Permission is hereby granted, free of charge, to any person obtaining a
Packit 4d0513
 * copy of this software and associated documentation files (the "Software"),
Packit 4d0513
 * to deal in the Software without restriction, including without limitation
Packit 4d0513
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit 4d0513
 * and/or sell copies of the Software, and to permit persons to whom the
Packit 4d0513
 * Software is furnished to do so, subject to the following conditions:
Packit 4d0513
 *
Packit 4d0513
 * The above copyright notice and this permission notice shall be included in
Packit 4d0513
 * all copies or substantial portions of the Software.
Packit 4d0513
 *
Packit 4d0513
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit 4d0513
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit 4d0513
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Packit 4d0513
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Packit 4d0513
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Packit 4d0513
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Packit 4d0513
 * DEALINGS IN THE SOFTWARE.
Packit 4d0513
 */
Packit 4d0513
Packit 4d0513
#ifndef WAYLAND_EGLSTREAM_H
Packit 4d0513
#define WAYLAND_EGLSTREAM_H
Packit 4d0513
Packit 4d0513
#include <EGL/egl.h>
Packit 4d0513
#include <EGL/eglext.h>
Packit 4d0513
Packit 4d0513
#ifdef __cplusplus
Packit 4d0513
extern "C" {
Packit 4d0513
#endif
Packit 4d0513
Packit 4d0513
/* wlEglCreateStreamAttribHook()
Packit 4d0513
 *
Packit 4d0513
 * Creates an EGLStream from the given external attribute list. If suceeded,
Packit 4d0513
 * the new stream handle is returned; otherwise, EGL_NO_STREAM_KHR is returned
Packit 4d0513
 * and the appropriate EGL error is generated.
Packit 4d0513
 */
Packit 4d0513
EGLStreamKHR wlEglCreateStreamAttribHook(EGLDisplay dpy,
Packit 4d0513
                                         const EGLAttrib *attribs);
Packit 4d0513
Packit 4d0513
#ifdef __cplusplus
Packit 4d0513
}
Packit 4d0513
#endif
Packit 4d0513
Packit 4d0513
#endif