/**************************************************************************1*2* Copyright 2008 VMware, Inc.3* All Rights Reserved.4*5* Permission is hereby granted, free of charge, to any person obtaining a6* copy of this software and associated documentation files (the7* "Software"), to deal in the Software without restriction, including8* without limitation the rights to use, copy, modify, merge, publish,9* distribute, sub license, and/or sell copies of the Software, and to10* permit persons to whom the Software is furnished to do so, subject to11* the following conditions:12*13* The above copyright notice and this permission notice (including the14* next paragraph) shall be included in all copies or substantial portions15* of the Software.16*17* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR18* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,19* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL20* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER21* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING22* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER23* DEALINGS IN THE SOFTWARE.24*25**************************************************************************/2627#ifndef __eglmesaext_h_28#define __eglmesaext_h_2930#ifdef __cplusplus31extern "C" {32#endif3334#include <EGL/eglplatform.h>3536/* remnant of EGL_NOK_swap_region kept for compatibility because of a non-standard type name */37typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);3839#ifndef EGL_MESA_configless_context40#define EGL_MESA_configless_context 141#define EGL_NO_CONFIG_MESA EGL_CAST(EGLConfig,0)42#endif4344#ifndef EGL_MESA_drm_image_formats45#define EGL_MESA_drm_image_formats 146#define EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA 0x329047#define EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA 0x329148#define EGL_DRM_BUFFER_FORMAT_RGB565_MESA 0x329249#endif /* EGL_MESA_drm_image_formats */5051#ifdef __cplusplus52}53#endif5455#endif565758