Blame gst-libs/gst/gl/egl/gstegl.h

Packit 971217
/*
Packit 971217
 * GStreamer
Packit 971217
 * Copyright (C) 2015 Matthew Waters <matthew@centricular.com>
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef _GST_EGL_H_
Packit 971217
#define _GST_EGL_H_
Packit 971217
Packit 971217
#include <gst/gl/gstglconfig.h>
Packit 971217
#include <gst/gl/gl-prelude.h>
Packit 971217
Packit 971217
#if GST_GL_HAVE_WINDOW_DISPMANX && defined(__GNUC__)
Packit 971217
#ifndef __VCCOREVER__
Packit 971217
#define __VCCOREVER__ 0x04000000
Packit 971217
#endif
Packit 971217
Packit 971217
#pragma GCC diagnostic push
Packit 971217
#pragma GCC diagnostic ignored "-Wredundant-decls"
Packit 971217
#if !defined(__cplusplus)
Packit 971217
#pragma GCC optimize ("gnu89-inline")
Packit 971217
#endif
Packit 971217
#endif
Packit 971217
Packit 971217
#ifndef EGL_EGLEXT_PROTOTYPES
Packit 971217
#define EGL_EGLEXT_PROTOTYPES 1
Packit 971217
#endif
Packit 971217
#include <EGL/egl.h>
Packit 971217
#include <EGL/eglext.h>
Packit 971217
Packit 971217
#if GST_GL_HAVE_WINDOW_DISPMANX && defined(__GNUC__)
Packit 971217
#pragma GCC reset_options
Packit 971217
#pragma GCC diagnostic pop
Packit 971217
#endif
Packit 971217
Packit 971217
/* compatibility definitions... */
Packit 971217
#if !GST_GL_HAVE_EGLATTRIB
Packit 971217
typedef gintptr EGLAttrib;
Packit 971217
#endif
Packit 971217
Packit 971217
GST_GL_API
Packit 971217
const gchar *   gst_egl_get_error_string             (EGLint err);
Packit 971217
Packit 971217
#endif /* _GST_EGL_H_ */