Home
last modified time | relevance | path

Searched refs:config_count (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_context_gl.cc87 EGLint config_count = 0; in ChooseEGLConfiguration() local
90 if (eglChooseConfig(display, attributes, &egl_config, 1, &config_count) != in ChooseEGLConfiguration()
95 bool success = config_count > 0 && egl_config != nullptr; in ChooseEGLConfiguration()
/third_party/mesa3d/src/egl/drivers/wgl/
Degl_wgl.c176 unsigned int config_count = 0; in wgl_add_configs() local
184 config_count + 1, surface_type); in wgl_add_configs()
187 if (wgl_conf->base.ConfigID == config_count + 1) in wgl_add_configs()
188 config_count++; in wgl_add_configs()
192 return (config_count != 0); in wgl_add_configs()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c617 unsigned int config_count = 0; in drm_add_configs_for_visuals() local
651 config_count + 1, EGL_WINDOW_BIT, attr_list, NULL, NULL); in drm_add_configs_for_visuals()
653 if (dri2_conf->base.ConfigID == config_count + 1) in drm_add_configs_for_visuals()
654 config_count++; in drm_add_configs_for_visuals()
668 return (config_count != 0); in drm_add_configs_for_visuals()
Dplatform_x11.c759 int config_count = 0; in dri2_x11_add_configs_for_visuals() local
807 dri2_conf = dri2_add_config(disp, config, config_count + 1, in dri2_x11_add_configs_for_visuals()
811 if (dri2_conf->base.ConfigID == config_count + 1) in dri2_x11_add_configs_for_visuals()
812 config_count++; in dri2_x11_add_configs_for_visuals()
828 dri2_conf = dri2_add_config(disp, config, config_count + 1, in dri2_x11_add_configs_for_visuals()
832 if (dri2_conf->base.ConfigID == config_count + 1) in dri2_x11_add_configs_for_visuals()
833 config_count++; in dri2_x11_add_configs_for_visuals()
841 if (!config_count) { in dri2_x11_add_configs_for_visuals()
Dplatform_ohos.c859 int config_count = 0; in ohos_add_configs_for_visuals() local
876 config_count + 1, surface_type, config_attrs, in ohos_add_configs_for_visuals()
879 if (dri2_conf->base.ConfigID == config_count + 1) in ohos_add_configs_for_visuals()
880 config_count++; in ohos_add_configs_for_visuals()
895 return (config_count != 0); in ohos_add_configs_for_visuals()
Dplatform_android.c1276 int config_count = 0; in droid_add_configs_for_visuals() local
1316 config_count + 1, surface_type, config_attrs, in droid_add_configs_for_visuals()
1319 if (dri2_conf->base.ConfigID == config_count + 1) in droid_add_configs_for_visuals()
1320 config_count++; in droid_add_configs_for_visuals()
1335 return (config_count != 0); in droid_add_configs_for_visuals()
Degl_dri2.c624 unsigned int config_count = 0; in dri2_add_pbuffer_configs_for_visuals() local
631 config_count + 1, EGL_PBUFFER_BIT, NULL, in dri2_add_pbuffer_configs_for_visuals()
635 if (dri2_conf->base.ConfigID == config_count + 1) in dri2_add_pbuffer_configs_for_visuals()
636 config_count++; in dri2_add_pbuffer_configs_for_visuals()
649 return (config_count != 0); in dri2_add_pbuffer_configs_for_visuals()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11decoder.cpp812 guint config_count; in gst_d3d11_decoder_open() local
905 hr = video_device->GetVideoDecoderConfigCount (&decoder_desc, &config_count); in gst_d3d11_decoder_open()
906 if (!gst_d3d11_result (hr, self->device) || config_count == 0) { in gst_d3d11_decoder_open()
912 GST_DEBUG_OBJECT (self, "Total %d config available", config_count); in gst_d3d11_decoder_open()
915 g_alloca (sizeof (D3D11_VIDEO_DECODER_CONFIG) * config_count); in gst_d3d11_decoder_open()
917 for (i = 0; i < config_count; i++) { in gst_d3d11_decoder_open()
2081 UINT config_count; in gst_d3d11_decoder_supports_resolution() local
2097 hr = video_device->GetVideoDecoderConfigCount (&desc, &config_count); in gst_d3d11_decoder_supports_resolution()
2098 if (!gst_d3d11_result (hr, device) || config_count == 0) { in gst_d3d11_decoder_supports_resolution()