summaryrefslogtreecommitdiff
path: root/src/egl/main/eglconfigutil.h
blob: 9f8906dedb65c8f99e2a81d92f957789c4cbd883 (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"


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


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


PUBLIC 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 */