egldefines.h revision 01e04c3f
14a49301eSmrg/**************************************************************************
23464ebd5Sriastradh *
3af69d88dSmrg * Copyright 2008 VMware, Inc.
44a49301eSmrg * All Rights Reserved.
53464ebd5Sriastradh *
64a49301eSmrg * Permission is hereby granted, free of charge, to any person obtaining a
74a49301eSmrg * copy of this software and associated documentation files (the
84a49301eSmrg * "Software"), to deal in the Software without restriction, including
94a49301eSmrg * without limitation the rights to use, copy, modify, merge, publish,
104a49301eSmrg * distribute, sub license, and/or sell copies of the Software, and to
114a49301eSmrg * permit persons to whom the Software is furnished to do so, subject to
124a49301eSmrg * the following conditions:
133464ebd5Sriastradh *
144a49301eSmrg * The above copyright notice and this permission notice (including the
154a49301eSmrg * next paragraph) shall be included in all copies or substantial portions
164a49301eSmrg * of the Software.
173464ebd5Sriastradh *
183464ebd5Sriastradh * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
193464ebd5Sriastradh * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
203464ebd5Sriastradh * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
213464ebd5Sriastradh * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
223464ebd5Sriastradh * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
233464ebd5Sriastradh * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
243464ebd5Sriastradh * DEALINGS IN THE SOFTWARE.
253464ebd5Sriastradh *
264a49301eSmrg **************************************************************************/
274a49301eSmrg
284a49301eSmrg
294a49301eSmrg/**
304a49301eSmrg * Internal EGL defines
314a49301eSmrg */
324a49301eSmrg
334a49301eSmrg
344a49301eSmrg#ifndef EGLDEFINES_INCLUDED
354a49301eSmrg#define EGLDEFINES_INCLUDED
364a49301eSmrg
3701e04c3fSmrg#include "util/macros.h"
3801e04c3fSmrg
3901e04c3fSmrg#ifdef __cplusplus
4001e04c3fSmrgextern "C" {
4101e04c3fSmrg#endif
424a49301eSmrg
434a49301eSmrg#define _EGL_MAX_EXTENSIONS_LEN 1000
444a49301eSmrg
4501e04c3fSmrg/* Hardcoded, conservative default for EGL_LARGEST_PBUFFER,
4601e04c3fSmrg * this is used to implement EGL_LARGEST_PBUFFER.
4701e04c3fSmrg */
4801e04c3fSmrg#define _EGL_MAX_PBUFFER_WIDTH 4096
4901e04c3fSmrg#define _EGL_MAX_PBUFFER_HEIGHT 4096
504a49301eSmrg
5101e04c3fSmrg#define _EGL_VENDOR_STRING "Mesa Project"
524a49301eSmrg
5301e04c3fSmrg#ifdef __cplusplus
5401e04c3fSmrg}
5501e04c3fSmrg#endif
564a49301eSmrg
574a49301eSmrg#endif /* EGLDEFINES_INCLUDED */
58