HomeSort by relevance Sort by last modified time
    Searched defs:configs (Results 1 - 25 of 61) sorted by null

1 2 3

  /frameworks/base/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/base/libs/ui/
EGLUtils.cpp 69 // Get all the "potential match" configs...
73 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); local
74 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) {
75 free(configs);
83 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId);
85 config = configs[i];
90 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;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GalleryEGLConfigChooser.java 54 throw new RuntimeException("No configs match configSpec");
57 EGLConfig[] configs = new EGLConfig[numConfig[0]]; local
59 mConfigSpec, configs, configs.length, numConfig)) {
63 return chooseConfig(egl, display, configs);
67 EGL10 egl, EGLDisplay display, EGLConfig configs[]) {
76 for (int i = 0, n = configs.length; i < n; ++i) {
78 display, configs[i], EGL10.EGL_RED_SIZE, value)) {
79 // Filter out ARGB 8888 configs.
83 display, configs[i], EGL10.EGL_STENCIL_SIZE, value))
    [all...]
  /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 89 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; local
90 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) {
93 if (egl.eglGetConfigAttrib(display, configs[i],
107 Log.e(TAG, "Getting configs with EGL10#eglGetConfigs failed: "
112 Log.e(TAG, "Getting number of configs with EGL10#eglGetConfigs failed: "
  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 85 EGLConfig[] configs = new EGLConfig[1]; local
86 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) {
94 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs);
96 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
  /development/tools/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...]
  /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/libs/rs/driver/
rsdGL.cpp 219 EGLConfig* const configs = new EGLConfig[numConfigs]; local
223 configAttribs, configs, numConfigs, &n);
230 dc->gl.egl.config = configs[0];
232 // go through the list and skip configs that over-satisfy our needs
237 configs[i], EGL_ALPHA_SIZE, &alphaSize);
246 configs[i], EGL_DEPTH_SIZE, &depthSize);
253 dc->gl.egl.config = configs[i];
257 delete [] configs;
  /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 119 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(type); local
122 for (ILaunchConfiguration config : configs) {
  /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];
  /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...]
  /development/tools/emulator/opengl/tests/translator_tests/GLES_CM/
triangleCM.cpp 172 EGLConfig configs[150]; local
178 eglChooseConfig(d, attribute_list, configs, 150, &num_config);
180 egl_surface = eglCreateWindowSurface(d,configs[0],windowId,NULL);
182 ctx = eglCreateContext(d,configs[0],EGL_NO_CONTEXT,NULL);
  /external/skia/samplecode/
SampleImageDir.cpp 134 const SkBitmap::Config configs[] = { local
142 SetImageRef(&fBitmaps[i], stream, configs[i], SPECIFIC_IMAGE);
  /frameworks/base/opengl/libs/EGL/
egl_display.h 125 egl_config_t* configs; member in class:android::egl_display_t
  /frameworks/base/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/base/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/base/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/base/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/base/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...]
  /frameworks/base/opengl/tests/gldual/src/com/android/gldual/
GLDualGL2View.java 132 throw new IllegalArgumentException("No configs match configSpec");
134 EGLConfig[] configs = new EGLConfig[numConfigs]; local
135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
136 // printConfigs(egl, display, configs);
137 return chooseConfig(egl, display, configs);
141 EGLConfig[] configs) {
144 for(EGLConfig config : configs) {
181 EGLConfig[] configs) {
182 int numConfigs = configs.length;
186 printConfig(egl, display, configs[i])
    [all...]
  /frameworks/base/services/surfaceflinger/DisplayHardware/
DisplayHardware.cpp 112 EGLConfig* const configs = new EGLConfig[numConfigs]; local
113 eglChooseConfig(dpy, attrs, configs, numConfigs, &n);
116 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId);
118 *outConfig = configs[i];
119 delete [] configs;
123 delete [] configs;
288 LOGI("# of configs : %d", numConfigs);

Completed in 1593 milliseconds

1 2 3