summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglconfigutil.h
blob: 8c923ee206a1abe3430e422cba0aaa3be819a6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef EGLCONFIGUTIL_INCLUDED
#define EGLCONFIGUTIL_INCLUDED


#include "GL/gl.h"
#include "GL/internal/glcore.h"
#include "eglconfig.h"


extern void
_eglConfigToContextModesRec(const _EGLConfig *config, __GLcontextModes *mode);


extern EGLBoolean
_eglConfigFromContextModesRec(_EGLConfig *conf, const __GLcontextModes *m,
                              EGLint conformant, EGLint renderable_type);


extern EGLBoolean
_eglFillInConfigs( _EGLConfig *configs,
                   EGLenum fb_format, EGLenum fb_type,
                   const uint8_t * depth_bits, const uint8_t * stencil_bits,
                   unsigned num_depth_stencil_bits,
                   const EGLenum * db_modes, unsigned num_db_modes,
                   int visType );



#endif /* EGLCONFIGUTIL_INCLUDED */