OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numConfig
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
GalleryEGLConfigChooser.java
48
int[]
numConfig
= new int[1];
49
if (!egl.eglChooseConfig(display, mConfigSpec, null, 0,
numConfig
)) {
53
if (
numConfig
[0] <= 0) {
57
EGLConfig[] configs = new EGLConfig[
numConfig
[0]];
59
mConfigSpec, configs, configs.length,
numConfig
)) {
/frameworks/base/opengl/tests/gl2_basic/
gl2_basic.cpp
230
EGLint
numConfig
= 0;
231
EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &
numConfig
);
237
printf("Number of EGL configuration: %d\n",
numConfig
);
239
EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) *
numConfig
);
245
returnVal = eglGetConfigs(dpy, configs,
numConfig
, &
numConfig
);
252
for(int i = 0; i <
numConfig
; i++) {
/frameworks/base/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp
334
EGLint
numConfig
= 0;
335
EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &
numConfig
);
341
printf("Number of EGL configuration: %d\n",
numConfig
);
343
EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) *
numConfig
);
349
returnVal = eglGetConfigs(dpy, configs,
numConfig
, &
numConfig
);
356
for(int i = 0; i <
numConfig
; i++) {
/frameworks/base/opengl/tests/gl_basic/
gl_basic.cpp
161
EGLint
numConfig
= 0;
162
EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &
numConfig
);
168
printf("Number of EGL configurations: %d\n",
numConfig
);
170
EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) *
numConfig
);
176
returnVal = eglGetConfigs(dpy, configs,
numConfig
, &
numConfig
);
183
for(int i = 0; i <
numConfig
; i++) {
/packages/apps/Camera/src/com/android/camera/panorama/
MosaicRendererSurfaceView.java
140
int[]
numConfig
= new int[1];
141
egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, null, 0,
numConfig
);
143
int numConfigs =
numConfig
[0];
152
egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs,
numConfig
);
Completed in 217 milliseconds