egldefines.h revision af69d88d
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
374a49301eSmrg
384a49301eSmrg#define _EGL_MAX_EXTENSIONS_LEN 1000
394a49301eSmrg
404a49301eSmrg#define _EGL_VENDOR_STRING "Mesa Project"
414a49301eSmrg
423464ebd5Sriastradh#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
434a49301eSmrg
444a49301eSmrg
454a49301eSmrg#endif /* EGLDEFINES_INCLUDED */
46