/frameworks/native/opengl/tests/include/ |
D | EGLUtils.h | 94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); in selectConfigForPixelFormat() local 95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { in selectConfigForPixelFormat() 96 free(configs); in selectConfigForPixelFormat() 104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId); in selectConfigForPixelFormat() 106 config = configs[i]; in selectConfigForPixelFormat() 111 free(configs); in selectConfigForPixelFormat()
|
/frameworks/native/opengl/tests/configdump/ |
D | configdump.cpp | 68 EGLConfig* configs; in main() local 74 configs = new EGLConfig[n]; in main() 75 eglGetConfigs(dpy, configs, n, &n); in main() 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); in main() 86 delete [] configs; in main()
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
D | GL2JNIView.java | 131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 134 return chooseConfig(egl, display, configs); in chooseConfig() 138 EGLConfig[] configs) { in chooseConfig() argument 141 for(EGLConfig config : configs) { in chooseConfig() 178 EGLConfig[] configs) { in printConfigs() argument 179 int numConfigs = configs.length; in printConfigs() 183 printConfig(egl, display, configs[i]); in printConfigs()
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
D | GLPerfView.java | 131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 134 return chooseConfig(egl, display, configs); in chooseConfig() 138 EGLConfig[] configs) { in chooseConfig() argument 141 for(EGLConfig config : configs) { in chooseConfig() 178 EGLConfig[] configs) { in printConfigs() argument 179 int numConfigs = configs.length; in printConfigs() 183 printConfig(egl, display, configs[i]); in printConfigs()
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | GLDualGL2View.java | 134 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 137 return chooseConfig(egl, display, configs); in chooseConfig() 141 EGLConfig[] configs) { in chooseConfig() argument 144 for(EGLConfig config : configs) { in chooseConfig() 181 EGLConfig[] configs) { in printConfigs() argument 182 int numConfigs = configs.length; in printConfigs() 186 printConfig(egl, display, configs[i]); in printConfigs()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations() local 344 if (! configs) { in printEGLConfigurations() 349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations() 352 free(configs); in printEGLConfigurations() 358 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations() 361 free(configs); in printEGLConfigurations() 413 EGLConfig* const configs = new EGLConfig[numConfigs]; in main() local 414 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n); in main() 415 myConfig = configs[0]; in main() 416 delete[] configs; in main()
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 190 jintArray attrib_list, jobjectArray configs, jint config_size, jintArray num_config) { in jni_eglChooseConfig() argument 193 || (configs != NULL && _env->GetArrayLength(configs) < config_size) in jni_eglChooseConfig() 201 if (configs == NULL) { in jni_eglChooseConfig() 208 success = eglChooseConfig(dpy, attrib_base, configs ? nativeConfigs : 0, config_size, &num); in jni_eglChooseConfig() 215 if (success && configs!=NULL) { in jni_eglChooseConfig() 218 _env->SetObjectArrayElement(configs, i, obj); in jni_eglChooseConfig() 385 jobjectArray configs, jint config_size, jintArray num_config) { in jni_eglGetConfigs() argument 386 if (display == NULL || (configs != NULL && _env->GetArrayLength(configs) < config_size) in jni_eglGetConfigs() 393 if (configs == NULL) { in jni_eglGetConfigs() 398 success = eglGetConfigs(dpy, configs ? nativeConfigs : 0, config_size, &num); in jni_eglGetConfigs() [all …]
|
D | android_opengl_EGL14.cpp | 269 EGLConfig *configs = (EGLConfig *) 0; in android_eglGetConfigs() local 293 configs = new EGLConfig[_configsRemaining]; in android_eglGetConfigs() 314 (EGLConfig *)configs, in android_eglGetConfigs() 324 if (configs) { in android_eglGetConfigs() 326 … jobject configs_new = toEGLHandle(_env, eglconfigClass, eglconfigConstructor, configs[i]); in android_eglGetConfigs() 329 delete[] configs; in android_eglGetConfigs() 351 EGLConfig *configs = (EGLConfig *) 0; in android_eglChooseConfig() local 405 configs = new EGLConfig[_configsRemaining]; in android_eglChooseConfig() 433 (EGLConfig *)configs, in android_eglChooseConfig() 447 if (configs) { in android_eglChooseConfig() [all …]
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
D | checks.spec | 2 eglGetConfigs check configs config_size 3 eglChooseConfig check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
|
D | EGL14.spec | 6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_conf… 7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint …
|
/frameworks/native/opengl/tests/gl2_basic/ |
D | gl2_basic.cpp | 239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations() local 240 if (! configs) { in printEGLConfigurations() 245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations() 248 free(configs); in printEGLConfigurations() 254 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations() 257 free(configs); in printEGLConfigurations()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 63 if (configs.size() > 0) { in makeConfigsString() 64 for (size_t j=0; j<configs.size(); j++) { in makeConfigsString() 66 configStr.append(configs[j].toString()); in makeConfigsString() 89 const size_t LHN = configs.size(); in compare() 90 const size_t RHN = o.configs.size(); in compare() 93 comp = configs[i].compareLogical(o.configs[i]); in compare() 148 for (addPos=0; addPos<ent.configs.size(); addPos++) { in add() 149 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); in add() 153 ent.configs.insertAt(*config, addPos); in add() 158 if (addPos >= ent.configs.size()) { in add() [all …]
|
D | StringPool.h | 46 configTypeName(o.configTypeName), configs(o.configs) { } in entry() 53 Vector<ResTable_config> configs; member
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations() local 171 if (! configs) { in printEGLConfigurations() 176 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations() 179 free(configs); in printEGLConfigurations() 185 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations() 188 free(configs); in printEGLConfigurations()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 666 SmsBroadcastConfigInfo[] configs = in finishUpdate() local 668 return setCellBroadcastConfig(configs); in finishUpdate() 706 CdmaSmsBroadcastConfigInfo[] configs = in finishUpdate() local 708 return setCdmaBroadcastConfig(configs); in finishUpdate() 713 private boolean setCellBroadcastConfig(SmsBroadcastConfigInfo[] configs) { in setCellBroadcastConfig() argument 715 log("Calling setGsmBroadcastConfig with " + configs.length + " configurations"); in setCellBroadcastConfig() 721 mPhone.mCi.setGsmBroadcastConfig(configs, response); in setCellBroadcastConfig() 753 private boolean setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs) { in setCdmaBroadcastConfig() argument 755 log("Calling setCdmaBroadcastConfig with " + configs.length + " configurations"); in setCdmaBroadcastConfig() 761 mPhone.mCi.setCdmaBroadcastConfig(configs, response); in setCdmaBroadcastConfig()
|
/frameworks/base/services/jni/ |
D | com_android_server_AssetAtlasService.cpp | 140 EGLConfig configs[1]; in com_android_server_AssetAtlasService_upload() local 142 if (!eglChooseConfig(display, configAttrs, configs, 1, &configCount)) { in com_android_server_AssetAtlasService_upload() 164 EGLContext context = eglCreateContext(display, configs[0], EGL_NO_CONTEXT, attrs); in com_android_server_AssetAtlasService_upload() 172 surface = eglCreatePbufferSurface(display, configs[0], surfaceAttrs); in com_android_server_AssetAtlasService_upload()
|
/frameworks/base/opengl/java/android/opengl/ |
D | EGLLogWrapper.java | 48 EGLConfig[] configs, int config_size, int[] num_config) { in eglChooseConfig() argument 55 boolean result = mEgl10.eglChooseConfig(display, attrib_list, configs, in eglChooseConfig() 57 arg("configs", configs); in eglChooseConfig() 180 public boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, in eglGetConfigs() argument 187 boolean result = mEgl10.eglGetConfigs(display, configs, config_size, in eglGetConfigs() 189 arg("configs", configs); in eglGetConfigs()
|
D | EGL14.java | 189 EGLConfig[] configs, in eglGetConfigs() argument 202 EGLConfig[] configs, in eglChooseConfig() argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
D | EGL10.java | 97 …boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config… in eglChooseConfig() argument 106 …boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_conf… in eglGetConfigs() argument
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 270 EGLConfig* const configs = new EGLConfig[numConfigs]; in rsdGLInit() local 274 configAttribs, configs, numConfigs, &n); in rsdGLInit() 281 dc->gl.egl.config = configs[0]; in rsdGLInit() 288 configs[i], EGL_ALPHA_SIZE, &alphaSize); in rsdGLInit() 297 configs[i], EGL_DEPTH_SIZE, &depthSize); in rsdGLInit() 304 dc->gl.egl.config = configs[i]; in rsdGLInit() 308 delete [] configs; in rsdGLInit()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | egl.h | 202 GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EG… 203 …Y eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_si…
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 116 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 122 return configs[0]; in chooseEglConfig()
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 36 …n eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size,… in eglChooseConfig() argument 38 …public native boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, … in eglGetConfigs() argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 411 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local 413 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 417 return configs[0]; in chooseEglConfig()
|
/frameworks/native/opengl/include/EGL/ |
D | egl.h | 257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, 260 EGLConfig *configs, EGLint config_size,
|