/frameworks/native/opengl/tests/configdump/ |
configdump.cpp | 68 EGLConfig* configs; local 74 configs = new EGLConfig[n]; 75 eglGetConfigs(dpy, configs, n, &n); 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 86 delete [] configs;
|
/frameworks/native/opengl/tests/include/ |
EGLUtils.h | 90 // Get all the "potential match" configs... 94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); local 95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { 96 free(configs); 104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId); 106 config = configs[i]; 111 free(configs);
|
/cts/tests/tests/drm/src/android/drm/cts/configs/ |
FwdLockConfig.java | 17 package android.drm.cts.configs;
|
PassthruConfig.java | 17 package android.drm.cts.configs;
|
/cts/tests/tests/effect/src/android/effect/cts/ |
GLEnv.java | 52 EGLConfig[] configs = new EGLConfig[1]; local 54 egl.eglChooseConfig(mEGLDisplay, configSpec, configs, 1, num_config); 59 mEGLConfig = configs[0];
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigTest.java | 79 // Avoid configs like RGBA0008 which crash even though they have the window bit set. 91 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; local 92 if (egl.eglChooseConfig(display, attributeList, configs, configs.length, 97 if (egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_ID,
|
OpenGlEsVersionTest.java | 109 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; local 110 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { 114 if (egl.eglGetConfigAttrib(display, configs[i], 133 Log.e(TAG, "Getting configs with EGL10#eglGetConfigs failed: " 138 Log.e(TAG, "Getting number of configs with EGL10#eglGetConfigs failed: "
|
/cts/tests/tests/media/src/android/media/cts/ |
InputSurface.java | 85 EGLConfig[] configs = new EGLConfig[1]; local 87 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, 97 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, 108 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, configs[0], mSurface,
|
OutputSurface.java | 149 EGLConfig[] configs = new EGLConfig[1]; local 151 if (!mEGL.eglChooseConfig(mEGLDisplay, attribList, configs, 1, numConfigs)) { 160 mEGLContext = mEGL.eglCreateContext(mEGLDisplay, configs[0], EGL10.EGL_NO_CONTEXT, 174 mEGLSurface = mEGL.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs);
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
GraphicsContext3DInternal.cpp | 132 GLXFBConfig* configs = glXChooseFBConfig(sharedDisplay(), 0, fbConfigAttributes, &returnedElements); local 133 if (!configs) { 135 configs = glXChooseFBConfig(sharedDisplay(), 0, fbConfigAttributes, &returnedElements); 138 XFree(configs); 144 GLXPbuffer pbuffer = glXCreatePbuffer(sharedDisplay(), configs[0], pbufferAttributes); 146 XFree(configs); 150 GLXContext context = glXCreateNewContext(sharedDisplay(), configs[0], GLX_RGBA_TYPE, 0, GL_TRUE); 151 XFree(configs);
|
/frameworks/base/tools/aapt/ |
StringPool.h | 47 configTypeName(o.configTypeName), configs(o.configs) { } 54 Vector<ResTable_config> configs; member in struct:StringPool::entry
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
FixLaunchConfig.java | 87 ILaunchConfiguration[] configs = findConfigs(mProject.getName()); local 90 for (ILaunchConfiguration config : configs) { 136 // create a temp list to hold all the valid configs 140 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(configType); local 142 for (ILaunchConfiguration config : configs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
DebuggerConnector.java | 121 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(type); local 124 for (ILaunchConfiguration config : configs) {
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
FBConfig.cpp | 79 // Query the set of configs in the EGL backend 83 fprintf(stderr, "Could not get number of available configs\n"); 86 EGLConfig *configs = new EGLConfig[nConfigs]; local 87 s_egl.eglGetConfigs(dpy, configs, nConfigs, &nConfigs); 91 // configs we do not want to support. 98 // filter out configs which does not support pbuffers. 99 // we only support pbuffer configs since we use a pbuffer 103 s_egl.eglGetConfigAttrib(dpy, configs[i], 108 // Filter out not RGB configs 111 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_RED_SIZE, &redSize) [all...] |
/cts/tests/src/android/opengl/cts/ |
EglConfigGLSurfaceView.java | 65 EGLConfig[] configs = new EGLConfig[1]; local 66 if (egl.eglChooseConfig(display, attributeList, configs, 1, new int[] {1})) { 68 printConfig(egl, display, configs[0]); 69 return configs[0];
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 105 EGLConfig[] configs = new EGLConfig[1]; local 106 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) { 114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); 116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
GL2JNIView.java | 168 throw new IllegalArgumentException("No configs match configSpec"); 171 /* Allocate then read the array of minimally matching EGL configs 173 EGLConfig[] configs = new EGLConfig[numConfigs]; local 174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 177 printConfigs(egl, display, configs); 181 return chooseConfig(egl, display, configs); 185 EGLConfig[] configs) { 186 for(EGLConfig config : configs) { 222 EGLConfig[] configs) { 223 int numConfigs = configs.length [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
PerformanceResultsElement.java | 102 String[] configs = DB_Results.getConfigs(); local 103 int length = configs.length; 106 configs = DB_Results.getConfigs(); 108 return configs;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
ScenarioStatusTable.java | 80 String[] configs = performanceResults.getConfigNames(true/*sort*/); local 81 int length = configs.length; 83 printConfigStats(scenarioResults, configs[j]);
|
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/ |
AndroidConfigChooser.java | 213 //throw new IllegalArgumentException("No configs match configSpec"); 218 EGLConfig[] configs = new EGLConfig[numConfigs]; local 219 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, 223 EGLConfig config = chooseConfig(egl, display, configs); 231 EGLConfig[] configs); 292 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) { 293 for (EGLConfig config : configs) {
|
/frameworks/native/opengl/tests/gl2_basic/ |
gl2_basic.cpp | 239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local 240 if (! configs) { 241 printf("Could not allocate configs.\n"); 245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); 248 free(configs); 254 printEGLConfiguration(dpy, configs[i]); 257 free(configs);
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
gl2_copyTexImage.cpp | 343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local 344 if (! configs) { 345 printf("Could not allocate configs.\n"); 349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); 352 free(configs); 358 printEGLConfiguration(dpy, configs[i]); 361 free(configs); 413 EGLConfig* const configs = new EGLConfig[numConfigs]; local 414 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n); 415 myConfig = configs[0] [all...] |
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
GL2JNIView.java | 129 throw new IllegalArgumentException("No configs match configSpec"); 131 EGLConfig[] configs = new EGLConfig[numConfigs]; local 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 133 // printConfigs(egl, display, configs); 134 return chooseConfig(egl, display, configs); 138 EGLConfig[] configs) { 141 for(EGLConfig config : configs) { 178 EGLConfig[] configs) { 179 int numConfigs = configs.length; 183 printConfig(egl, display, configs[i]) [all...] |
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local 171 if (! configs) { 172 printf("Could not allocate configs.\n"); 176 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); 179 free(configs); 185 printEGLConfiguration(dpy, configs[i]); 188 free(configs);
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
GLPerfView.java | 129 throw new IllegalArgumentException("No configs match configSpec"); 131 EGLConfig[] configs = new EGLConfig[numConfigs]; local 132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 133 // printConfigs(egl, display, configs); 134 return chooseConfig(egl, display, configs); 138 EGLConfig[] configs) { 141 for(EGLConfig config : configs) { 178 EGLConfig[] configs) { 179 int numConfigs = configs.length; 183 printConfig(egl, display, configs[i]) [all...] |