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

1 2 3

  /frameworks/base/opengl/libs/GLES2_dbg/src/
egl.cpp 19 EGLBoolean Debug_eglSwapBuffers(EGLDisplay dpy, EGLSurface draw)
24 EGLDisplay dpy; member in struct:__anon15421
32 caller.dpy = dpy;
35 msg.set_arg0(reinterpret_cast<int>(dpy));
  /frameworks/base/opengl/tests/configdump/
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/base/opengl/libs/EGL/
Loader.h 58 entry_t(int dpy, int impl, const char* tag);
59 int dpy; member in struct:android::Loader::entry_t
67 const char* getTag(int dpy, int impl);
egl_display.cpp 48 egl_display_t* egl_display_t::get(EGLDisplay dpy) {
49 uintptr_t index = uintptr_t(dpy)-1U;
88 if (cnx->dso && disp[i].dpy == EGL_NO_DISPLAY) {
89 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); local
90 disp[i].dpy = dpy;
91 if (dpy == EGL_NO_DISPLAY) {
144 disp[i].dpy =
149 EGLDisplay idpy = disp[i].dpy;
151 //LOGD("initialized %d dpy=%p, ver=%d.%d, cnx=%p"
    [all...]
Loader.cpp 121 Loader::entry_t::entry_t(int dpy, int impl, const char* tag)
122 : dpy(dpy), impl(impl), tag(tag) {
147 int dpy; local
149 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {
150 //LOGD(">>> %u %u %s", dpy, impl, tag);
151 gConfig.add( entry_t(dpy, impl, tag) );
163 const char* Loader::getTag(int dpy, int impl)
168 if (dpy == cfgs[i].dpy)
    [all...]
egl_display.h 87 static egl_display_t* get(EGLDisplay dpy);
102 DisplayImpl() : dpy(EGL_NO_DISPLAY), config(0),
104 EGLDisplay dpy; member in struct:android::egl_display_t::DisplayImpl
127 inline egl_display_t* get_display(EGLDisplay dpy) {
128 return egl_display_t::get(dpy);
133 egl_display_t* validate_display(EGLDisplay dpy);
134 egl_connection_t* validate_display_config(EGLDisplay dpy,
136 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
137 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
egl_object.h 140 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win,
142 egl_object_t(get_display(dpy)), dpy(dpy), surface(surface),
145 EGLDisplay dpy; member in class:android::egl_surface_t
159 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
161 egl_object_t(get_display(dpy)), dpy(dpy), context(context),
165 EGLDisplay dpy; member in class:android::egl_context_t
185 EGLDisplay dpy; member in class:android::egl_image_t
199 EGLDisplay dpy; member in class:android::egl_sync_t
    [all...]
  /frameworks/base/opengl/tests/filter/
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, surface, EGL_WIDTH, &w)
    [all...]
  /frameworks/base/opengl/tests/finish/
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, surface)
    [all...]
  /frameworks/base/opengl/tests/gl_perf/
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, surface, EGL_HEIGHT, &h)
    [all...]
  /frameworks/base/opengl/tests/linetex/
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, surface)
    [all...]
  /frameworks/base/opengl/tests/textures/
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, surface)
    [all...]
  /development/tools/emulator/opengl/system/egl/
eglContext.h 29 EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx);
32 EGLDisplay dpy; member in struct:EGLContext_t
  /development/tools/emulator/opengl/tests/ut_renderer/
X11Windowing.cpp 83 Display *dpy = XOpenDisplay(NULL); local
84 return (NativeDisplayType)dpy;
89 Display *dpy = (Display *) _dpy; local
91 long defaultScreen = DefaultScreen( dpy );
92 Window rootWindow = RootWindow(dpy, defaultScreen);
93 int depth = DefaultDepth(dpy, defaultScreen);
96 XMatchVisualInfo(dpy, defaultScreen, depth, TrueColor, visualInfo);
102 Colormap x11Colormap = XCreateColormap(dpy, rootWindow, visualInfo->visual, AllocNone);
110 Window win = XCreateWindow( dpy,
116 XMapWindow(dpy, win)
124 Display *dpy = (Display *)_dpy; local
    [all...]
  /frameworks/base/core/jni/
android_view_Display.cpp 51 JNIEnv* env, jobject clazz, jint dpy)
54 status_t err = SurfaceComposerClient::getDisplayInfo(DisplayID(dpy), &info);
69 DisplayID dpy = env->GetIntField(clazz, offsets.display); local
70 return SurfaceComposerClient::getDisplayWidth(dpy);
76 DisplayID dpy = env->GetIntField(clazz, offsets.display); local
77 return SurfaceComposerClient::getDisplayHeight(dpy);
83 DisplayID dpy = env->GetIntField(clazz, offsets.display); local
84 return SurfaceComposerClient::getDisplayOrientation(dpy);
  /frameworks/base/opengl/tests/fillrate/
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, 1)
    [all...]
  /frameworks/base/opengl/tests/swapinterval/
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, config, EGL_ALPHA_SIZE, &a)
    [all...]
  /development/tools/emulator/opengl/host/libs/libOpenglRender/
FBConfig.cpp 71 EGLDisplay dpy = fb->getDisplay(); local
73 if (dpy == EGL_NO_DISPLAY) {
82 if (!s_egl.eglGetConfigs(dpy, NULL, 0, &nConfigs)) {
87 s_egl.eglGetConfigs(dpy, configs, nConfigs, &nConfigs);
103 s_egl.eglGetConfigAttrib(dpy, configs[i],
111 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_RED_SIZE, &redSize);
112 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_BLUE_SIZE, &blueSize);
113 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_GREEN_SIZE, &greenSize);
116 s_fbConfigs[j++] = new FBConfig(dpy, configs[i]);
150 EGLDisplay dpy = fb->getDisplay() local
    [all...]
  /frameworks/base/libs/gui/
ISurfaceComposer.cpp 103 virtual status_t captureScreen(DisplayID dpy,
111 data.writeInt32(dpy);
220 DisplayID dpy = data.readInt32(); local
228 status_t res = captureScreen(dpy, &heap, &w, &h, &f,
  /frameworks/base/opengl/tests/angeles/
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...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
libEGL.cpp 121 EGLBoolean __stdcall eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
123 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLint *major = 0x%0.8p, EGLint *minor = 0x%0.8p)",
124 dpy, major, minor);
128 if (dpy == EGL_NO_DISPLAY)
133 egl::Display *display = static_cast<egl::Display*>(dpy);
153 EGLBoolean __stdcall eglTerminate(EGLDisplay dpy)
155 TRACE("(EGLDisplay dpy = 0x%0.8p)", dpy);
159 if (dpy == EGL_NO_DISPLAY)
164 egl::Display *display = static_cast<egl::Display*>(dpy);
949 EGLDisplay dpy = egl::getCurrentDisplay(); local
    [all...]
  /frameworks/base/libs/gui/tests/
SurfaceTextureClient_test.cpp 120 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
122 ASSERT_NE(EGL_NO_DISPLAY, dpy);
126 EXPECT_TRUE(eglInitialize(dpy, &majorVersion, &minorVersion));
141 EXPECT_TRUE(eglChooseConfig(dpy, configAttribs, &myConfig, 1,
145 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
150 eglTerminate(dpy);
433 EGLDisplay dpy; member in class:android::MyThread
437 eglMakeCurrent(dpy, sur, sur, ctx);
442 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
450 dpy = eglGetCurrentDisplay()
    [all...]
  /frameworks/base/opengl/libagl2/src/
gles2context.h 65 EGLDisplay dpy; member in struct:egl_context_t
  /frameworks/base/opengl/tests/gl2_basic/
gl2_basic.cpp 178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) {
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
229 int printEGLConfigurations(EGLDisplay dpy) {
231 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig);
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
254 printEGLConfiguration(dpy, configs[i]);
276 EGLDisplay dpy; local
279 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
281 if (dpy == EGL_NO_DISPLAY) {
286 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion)
    [all...]
  /frameworks/base/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp 282 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) {
323 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
333 int printEGLConfigurations(EGLDisplay dpy) {
335 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig);
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
358 printEGLConfiguration(dpy, configs[i]);
384 EGLDisplay dpy; local
387 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
389 if (dpy == EGL_NO_DISPLAY) {
394 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion)
    [all...]

Completed in 232 milliseconds

1 2 3