• Home
  • Raw
  • Download

Lines Matching refs:conf

59 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id)  in _eglInitConfig()  argument
61 memset(conf, 0, sizeof(*conf)); in _eglInitConfig()
63 conf->Display = dpy; in _eglInitConfig()
66 conf->ConfigID = id; in _eglInitConfig()
67 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig()
68 conf->TransparentType = EGL_NONE; in _eglInitConfig()
69 conf->NativeVisualType = EGL_NONE; in _eglInitConfig()
70 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig()
81 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument
83 _EGLDisplay *dpy = conf->Display; in _eglLinkConfig()
87 assert(conf->ConfigID > 0); in _eglLinkConfig()
95 _eglAppendArray(dpy->Configs, (void *) conf); in _eglLinkConfig()
97 return (EGLConfig) conf; in _eglLinkConfig()
108 _EGLConfig *conf; in _eglLookupConfig() local
113 conf = (_EGLConfig *) _eglFindArray(dpy->Configs, (void *) config); in _eglLookupConfig()
114 if (conf) in _eglLookupConfig()
115 assert(conf->Display == dpy); in _eglLookupConfig()
117 return conf; in _eglLookupConfig()
268 _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching) in _eglValidateConfig() argument
278 val = _eglGetConfigKey(conf, attr); in _eglValidateConfig()
383 switch (conf->ColorBufferType) { in _eglValidateConfig()
385 if (conf->LuminanceSize) in _eglValidateConfig()
387 if (conf->RedSize + conf->GreenSize + in _eglValidateConfig()
388 conf->BlueSize + conf->AlphaSize != conf->BufferSize) in _eglValidateConfig()
392 if (conf->RedSize || conf->GreenSize || conf->BlueSize) in _eglValidateConfig()
394 if (conf->LuminanceSize + conf->AlphaSize != conf->BufferSize) in _eglValidateConfig()
403 if (!conf->SampleBuffers && conf->Samples) in _eglValidateConfig()
410 if (!(conf->SurfaceType & EGL_WINDOW_BIT)) { in _eglValidateConfig()
411 if (conf->NativeVisualID != 0 || conf->NativeVisualType != EGL_NONE) in _eglValidateConfig()
414 if (!(conf->SurfaceType & EGL_PBUFFER_BIT)) { in _eglValidateConfig()
415 if (conf->BindToTextureRGB || conf->BindToTextureRGBA) in _eglValidateConfig()
436 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) in _eglMatchConfig() argument
451 val = _eglGetConfigKey(conf, attr); in _eglMatchConfig()
490 _eglIsConfigAttribValid(_EGLConfig *conf, EGLint attr) in _eglIsConfigAttribValid() argument
497 return conf->Display->Extensions.NOK_texture_from_pixmap; in _eglIsConfigAttribValid()
499 return conf->Display->Extensions.ANDROID_framebuffer_target; in _eglIsConfigAttribValid()
501 return conf->Display->Extensions.ANDROID_recordable; in _eglIsConfigAttribValid()
514 _eglParseConfigAttribList(_EGLConfig *conf, _EGLDisplay *dpy, in _eglParseConfigAttribList() argument
519 _eglInitConfig(conf, dpy, EGL_DONT_CARE); in _eglParseConfigAttribList()
525 _eglSetConfigKey(conf, attr, val); in _eglParseConfigAttribList()
533 if (!_eglIsConfigAttribValid(conf, attr)) in _eglParseConfigAttribList()
536 _eglSetConfigKey(conf, attr, val); in _eglParseConfigAttribList()
539 if (!_eglValidateConfig(conf, EGL_TRUE)) in _eglParseConfigAttribList()
543 if (conf->Level == EGL_DONT_CARE || in _eglParseConfigAttribList()
544 conf->MatchNativePixmap == EGL_DONT_CARE) in _eglParseConfigAttribList()
548 if (conf->ConfigID != EGL_DONT_CARE) { in _eglParseConfigAttribList()
552 _eglSetConfigKey(conf, attr, EGL_DONT_CARE); in _eglParseConfigAttribList()
556 if (!(conf->SurfaceType & EGL_WINDOW_BIT)) in _eglParseConfigAttribList()
557 conf->NativeVisualType = EGL_DONT_CARE; in _eglParseConfigAttribList()
559 if (conf->TransparentType == EGL_NONE) { in _eglParseConfigAttribList()
560 conf->TransparentRedValue = EGL_DONT_CARE; in _eglParseConfigAttribList()
561 conf->TransparentGreenValue = EGL_DONT_CARE; in _eglParseConfigAttribList()
562 conf->TransparentBlueValue = EGL_DONT_CARE; in _eglParseConfigAttribList()
767 _eglFallbackMatch(const _EGLConfig *conf, void *priv_data) in _eglFallbackMatch() argument
769 return _eglMatchConfig(conf, (const _EGLConfig *) priv_data); in _eglFallbackMatch()
805 _eglGetConfigAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, in _eglGetConfigAttrib() argument
808 if (!_eglIsConfigAttribValid(conf, attribute)) in _eglGetConfigAttrib()
823 *value = _eglGetConfigKey(conf, attribute); in _eglGetConfigAttrib()
831 _EGLConfig *conf = (_EGLConfig *) elem; in _eglFlattenConfig() local
833 *handle = _eglGetConfigHandle(conf); in _eglFlattenConfig()