/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);
|
Loader.cpp | 87 Loader::entry_t::entry_t(int dpy, int impl, const char* tag) 88 : dpy(dpy), impl(impl), tag(tag) { 104 int dpy; local 106 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) { 107 //LOGD(">>> %u %u %s", dpy, impl, tag); 108 gConfig.add( entry_t(dpy, impl, tag) ); 119 const char* Loader::getTag(int dpy, int impl) 124 if (dpy == cfgs[i].dpy) [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/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...] |
/frameworks/base/core/jni/ |
android_view_Display.cpp | 53 JNIEnv* env, jobject clazz, jint dpy) 56 status_t err = SurfaceComposerClient::getDisplayInfo(DisplayID(dpy), &info); 71 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 72 return SurfaceComposerClient::getDisplayWidth(dpy); 78 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 79 return SurfaceComposerClient::getDisplayHeight(dpy); 85 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 86 return SurfaceComposerClient::getDisplayOrientation(dpy);
|
com_google_android_gles_jni_EGLImpl.cpp | 142 EGLDisplay dpy = getDisplay(_env, display); local 143 jboolean success = eglInitialize(dpy, NULL, NULL); 164 EGLDisplay dpy = getDisplay(_env, display); local 170 success = eglQueryContext(dpy, ctx, attribute, base); 183 EGLDisplay dpy = getDisplay(_env, display); local 190 success = eglQuerySurface(dpy, sur, attribute, base); 205 EGLDisplay dpy = getDisplay(_env, display); local 215 success = eglChooseConfig(dpy, attrib_base, configs ? nativeConfigs : 0, config_size, &num); 238 EGLDisplay dpy = getDisplay(_env, display); local 242 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base) 254 EGLDisplay dpy = getDisplay(_env, display); local 282 EGLDisplay dpy = getDisplay(_env, display); local 326 EGLDisplay dpy = getDisplay(_env, display); local 352 EGLDisplay dpy = getDisplay(_env, display); local 370 EGLDisplay dpy = getDisplay(_env, display); local 416 EGLDisplay dpy = getDisplay(_env, display); local 426 EGLDisplay dpy = getDisplay(_env, display); local 449 EGLDisplay dpy = getDisplay(_env, display); local 461 EGLDisplay dpy = getDisplay(_env, display); local 471 EGLDisplay dpy = getDisplay(_env, display); local 481 EGLDisplay dpy = getDisplay(_env, display); local [all...] |
/frameworks/base/libs/surfaceflinger_client/ |
ISurfaceComposer.cpp | 80 virtual status_t freezeDisplay(DisplayID dpy, uint32_t flags) 84 data.writeInt32(dpy); 90 virtual status_t unfreezeDisplay(DisplayID dpy, uint32_t flags) 94 data.writeInt32(dpy); 100 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) 104 data.writeInt32(dpy); 149 DisplayID dpy = data.readInt32(); local 152 reply->writeInt32( setOrientation(dpy, orientation, flags) ); 156 DisplayID dpy = data.readInt32(); local 158 reply->writeInt32( freezeDisplay(dpy, flags) ) 162 DisplayID dpy = data.readInt32(); local [all...] |
/frameworks/base/opengl/tests/angeles/ |
app-linux.cpp | 134 EGLDisplay dpy; local 138 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 139 eglInitialize(dpy, &majorVersion, &minorVersion); 142 dpy, configAttribs, window, &config); 148 surface = eglCreateWindowSurface(dpy, config, window, NULL); 153 context = eglCreateContext(dpy, config, NULL, NULL); 157 eglMakeCurrent(dpy, surface, surface, context); 160 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth); 161 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight); 163 sEglDisplay = dpy; [all...] |
/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, 0 ,0) ;//&majorVersion, &minorVersion); 52 eglGetConfigs(dpy, NULL, 0, &numConfigs); 56 dpy, configAttribs, window, &config); 63 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); 64 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); 65 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); 66 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); 68 surface = eglCreateWindowSurface(dpy, config, window, NULL) [all...] |
/frameworks/base/libs/surfaceflinger/ |
LayerDim.cpp | 81 EGLDisplay dpy = eglGetCurrentDisplay(); local 82 sImage = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, 92 eglDestroyImageKHR(dpy, sImage);
|
LayerBase.h | 83 DisplayID dpy; member in class:android::LayerBase 241 const GraphicPlane& graphicPlane(int dpy) const; 242 GraphicPlane& graphicPlane(int dpy);
|
/frameworks/base/libs/surfaceflinger/DisplayHardware/ |
DisplayHardware.cpp | 75 uint32_t dpy) 76 : DisplayHardwareBase(flinger, dpy) 78 init(dpy); 96 void DisplayHardware::init(uint32_t dpy) 331 EGLDisplay dpy = mDisplay; local 338 eglSetSwapRectangleANDROID(dpy, surface, 348 eglSwapBuffers(dpy, surface);
|
/frameworks/base/opengl/tests/gl2_basic/ |
gl2_basic.cpp | 178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { 220 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); 230 int printEGLConfigurations(EGLDisplay dpy) { 232 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); 246 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); 255 printEGLConfiguration(dpy, configs[i]); 277 EGLDisplay dpy; local 280 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 282 if (dpy == EGL_NO_DISPLAY) { 287 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgavideo.c | 76 Display *dpy = NULL; local 85 dpy = XOpenDisplay(display); 86 if ( dpy ) { 89 if ( SDL_NAME(XDGAQueryExtension)(dpy, &events, &errors) && 90 SDL_NAME(XDGAQueryVersion)(dpy, &major, &minor) ) { 93 screen = DefaultScreen(dpy); 95 SDL_NAME(XDGAOpenFramebuffer)(dpy, screen) ) { 97 SDL_NAME(XDGACloseFramebuffer)(dpy, screen); 100 XCloseDisplay(dpy);
|
/external/quake/quake/src/QW/client/ |
gl_vidlinux_x11.c | 43 static Display *dpy = NULL; variable 153 XUngrabPointer(dpy,CurrentTime); 154 XUngrabKeyboard(dpy,CurrentTime); 156 glXDestroyContext(dpy,ctx); 160 XF86DGADirectVideo(dpy,DefaultScreen(dpy),0); 311 if(!XCheckMaskEvent(dpy,KEY_MASK,&x_event)) 335 if(!XCheckMaskEvent(dpy,MOUSE_MASK,&x_event)) 348 XSelectInput(dpy,win, (KEY_MASK | MOUSE_MASK) & ~PointerMotionMask); 349 XWarpPointer(dpy,None,win,0,0,0,0, (scr_width/2),(scr_height/2)) [all...] |
gl_vidlinuxglx.c | 43 static Display *dpy = NULL; variable 234 XGrabPointer(dpy, win, 243 XF86DGADirectVideo(dpy, DefaultScreen(dpy), XF86DGADirectMouse); 246 XWarpPointer(dpy, None, win, 251 XGrabKeyboard(dpy, win, 256 // XSync(dpy, True); 262 XF86DGADirectVideo(dpy, DefaultScreen(dpy), 0); 266 XUngrabPointer(dpy, CurrentTime) [all...] |
/external/webkit/WebCore/plugins/gtk/ |
gtk2xtbin.c | 783 Display* dpy=xtclient->xtdisplay; local 789 xevent.xclient.message_type = XInternAtom(dpy,"_XEMBED",False); 798 XSendEvent (dpy, w, False, NoEventMask, &xevent); 799 XSync (dpy,False); 837 Display *dpy = XtDisplay(w); local 845 Widget child=XtWindowToWidget( dpy, event->xcreatewindow.window); 856 Widget child=XtWindowToWidget(dpy, event->xreparent.window); 869 XSetInputFocus(dpy, XtWindow(xtclient->child_widget), RevertToParent, event->xbutton.time); 920 Display *dpy = XtDisplay(treeroot); local 927 if(!XQueryTree(dpy, win, &root, &parent, &children, &nchildren)) [all...] |
/external/quake/quake/src/WinQuake/ |
gl_vidlinuxglx.cpp | 43 static Display *dpy = NULL; variable 275 XDefineCursor(dpy, win, CreateNullCursor(dpy, win)); 277 XGrabPointer(dpy, win, 288 if (!XF86DGAQueryVersion(dpy, &MajorVersion, &MinorVersion)) { 294 XF86DGADirectVideo(dpy, DefaultScreen(dpy), XF86DGADirectMouse); 295 XWarpPointer(dpy, None, win, 0, 0, 0, 0, 0, 0); 298 XWarpPointer(dpy, None, win, 303 XGrabKeyboard(dpy, win [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
GlobalTime.java | 276 EGLDisplay dpy = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); local 278 egl.eglInitialize(dpy, version); 285 egl.eglChooseConfig(dpy, configSpec, configs, 1, num_config); 288 mEGLContext = egl.eglCreateContext(dpy, mEGLConfig, 290 mEGLDisplay = dpy; [all...] |
/external/qemu/ |
vnc-android.c | 2385 char *dpy; local [all...] |
vnc.c | 2381 char *dpy; local [all...] |
/external/webkit/WebKit/chromium/src/ |
GraphicsContext3D.cpp | 251 typedef Bool (* PFNGLXMAKECURRENTPROC)(Display* dpy, GLXDrawable drawable, GLXContext ctx); 253 typedef void (* PFNGLXDESTROYCONTEXTPROC)(Display* dpy, GLXContext ctx); 293 Display* dpy = XOpenDisplay(0); local 294 if (!dpy) { 304 XCloseDisplay(dpy); 319 XCloseDisplay(dpy); 324 return new GLConnection(dpy, [all...] |