Searched defs:dpy (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglQueryString.java1 // C function const char * eglQueryString ( EGLDisplay dpy, EGLint name )
4 EGLDisplay dpy,
3 eglQueryString( EGLDisplay dpy, int name ) argument
H A DeglCreateWindowSurface.java1 // 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 DeglQueryString.cpp1 /* 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 DeglCreateWindowSurface.cpp1 /* 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 DEGLDisplayImpl.java24 public EGLDisplayImpl(int dpy) { argument
25 mEGLDisplay = dpy;
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_egl.cpp74 void GLTrace_eglSwapBuffers(void *dpy, void *draw) { argument
H A Dgltrace_eglapi.cpp155 void GLTrace_eglSwapBuffers(void *dpy, void *draw) { argument
156 gltrace::GLTrace_eglSwapBuffers(dpy, draw);
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp71 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 Dfinish.cpp47 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 DglTestLib.cpp69 void glTestPrintEGLConfiguration(EGLDisplay dpy, EGLConfig config) argument
111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute,
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp43 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 Dfilter.cpp40 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 Dgl2_perf.cpp56 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 DEGLUtils.h40 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 Dlinetex.cpp47 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 Degl_object.cpp66 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 DLoader.cpp160 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 Degl.cpp242 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 Degl_display.cpp84 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 Degl_display.h87 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 Dfillrate.cpp46 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 Dswapinterval.cpp45 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 DrsdGL.cpp88 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 Dapp-linux.cpp136 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 DSurfaceTextureClient_test.cpp135 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...]

Completed in 2334 milliseconds

12