/external/mesa3d/src/gallium/state_trackers/egl/null/ |
native_null.c | 46 int num_configs; member in struct:null_display 56 null_display_get_configs(struct native_display *ndpy, int *num_configs) 62 configs = MALLOC(sizeof(*configs) * null->num_configs); 64 for (i = 0; i < null->num_configs; i++) 66 if (num_configs) 67 *num_configs = null->num_configs; 111 struct native_config *nconf = &null->configs[null->num_configs]; 115 null->num_configs++;
|
/external/skia/gm/ |
bitmapcopy.cpp | 28 #define NUM_CONFIGS SK_ARRAY_COUNT(gColorTypes) 48 SkBitmap fDst[NUM_CONFIGS]; 74 for (unsigned i = 0; i < NUM_CONFIGS; ++i) { 87 for (unsigned i = 0; i < NUM_CONFIGS; i++) { 98 for (unsigned i = 0; i < NUM_CONFIGS; i++) {
|
/external/autotest/client/deps/glbench/src/ |
egl_stuff.cc | 63 EGLint num_configs = -1; local 64 eglGetConfigs(display_, NULL, 0, &num_configs); 67 eglChooseConfig(display_, attribs, &config_, 1, &num_configs);
|
/external/mesa3d/src/gallium/state_trackers/egl/gdi/ |
native_gdi.c | 47 int num_configs; member in struct:gdi_display 294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) 322 gdpy->num_configs = count; 325 configs = MALLOC(gdpy->num_configs * sizeof(*configs)); 327 for (i = 0; i < gdpy->num_configs; i++) 329 if (num_configs) 330 *num_configs = gdpy->num_configs;
|
/hardware/libhardware/tests/vehicle/ |
vehicle_tests.cpp | 34 int num_configs = -1; local 35 config = vehicle_device()->list_properties(vehicle_device(), &num_configs); 36 ASSERT_TRUE(num_configs > -1) << "list_properties() call failed."; 37 ASSERT_TRUE(num_configs > 0) << "list_properties() returned zero items."; 38 std::cout << "Number of properties reported: " << num_configs << "\n"; local 39 for (int i = 0; i < num_configs; i++) {
|
vehicle-hal-tool.c | 71 int num_configs = -1; local 72 const vehicle_prop_config_t *configs = device->list_properties(device, &num_configs); 73 if (num_configs < 0) { 74 printf("List configs error. %d", num_configs); 80 for (i = 0; i < num_configs; i++) {
|
/device/google/marlin/vr/ |
vr.c | 85 int num_configs = (*p_thermal_client_config_query)("ss", &instances); local 86 if (num_configs <= 0) { 89 for (int i = 0; i < num_configs; i++) { 92 if (num_configs > 0) { 93 (*p_thermal_client_config_cleanup)(instances,num_configs); 96 num_configs = (*p_thermal_client_config_query)("monitor", &instances); 97 if (num_configs <= 0) { 100 for (int i = 0; i < num_configs; i++) { 103 if (num_configs > 0) { 104 (*p_thermal_client_config_cleanup)(instances,num_configs); [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
native_wayland.c | 80 wayland_display_get_configs(struct native_display *ndpy, int *num_configs) 89 display->num_configs = 0; 99 nconf = &display->configs[display->num_configs].base; 107 display->num_configs++; 111 configs = MALLOC(display->num_configs * sizeof(*configs)); 113 for (i = 0; i < display->num_configs; ++i) 115 if (num_configs) 116 *num_configs = display->num_configs;
|
native_wayland.h | 55 int num_configs; member in struct:wayland_display
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
native_ximage.c | 52 int num_configs; member in struct:ximage_display 335 for (i = 0; i < xdpy->num_configs; i++) { 375 ximage_display_get_configs(struct native_display *ndpy, int *num_configs) 424 xdpy->num_configs = count; 427 configs = MALLOC(xdpy->num_configs * sizeof(*configs)); 429 for (i = 0; i < xdpy->num_configs; i++) 431 if (num_configs) 432 *num_configs = xdpy->num_configs; 465 for (i = 0; i < xdpy->num_configs; i++) [all...] |
native_dri2.c | 61 int num_configs; member in struct:dri2_display 511 for (i = 0; i < dri2dpy->num_configs; i++) { 645 dri2_display_get_configs(struct native_display *ndpy, int *num_configs) 682 dri2dpy->num_configs = count; 685 configs = MALLOC(dri2dpy->num_configs * sizeof(*configs)); 687 for (i = 0; i < dri2dpy->num_configs; i++) 689 if (num_configs) 690 *num_configs = dri2dpy->num_configs;
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display_null.h | 47 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { 48 return HWCDisplay::GetDisplayConfigs(configs, num_configs);
|
/development/ndk/sources/android/ndk_helper/ |
GLContext.cpp | 113 EGLint num_configs; local 114 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); 116 if( !num_configs ) 123 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); 127 if( !num_configs )
|
/external/mesa3d/src/egl/main/ |
eglconfig.c | 711 EGLint config_size, EGLint *num_configs, 720 if (!num_configs) 727 *num_configs = count; 750 *num_configs = count; 777 EGLConfig *configs, EGLint config_size, EGLint *num_configs) 785 configs, config_size, num_configs,
|
eglconfig.h | 207 EGLint config_size, EGLint *num_configs,
|
/external/autotest/client/site_tests/graphics_GLAPICheck/src/ |
gles_APICheck.cc | 202 EGLint num_configs; local 205 &egl_config, 1, &num_configs); 206 if (rt_code == EGL_FALSE || num_configs != 1) {
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
native_drm.c | 54 drm_display_get_configs(struct native_display *ndpy, int *num_configs) 96 if (num_configs) 97 *num_configs = 1;
|
/frameworks/base/libs/hwui/renderthread/ |
EglManager.cpp | 164 EGLint num_configs = 1; local 165 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs) 166 || num_configs != 1) {
|
/external/drm_hwcomposer/ |
hwcomposer.cpp | 695 size_t *num_configs) { 696 if (!*num_configs) 717 if (idx == *num_configs) 722 *num_configs = hd->config_ids.size(); 723 return *num_configs == 0 ? -1 : 0; 848 size_t num_configs = 1; local 850 &num_configs); 851 if (ret || !num_configs)
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
native_android.cpp | 64 int num_configs; member in struct:android_display 584 aconf = &adpy->configs[adpy->num_configs++]; 687 android_display_get_configs(struct native_display *ndpy, int *num_configs) 694 MALLOC(adpy->num_configs * sizeof(*configs)); 696 for (i = 0; i < adpy->num_configs; i++) 698 if (num_configs) 699 *num_configs = adpy->num_configs;
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d.c | 426 int num_formats, num_configs, i, j; local 429 native_configs = gdpy->native->get_configs(gdpy->native, &num_configs); 430 if (!num_configs) { 446 for (i = 0; i < num_configs; i++) {
|
/external/mesa3d/src/egl/drivers/glx/ |
egl_glx.c | 470 EGLint num_configs = 0, i; local 475 GLX_drv->glXGetFBConfigs(GLX_dpy->dpy, screen, &num_configs); 484 &num_configs); 487 if (!num_configs) 490 for (i = 0; i < num_configs; i++) { [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/ |
native_fbdev.c | 374 fbdev_display_get_configs(struct native_display *ndpy, int *num_configs) 382 if (num_configs) 383 *num_configs = 1;
|
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel_unittest.cc | 177 NUM_CONFIGS [all...] |
/external/mesa3d/src/glx/ |
glxcmds.c | 1156 * \param num_configs Number of elements in the \c configs array. 1668 unsigned num_configs = 0; local [all...] |