/**************************************************************************1*2* Copyright 2008 VMware, Inc.3* Copyright 2009-2010 Chia-I Wu <[email protected]>4* All Rights Reserved.5*6* Permission is hereby granted, free of charge, to any person obtaining a7* copy of this software and associated documentation files (the8* "Software"), to deal in the Software without restriction, including9* without limitation the rights to use, copy, modify, merge, publish,10* distribute, sub license, and/or sell copies of the Software, and to11* permit persons to whom the Software is furnished to do so, subject to12* the following conditions:13*14* The above copyright notice and this permission notice (including the15* next paragraph) shall be included in all copies or substantial portions16* of the Software.17*18* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR19* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,20* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL21* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER22* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING23* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER24* DEALINGS IN THE SOFTWARE.25*26**************************************************************************/272829#ifndef EGLLOG_INCLUDED30#define EGLLOG_INCLUDED313233#include "egltypedefs.h"343536#ifdef __cplusplus37extern "C" {38#endif3940#define _EGL_FATAL 0 /* unrecoverable error */41#define _EGL_WARNING 1 /* recoverable error/problem */42#define _EGL_INFO 2 /* just useful info */43#define _EGL_DEBUG 3 /* useful info for debugging */444546extern void47_eglLog(EGLint level, const char *fmtStr, ...);484950#ifdef __cplusplus51}52#endif5354#endif /* EGLLOG_INCLUDED */555657