Home
last modified time | relevance | path

Searched refs:num_configs (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_platform_gbm.txt205 EGLint num_configs;
206 if (!eglGetConfigs(dpy.egl, NULL, 0, &num_configs)) {
210 EGLConfig *configs = malloc(num_configs * sizeof(EGLConfig));
212 configs, num_configs, &num_configs)) {
215 if (num_configs == 0) {
220 for (int i = 0; i < num_configs; ++i) {
DEGL_KHR_platform_x11.txt234 EGLint num_configs;
238 &num_configs)) {
241 if (num_configs == 0) {
/third_party/EGL/extensions/KHR/
DEGL_KHR_platform_gbm.txt205 EGLint num_configs;
206 if (!eglGetConfigs(dpy.egl, NULL, 0, &num_configs)) {
210 EGLConfig *configs = malloc(num_configs * sizeof(EGLConfig));
212 configs, num_configs, &num_configs)) {
215 if (num_configs == 0) {
220 for (int i = 0; i < num_configs; ++i) {
DEGL_KHR_platform_x11.txt234 EGLint num_configs;
238 &num_configs)) {
241 if (num_configs == 0) {
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/
DEGL_MESA_platform_gbm.txt205 EGLint num_configs;
206 if (!eglGetConfigs(dpy.egl, NULL, 0, &num_configs)) {
210 EGLConfig *configs = malloc(num_configs * sizeof(EGLConfig));
212 configs, num_configs, &num_configs)) {
215 if (num_configs == 0) {
220 for (int i = 0; i < num_configs; ++i) {
/third_party/EGL/extensions/MESA/
DEGL_MESA_platform_gbm.txt203 EGLint num_configs;
204 if (!eglGetConfigs(dpy.egl, NULL, 0, &num_configs)) {
208 EGLConfig *configs = malloc(num_configs * sizeof(EGLConfig));
210 configs, num_configs, &num_configs)) {
213 if (num_configs == 0) {
218 for (int i = 0; i < num_configs; ++i) {
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp276 eglw::EGLint num_configs; in EglRenderContext() local
347 if (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], NULL, 0, &num_configs)) in EglRenderContext()
350 eglw::EGLConfig all_configs[num_configs]; in EglRenderContext()
352 … (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], all_configs, num_configs, &num_configs)) in EglRenderContext()
355 for (int i = 0; i < num_configs; i++) { in EglRenderContext()
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/
Dmain.cpp45 EGLint num_configs = 0; in init() local
46 if (eglChooseConfig(g_EglDisplay, egl_attributes, nullptr, 0, &num_configs) != EGL_TRUE) in init()
48 if (num_configs == 0) in init()
53 eglChooseConfig(g_EglDisplay, egl_attributes, &egl_config, 1, &num_configs); in init()
/third_party/mesa3d/src/egl/main/
Deglconfig.c731 EGLint config_size, EGLint *num_configs, in _eglFilterConfigArray() argument
744 *num_configs = count; in _eglFilterConfigArray()
767 *num_configs = count; in _eglFilterConfigArray()
794 EGLConfig *configs, EGLint config_size, EGLint *num_configs) in _eglChooseConfig() argument
803 configs, config_size, num_configs, in _eglChooseConfig()
808 eglPrintConfigDebug(disp, configs, *num_configs, EGL_TRUE); in _eglChooseConfig()
Deglconfig.h218 EGLint config_size, EGLint *num_configs,
/third_party/mesa3d/src/egl/drivers/wgl/
Degl_wgl.c62 EGLint num_configs = 0; in wgl_add_config() local
125 num_configs = _eglFilterArray(disp->Configs, (void **)&matching_config, 1, in wgl_add_config()
128 if (num_configs == 1) { in wgl_add_config()
137 else if (num_configs == 0) { in wgl_add_config()
/third_party/EGL/extensions/EXT/
DEGL_EXT_platform_xcb.txt276 EGLint num_configs;
278 &num_configs)) {
281 if (num_configs == 0) {
DEGL_EXT_platform_x11.txt236 EGLint num_configs;
240 &num_configs)) {
243 if (num_configs == 0) {
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_platform_x11.txt236 EGLint num_configs;
240 &num_configs)) {
243 if (num_configs == 0) {
/third_party/mesa3d/src/glx/
Dglxcmds.c1199 choose_fbconfig(struct glx_config ** configs, int num_configs, in choose_fbconfig() argument
1218 for (i = 0; i < num_configs; i++) { in choose_fbconfig()
1229 if (base < num_configs) { in choose_fbconfig()
1230 (void) memset(&configs[base], 0, sizeof(void *) * (num_configs - base)); in choose_fbconfig()
1667 unsigned num_configs = 0; in glXGetFBConfigs() local
1680 num_configs++; in glXGetFBConfigs()
1684 config_list = malloc(num_configs * sizeof *config_list); in glXGetFBConfigs()
1686 *nelements = num_configs; in glXGetFBConfigs()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.c901 …t_config(struct vl_mpeg12_decoder *dec, const struct format_config configs[], unsigned num_configs) in find_format_config() argument
910 for (i = 0; i < num_configs; ++i) { in find_format_config()
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c413 EGLint num_configs = 0; in dri2_add_config() local
587 num_configs = _eglFilterArray(disp->Configs, (void **) &matching_config, 1, in dri2_add_config()
590 if (num_configs == 1) { in dri2_add_config()
599 else if (num_configs == 0) { in dri2_add_config()