Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/state_trackers/egl/null/
Dnative_null.c46 int num_configs; member
56 null_display_get_configs(struct native_display *ndpy, int *num_configs) in null_display_get_configs() argument
62 configs = MALLOC(sizeof(*configs) * null->num_configs); in null_display_get_configs()
64 for (i = 0; i < null->num_configs; i++) in null_display_get_configs()
66 if (num_configs) in null_display_get_configs()
67 *num_configs = null->num_configs; in null_display_get_configs()
111 struct native_config *nconf = &null->configs[null->num_configs]; in null_display_init_config()
115 null->num_configs++; in null_display_init_config()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/null/
Dnative_null.c46 int num_configs; member
56 null_display_get_configs(struct native_display *ndpy, int *num_configs) in null_display_get_configs() argument
62 configs = MALLOC(sizeof(*configs) * null->num_configs); in null_display_get_configs()
64 for (i = 0; i < null->num_configs; i++) in null_display_get_configs()
66 if (num_configs) in null_display_get_configs()
67 *num_configs = null->num_configs; in null_display_get_configs()
111 struct native_config *nconf = &null->configs[null->num_configs]; in null_display_init_config()
115 null->num_configs++; in null_display_init_config()
/external/chromium_org/media/filters/
Dfake_demuxer_stream_unittest.cc136 void ReadAllBuffers(int num_configs, int num_buffers_in_one_config) { in ReadAllBuffers() argument
138 for (int i = 0; i < num_configs; ++i) { in ReadAllBuffers()
144 if (i == num_configs - 1) in ReadAllBuffers()
153 EXPECT_EQ(num_configs * num_buffers_in_one_config, num_buffers_received_); in ReadAllBuffers()
156 void TestRead(int num_configs, in TestRead() argument
160 num_configs, num_buffers_in_one_config, is_encrypted)); in TestRead()
166 ReadAllBuffers(num_configs, num_buffers_in_one_config); in TestRead()
Dfake_demuxer_stream.cc33 FakeDemuxerStream::FakeDemuxerStream(int num_configs, in FakeDemuxerStream() argument
37 num_configs_(num_configs), in FakeDemuxerStream()
39 config_changes_(num_configs > 1), in FakeDemuxerStream()
42 DCHECK_GT(num_configs, 0); in FakeDemuxerStream()
Dfake_demuxer_stream.h25 FakeDemuxerStream(int num_configs,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c47 int num_configs; member
294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) in gdi_display_get_configs() argument
322 gdpy->num_configs = count; in gdi_display_get_configs()
325 configs = MALLOC(gdpy->num_configs * sizeof(*configs)); in gdi_display_get_configs()
327 for (i = 0; i < gdpy->num_configs; i++) in gdi_display_get_configs()
329 if (num_configs) in gdi_display_get_configs()
330 *num_configs = gdpy->num_configs; in gdi_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c47 int num_configs; member
294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) in gdi_display_get_configs() argument
322 gdpy->num_configs = count; in gdi_display_get_configs()
325 configs = MALLOC(gdpy->num_configs * sizeof(*configs)); in gdi_display_get_configs()
327 for (i = 0; i < gdpy->num_configs; i++) in gdi_display_get_configs()
329 if (num_configs) in gdi_display_get_configs()
330 *num_configs = gdpy->num_configs; in gdi_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_wayland.c80 wayland_display_get_configs(struct native_display *ndpy, int *num_configs) in wayland_display_get_configs() argument
89 display->num_configs = 0; in wayland_display_get_configs()
99 nconf = &display->configs[display->num_configs].base; in wayland_display_get_configs()
107 display->num_configs++; in wayland_display_get_configs()
111 configs = MALLOC(display->num_configs * sizeof(*configs)); in wayland_display_get_configs()
113 for (i = 0; i < display->num_configs; ++i) in wayland_display_get_configs()
115 if (num_configs) in wayland_display_get_configs()
116 *num_configs = display->num_configs; in wayland_display_get_configs()
Dnative_wayland.h55 int num_configs; member
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/
Dnative_wayland.c80 wayland_display_get_configs(struct native_display *ndpy, int *num_configs) in wayland_display_get_configs() argument
89 display->num_configs = 0; in wayland_display_get_configs()
99 nconf = &display->configs[display->num_configs].base; in wayland_display_get_configs()
107 display->num_configs++; in wayland_display_get_configs()
111 configs = MALLOC(display->num_configs * sizeof(*configs)); in wayland_display_get_configs()
113 for (i = 0; i < display->num_configs; ++i) in wayland_display_get_configs()
115 if (num_configs) in wayland_display_get_configs()
116 *num_configs = display->num_configs; in wayland_display_get_configs()
Dnative_wayland.h55 int num_configs; member
/external/chromium_org/ui/gl/
Dgl_surface_egl.cc153 EGLint num_configs; in InitializeOneOff() local
158 &num_configs)) { in InitializeOneOff()
164 if (num_configs == 0) { in InitializeOneOff()
173 &num_configs)) { in InitializeOneOff()
396 EGLint num_configs; in GetConfig()
401 &num_configs)) { in GetConfig()
407 if (num_configs) { in GetConfig()
429 &num_configs)) { in GetConfig()
435 if (num_configs == 0) { in GetConfig()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c52 int num_configs; member
335 for (i = 0; i < xdpy->num_configs; i++) { in ximage_display_create_pixmap_surface()
375 ximage_display_get_configs(struct native_display *ndpy, int *num_configs) in ximage_display_get_configs() argument
424 xdpy->num_configs = count; in ximage_display_get_configs()
427 configs = MALLOC(xdpy->num_configs * sizeof(*configs)); in ximage_display_get_configs()
429 for (i = 0; i < xdpy->num_configs; i++) in ximage_display_get_configs()
431 if (num_configs) in ximage_display_get_configs()
432 *num_configs = xdpy->num_configs; in ximage_display_get_configs()
465 for (i = 0; i < xdpy->num_configs; i++) { in ximage_display_copy_to_pixmap()
Dnative_dri2.c61 int num_configs; member
511 for (i = 0; i < dri2dpy->num_configs; i++) { in dri2_display_create_pixmap_surface()
645 dri2_display_get_configs(struct native_display *ndpy, int *num_configs) in dri2_display_get_configs() argument
682 dri2dpy->num_configs = count; in dri2_display_get_configs()
685 configs = MALLOC(dri2dpy->num_configs * sizeof(*configs)); in dri2_display_get_configs()
687 for (i = 0; i < dri2dpy->num_configs; i++) in dri2_display_get_configs()
689 if (num_configs) in dri2_display_get_configs()
690 *num_configs = dri2dpy->num_configs; in dri2_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c52 int num_configs; member
335 for (i = 0; i < xdpy->num_configs; i++) { in ximage_display_create_pixmap_surface()
375 ximage_display_get_configs(struct native_display *ndpy, int *num_configs) in ximage_display_get_configs() argument
424 xdpy->num_configs = count; in ximage_display_get_configs()
427 configs = MALLOC(xdpy->num_configs * sizeof(*configs)); in ximage_display_get_configs()
429 for (i = 0; i < xdpy->num_configs; i++) in ximage_display_get_configs()
431 if (num_configs) in ximage_display_get_configs()
432 *num_configs = xdpy->num_configs; in ximage_display_get_configs()
465 for (i = 0; i < xdpy->num_configs; i++) { in ximage_display_copy_to_pixmap()
Dnative_dri2.c61 int num_configs; member
511 for (i = 0; i < dri2dpy->num_configs; i++) { in dri2_display_create_pixmap_surface()
645 dri2_display_get_configs(struct native_display *ndpy, int *num_configs) in dri2_display_get_configs() argument
682 dri2dpy->num_configs = count; in dri2_display_get_configs()
685 configs = MALLOC(dri2dpy->num_configs * sizeof(*configs)); in dri2_display_get_configs()
687 for (i = 0; i < dri2dpy->num_configs; i++) in dri2_display_get_configs()
689 if (num_configs) in dri2_display_get_configs()
690 *num_configs = dri2dpy->num_configs; in dri2_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/android/
Dnative_android.cpp64 int num_configs; member
584 aconf = &adpy->configs[adpy->num_configs++]; in android_display_init_configs()
687 android_display_get_configs(struct native_display *ndpy, int *num_configs) in android_display_get_configs() argument
694 MALLOC(adpy->num_configs * sizeof(*configs)); in android_display_get_configs()
696 for (i = 0; i < adpy->num_configs; i++) in android_display_get_configs()
698 if (num_configs) in android_display_get_configs()
699 *num_configs = adpy->num_configs; in android_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/android/
Dnative_android.cpp64 int num_configs; member
584 aconf = &adpy->configs[adpy->num_configs++]; in android_display_init_configs()
687 android_display_get_configs(struct native_display *ndpy, int *num_configs) in android_display_get_configs() argument
694 MALLOC(adpy->num_configs * sizeof(*configs)); in android_display_get_configs()
696 for (i = 0; i < adpy->num_configs; i++) in android_display_get_configs()
698 if (num_configs) in android_display_get_configs()
699 *num_configs = adpy->num_configs; in android_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/egl/main/
Deglconfig.c711 EGLint config_size, EGLint *num_configs, in _eglFilterConfigArray() argument
720 if (!num_configs) in _eglFilterConfigArray()
727 *num_configs = count; in _eglFilterConfigArray()
750 *num_configs = count; in _eglFilterConfigArray()
777 EGLConfig *configs, EGLint config_size, EGLint *num_configs) in _eglChooseConfig() argument
785 configs, config_size, num_configs, in _eglChooseConfig()
/external/mesa3d/src/egl/main/
Deglconfig.c711 EGLint config_size, EGLint *num_configs, in _eglFilterConfigArray() argument
720 if (!num_configs) in _eglFilterConfigArray()
727 *num_configs = count; in _eglFilterConfigArray()
750 *num_configs = count; in _eglFilterConfigArray()
777 EGLConfig *configs, EGLint config_size, EGLint *num_configs) in _eglChooseConfig() argument
785 configs, config_size, num_configs, in _eglChooseConfig()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
Dnative_drm.c54 drm_display_get_configs(struct native_display *ndpy, int *num_configs) in drm_display_get_configs() argument
96 if (num_configs) in drm_display_get_configs()
97 *num_configs = 1; in drm_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c54 drm_display_get_configs(struct native_display *ndpy, int *num_configs) in drm_display_get_configs() argument
96 if (num_configs) in drm_display_get_configs()
97 *num_configs = 1; in drm_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c374 fbdev_display_get_configs(struct native_display *ndpy, int *num_configs) in fbdev_display_get_configs() argument
382 if (num_configs) in fbdev_display_get_configs()
383 *num_configs = 1; in fbdev_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c374 fbdev_display_get_configs(struct native_display *ndpy, int *num_configs) in fbdev_display_get_configs() argument
382 if (num_configs) in fbdev_display_get_configs()
383 *num_configs = 1; in fbdev_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
Degl_g3d.c426 int num_formats, num_configs, i, j; in egl_g3d_add_configs() local
429 native_configs = gdpy->native->get_configs(gdpy->native, &num_configs); in egl_g3d_add_configs()
430 if (!num_configs) { in egl_g3d_add_configs()
446 for (i = 0; i < num_configs; i++) { in egl_g3d_add_configs()

12