/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglQueryString.java | 1 // C function const char * eglQueryString ( EGLDisplay dpy, EGLint name ) 4 EGLDisplay dpy, 3 eglQueryString( EGLDisplay dpy, int name ) argument
|
H A D | eglCreateWindowSurface.java | 1 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 4 EGLDisplay dpy, 12 EGLDisplay dpy, 19 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, argument 36 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 38 surface = _eglCreateWindowSurfaceTexture(dpy, config, 3 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument 11 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
|
H A D | eglQueryString.cpp | 1 /* const char * eglQueryString ( EGLDisplay dpy, EGLint name ) */ 4 (JNIEnv *_env, jobject _this, jobject dpy, jint name) { 6 (EGLDisplay)fromEGLHandle(_env, egldisplayGetHandleID, dpy), 3 android_eglQueryString__Landroind_opengl_EGLDisplay_2I(JNIEnv *_env, jobject _this, jobject dpy, jint name) argument
|
H A D | eglCreateWindowSurface.cpp | 1 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 9 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); 78 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 81 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 86 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy); 3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument 80 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLDisplayImpl.java | 24 public EGLDisplayImpl(int dpy) { argument 25 mEGLDisplay = dpy;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_egl.cpp | 74 void GLTrace_eglSwapBuffers(void *dpy, void *draw) { argument
|
H A D | gltrace_eglapi.cpp | 155 void GLTrace_eglSwapBuffers(void *dpy, void *draw) { argument 156 gltrace::GLTrace_eglSwapBuffers(dpy, draw);
|
/frameworks/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 71 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 72 eglInitialize(dpy, 0, 0); 73 eglGetConfigs(dpy, NULL, 0, &n); 75 eglGetConfigs(dpy, configs, n, &n); 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 87 eglTerminate(dpy);
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 47 EGLDisplay dpy; local 51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 52 eglInitialize(dpy, &majorVersion, &minorVersion); 55 dpy, configAttribs, window, &config); 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 context = eglCreateContext(dpy, config, NULL, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 113 eglSwapBuffers(dpy, surfac [all...] |
/frameworks/native/opengl/tests/lib/ |
H A D | glTestLib.cpp | 69 void glTestPrintEGLConfiguration(EGLDisplay dpy, EGLConfig config) argument 111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute,
|
/frameworks/native/opengl/tests/textures/ |
H A D | textures.cpp | 43 EGLDisplay dpy; local 47 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 48 eglInitialize(dpy, &majorVersion, &minorVersion); 51 dpy, configAttribs, window, &config); 57 surface = eglCreateWindowSurface(dpy, config, window, NULL); 58 context = eglCreateContext(dpy, config, NULL, NULL); 59 eglMakeCurrent(dpy, surface, surface, context); 60 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 61 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 116 eglSwapBuffers(dpy, surfac [all...] |
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 40 EGLDisplay dpy; local 47 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 48 eglInitialize(dpy, &majorVersion, &minorVersion); 51 dpy, s_configAttribs, window, &config); 52 surface = eglCreateWindowSurface(dpy, config, window, NULL); 55 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); 57 surface = eglCreatePbufferSurface(dpy, config, attribs); 62 context = eglCreateContext(dpy, config, NULL, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surfac [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 56 static EGLDisplay dpy; variable 75 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 77 if (dpy == EGL_NO_DISPLAY) { 82 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); 90 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); 98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 105 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); 111 returnValue = eglMakeCurrent(dpy, surface, surface, context); 116 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 118 eglQuerySurface(dpy, surfac [all...] |
/frameworks/native/opengl/tests/include/ |
H A D | EGLUtils.h | 40 EGLDisplay dpy, 46 EGLDisplay dpy, 77 EGLDisplay dpy, 91 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) 95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { 104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId); 122 EGLDisplay dpy, 137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig); 76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument 121 selectConfigForNativeWindow( EGLDisplay dpy, EGLint const* attrs, EGLNativeWindowType window, EGLConfig* outConfig) argument
|
/frameworks/native/opengl/tests/linetex/ |
H A D | linetex.cpp | 47 EGLDisplay dpy; local 51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 52 eglInitialize(dpy, &majorVersion, &minorVersion); 55 dpy, configAttribs, window, &config); 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 context = eglCreateContext(dpy, config, NULL, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 109 eglSwapBuffers(dpy, surfac [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 66 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, argument 69 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx) 89 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, argument 91 egl_object_t(get_display_nowake(dpy)), dpy(dpy), context(context),
|
H A D | Loader.cpp | 160 int dpy, impl; local 161 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) { 162 //ALOGD(">>> %u %u %s", dpy, impl, tag);
|
H A D | egl.cpp | 242 egl_display_ptr validate_display(EGLDisplay dpy) { argument 243 egl_display_ptr dp = get_display(dpy); 252 egl_display_ptr validate_display_connection(EGLDisplay dpy, argument 255 egl_display_ptr dp = validate_display(dpy);
|
H A D | egl_display.cpp | 84 egl_display_t* egl_display_t::get(EGLDisplay dpy) { argument 85 uintptr_t index = uintptr_t(dpy)-1U; 125 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { 126 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); local 127 disp.dpy = dpy; 128 if (dpy == EGL_NO_DISPLAY) { 180 disp[i].dpy = cnx->egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); 184 EGLDisplay idpy = disp.dpy; 186 //ALOGD("initialized dpy [all...] |
H A D | egl_display.h | 87 static egl_display_t* get(EGLDisplay dpy); 114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } 115 EGLDisplay dpy; member in struct:android::egl_display_t::DisplayImpl 191 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) { argument 238 inline egl_display_ptr get_display(EGLDisplay dpy) { argument 239 return egl_display_ptr(egl_display_t::get(dpy)); 244 inline egl_display_t* get_display_nowake(EGLDisplay dpy) { argument 245 return egl_display_t::get(dpy); 250 egl_display_ptr validate_display(EGLDisplay dpy); [all...] |
/frameworks/native/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 46 EGLDisplay dpy; local 50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 51 eglInitialize(dpy, &majorVersion, &minorVersion); 54 dpy, configAttribs, window, &config); 60 surface = eglCreateWindowSurface(dpy, config, window, NULL); 61 context = eglCreateContext(dpy, config, NULL, NULL); 62 eglMakeCurrent(dpy, surface, surface, context); 63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 119 eglSwapInterval(dpy, [all...] |
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 45 EGLDisplay dpy; local 50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 51 eglInitialize(dpy, &majorVersion, &minorVersion); 52 eglGetConfigs(dpy, NULL, 0, &numConfigs); 56 dpy, configAttribs, window, &config); 59 eglTerminate(dpy); 64 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); 65 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); 66 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); 67 eglGetConfigAttrib(dpy, confi [all...] |
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 88 static void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument 129 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 136 EGLDisplay dpy; local 140 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 141 eglInitialize(dpy, &majorVersion, &minorVersion); 144 dpy, configAttribs, window, &config); 150 surface = eglCreateWindowSurface(dpy, config, window, NULL); 155 context = eglCreateContext(dpy, config, NULL, NULL); 159 eglMakeCurrent(dpy, surface, surface, context); 162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth); 163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight); 165 sEglDisplay = dpy; [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 135 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 137 ASSERT_NE(EGL_NO_DISPLAY, dpy); 141 EXPECT_TRUE(eglInitialize(dpy, &majorVersion, &minorVersion)); 156 EXPECT_TRUE(eglChooseConfig(dpy, configAttribs, &myConfig, 1, 160 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), 166 eglDestroySurface(dpy, eglSurface); 169 eglTerminate(dpy); 470 EGLDisplay dpy; member in class:android::MyThread 474 eglMakeCurrent(dpy, sur, sur, ctx); 479 eglMakeCurrent(dpy, EGL_NO_SURFAC [all...] |