Searched refs:EglConfig (Results 1 – 4 of 4) sorted by relevance
27 struct EglConfig { struct28 static std::vector<EglConfig*> vec; argument72 EglConfig(EGLDisplay dpy, EGLConfig config_, PFNEGLGETCONFIGATTRIB pfnEglGetConfigAttrib) in EglConfig() argument81 ~EglConfig() { in ~EglConfig() argument82 for (size_t i = 0; i < EglConfig::vec.size(); i++) { in ~EglConfig()
306 *numAttribs = EglConfig::kNumAttribs; in rcGetNumConfigs()307 return EglConfig::vec.size(); in rcGetNumConfigs()311 size_t configAttribBytes = sizeof(EglConfig::kAttribs); in rcGetConfigs()312 size_t nConfigs = EglConfig::vec.size(); in rcGetConfigs()318 memcpy(buffer, &EglConfig::kAttribs, configAttribBytes); in rcGetConfigs()319 size_t offset = EglConfig::kNumAttribs; in rcGetConfigs()320 for (auto const& config : EglConfig::vec) { in rcGetConfigs()322 offset += EglConfig::kNumAttribs; in rcGetConfigs()342 for (size_t i = 0; i < EglConfig::vec.size(); i++) { in rcChooseConfig()343 if (EglConfig::vec[i]->attribs[4] == config_id) in rcChooseConfig()[all …]
90 ### [`EglConfig`](EglConfig.h)[](EglConfig)92 The EglConfig structure maintains a list of available EGLConfigs.
103 std::vector<EglConfig*> EglConfig::vec;105 const EGLint EglConfig::kAttribs[];359 EglConfig* config = in virgl_renderer_init()360 new (std::nothrow) EglConfig(g_dpy, configs[c], s_egl.eglGetConfigAttrib); in virgl_renderer_init()