Blame wayland-egl/wayland-egl-ext.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_EGL_EXT_H
Packit 4d0513
#define WAYLAND_EGL_EXT_H
Packit 4d0513
Packit 4d0513
#ifndef EGL_WL_wayland_eglstream
Packit 4d0513
#define EGL_WL_wayland_eglstream 1
Packit 4d0513
#define EGL_WAYLAND_EGLSTREAM_WL              0x334B
Packit 4d0513
#endif /* EGL_WL_wayland_eglstream */
Packit 4d0513
Packit 4d0513
#ifndef EGL_NV_stream_fifo_synchronous
Packit 4d0513
#define EGL_NV_stream_fifo_synchronous 1
Packit 4d0513
#define EGL_STREAM_FIFO_SYNCHRONOUS_NV               0x3336
Packit 4d0513
#endif /* EGL_NV_stream_fifo_synchronous */
Packit 4d0513
Packit 4d0513
#ifndef EGL_NV_stream_flush
Packit 4d0513
#define EGL_NV_stream_flush 1
Packit 4d0513
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) (EGLDisplay dpy, EGLStreamKHR stream);
Packit 4d0513
#ifdef EGL_EGLEXT_PROTOTYPES
Packit 4d0513
EGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream);
Packit 4d0513
#endif
Packit 4d0513
#endif /*EGL_NV_stream_flush*/
Packit 4d0513
Packit 4d0513
/* Deprecated. Use EGL_KHR_stream_attrib */
Packit 4d0513
#ifndef EGL_NV_stream_attrib
Packit 4d0513
#define EGL_NV_stream_attrib 1
Packit 4d0513
#ifdef EGL_EGLEXT_PROTOTYPES
Packit 4d0513
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamAttribNV(EGLDisplay dpy, const EGLAttrib *attrib_list);
Packit 4d0513
#endif
Packit 4d0513
typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMATTRIBNVPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list);
Packit 4d0513
#endif /* EGL_NV_stream_attrib */
Packit 4d0513
Packit 4d0513
#ifndef EGL_KHR_display_reference
Packit 4d0513
#define EGL_KHR_display_reference 1
Packit 4d0513
#define EGL_TRACK_REFERENCES_KHR          0x3352
Packit 4d0513
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGLAttrib *value);
Packit 4d0513
#ifdef EGL_EGLEXT_PROTOTYPES
Packit 4d0513
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *value);
Packit 4d0513
#endif
Packit 4d0513
#endif /* EGL_KHR_display_reference */
Packit 4d0513
Packit 4d0513
#ifndef EGL_NV_stream_origin
Packit 4d0513
#define EGL_NV_stream_origin 1
Packit 4d0513
#define EGL_STREAM_FRAME_ORIGIN_X_NV         0x3366
Packit 4d0513
#define EGL_STREAM_FRAME_ORIGIN_Y_NV         0x3367
Packit 4d0513
#define EGL_STREAM_FRAME_MAJOR_AXIS_NV       0x3368
Packit 4d0513
#define EGL_CONSUMER_AUTO_ORIENTATION_NV     0x3369
Packit 4d0513
#define EGL_PRODUCER_AUTO_ORIENTATION_NV     0x336A
Packit 4d0513
#define EGL_LEFT_NV                          0x336B
Packit 4d0513
#define EGL_RIGHT_NV                         0x336C
Packit 4d0513
#define EGL_TOP_NV                           0x336D
Packit 4d0513
#define EGL_BOTTOM_NV                        0x336E
Packit 4d0513
#define EGL_X_AXIS_NV                        0x336F
Packit 4d0513
#define EGL_Y_AXIS_NV                        0x3370
Packit 4d0513
#endif /* EGL_NV_stream_origin */
Packit 4d0513
Packit 4d0513
#endif