diff options
author | Brian Paul <[email protected]> | 2008-05-27 16:57:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-27 16:57:49 -0600 |
commit | a772bbb16ec91a8714a498e8089f96f45730153c (patch) | |
tree | 88cca0912c969c9c5e4267846d03b3cdf727b4c9 /src/egl/main/eglconfigutil.h | |
parent | 07e92b174214e6bdaa22eecc0ed87cf1dbc8fc10 (diff) |
Move some config-related utility functions into new eglconfigutil.c file.
Diffstat (limited to 'src/egl/main/eglconfigutil.h')
-rw-r--r-- | src/egl/main/eglconfigutil.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/egl/main/eglconfigutil.h b/src/egl/main/eglconfigutil.h new file mode 100644 index 00000000000..5db906db651 --- /dev/null +++ b/src/egl/main/eglconfigutil.h @@ -0,0 +1,23 @@ + +#ifndef EGLCONFIGUTIL_INCLUDED +#define EGLCONFIGUTIL_INCLUDED + +#include "eglconfig.h" +#include "GL/internal/glcore.h" + + +extern void +_eglConfigToContextModesRec(const _EGLConfig *config, __GLcontextModes *mode); + + +extern EGLBoolean +_eglFillInConfigs( _EGLConfig *configs, + EGLenum fb_format, EGLenum fb_type, + const u_int8_t * depth_bits, const u_int8_t * stencil_bits, + unsigned num_depth_stencil_bits, + const EGLenum * db_modes, unsigned num_db_modes, + int visType ); + + + +#endif /* EGLCONFIGUTIL_INCLUDED */ |