Home
last modified time | relevance | path

Searched refs:EglConfig (Results 1 – 4 of 4) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DEglConfig.h27 struct EglConfig { struct
28 static std::vector<EglConfig*> vec; argument
72 EglConfig(EGLDisplay dpy, EGLConfig config_, PFNEGLGETCONFIGATTRIB pfnEglGetConfigAttrib) in EglConfig() argument
81 ~EglConfig() { in ~EglConfig() argument
82 for (size_t i = 0; i < EglConfig::vec.size(); i++) { in ~EglConfig()
DRenderControl.cpp306 *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 …]
DREADME.md90 ### [`EglConfig`](EglConfig.h)[](EglConfig)
92 The EglConfig structure maintains a list of available EGLConfigs.
DAVDVirglRenderer.cpp103 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()