1af69d88dSmrg/************************************************************************** 2af69d88dSmrg * 3af69d88dSmrg * Copyright 2008 VMware, Inc. 4af69d88dSmrg * All Rights Reserved. 5af69d88dSmrg * 6af69d88dSmrg * Permission is hereby granted, free of charge, to any person obtaining a 7af69d88dSmrg * copy of this software and associated documentation files (the 8af69d88dSmrg * "Software"), to deal in the Software without restriction, including 9af69d88dSmrg * without limitation the rights to use, copy, modify, merge, publish, 10af69d88dSmrg * distribute, sub license, and/or sell copies of the Software, and to 11af69d88dSmrg * permit persons to whom the Software is furnished to do so, subject to 12af69d88dSmrg * the following conditions: 13af69d88dSmrg * 14af69d88dSmrg * The above copyright notice and this permission notice (including the 15af69d88dSmrg * next paragraph) shall be included in all copies or substantial portions 16af69d88dSmrg * of the Software. 17af69d88dSmrg * 18af69d88dSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19af69d88dSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20af69d88dSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 21af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22af69d88dSmrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 23af69d88dSmrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 24af69d88dSmrg * DEALINGS IN THE SOFTWARE. 25af69d88dSmrg * 26af69d88dSmrg **************************************************************************/ 27af69d88dSmrg 28af69d88dSmrg#ifndef __eglmesaext_h_ 29af69d88dSmrg#define __eglmesaext_h_ 30af69d88dSmrg 31af69d88dSmrg#ifdef __cplusplus 32af69d88dSmrgextern "C" { 33af69d88dSmrg#endif 34af69d88dSmrg 35af69d88dSmrg#include <EGL/eglplatform.h> 36af69d88dSmrg 3701e04c3fSmrg/* remnant of EGL_NOK_swap_region kept for compatibility because of a non-standard type name */ 38af69d88dSmrgtypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects); 39af69d88dSmrg 40af69d88dSmrg#ifndef EGL_MESA_configless_context 41af69d88dSmrg#define EGL_MESA_configless_context 1 427ec681f3Smrg#define EGL_NO_CONFIG_MESA EGL_CAST(EGLConfig,0) 43af69d88dSmrg#endif 44af69d88dSmrg 4501e04c3fSmrg#ifndef EGL_MESA_drm_image_formats 4601e04c3fSmrg#define EGL_MESA_drm_image_formats 1 4701e04c3fSmrg#define EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA 0x3290 4801e04c3fSmrg#define EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA 0x3291 4901e04c3fSmrg#define EGL_DRM_BUFFER_FORMAT_RGB565_MESA 0x3292 5001e04c3fSmrg#endif /* EGL_MESA_drm_image_formats */ 5101e04c3fSmrg 52af69d88dSmrg#ifdef __cplusplus 53af69d88dSmrg} 54af69d88dSmrg#endif 55af69d88dSmrg 56af69d88dSmrg#endif 57