| /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
| xm_line.c | 59 XMesaDisplay *dpy = xmesa->xm_visual->display; 70 XMesaSetForeground( dpy, gc, pixel ); 73 XMesaDrawPoint( dpy, buffer, gc, x, y); 78 XMesaSetForeground( dpy, gc, vert->index ); 81 XMesaDrawPoint( dpy, buffer, gc, x, y); 419 XMesaDisplay *dpy = xmesa->xm_visual->display; local 430 XMesaSetForeground(dpy, gc, pixel); 431 XMesaSetFunction(dpy, gc, GXxor); 432 XSetLineAttributes(dpy, gc, (int) ctx->Line.Width, 434 XDrawLine(dpy, xrb->pixmap, gc, x0, y0, x1, y1) [all...] |
| /external/mesa3d/src/egl/main/ |
| eglcontext.c | 82 _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy, 106 if (!dpy->Extensions.KHR_create_context) { 115 if (!dpy->Extensions.KHR_create_context) { 136 if (!dpy->Extensions.KHR_create_context) { 164 if (!dpy->Extensions.KHR_create_context 180 if (!dpy->Extensions.EXT_create_context_robustness 190 if (!dpy->Extensions.EXT_create_context_robustness) { 356 _eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy, _EGLConfig *conf, 367 _eglInitResource(&ctx->Resource, sizeof(*ctx), dpy); 379 err = _eglParseContextAttribList(ctx, dpy, attrib_list) 481 _EGLDisplay *dpy; local [all...] |
| egldisplay.c | 221 _EGLDisplay *dpyList, *dpy; local 229 dpy = dpyList; 233 if (dpy->ResourceLists[i]) { 234 _eglLog(_EGL_DEBUG, "Display %p is destroyed with resources", dpy); 239 free(dpy); 252 _EGLDisplay *dpy; local 260 dpy = _eglGlobal.DisplayList; 261 while (dpy) { 262 if (dpy->Platform == plat && dpy->PlatformDisplay == plat_dpy [all...] |
| /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
| d3d10x11main.cpp | 48 Display* dpy = XOpenDisplay(0); local 49 Visual* visual = DefaultVisual(dpy, DefaultScreen(dpy)); 50 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); 57 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa); 58 XMapWindow(dpy, win) [all...] |
| /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
| d3d11x11main.cpp | 22 Display* dpy = XOpenDisplay(0); local 23 Visual* visual = DefaultVisual(dpy, DefaultScreen(dpy)); 24 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); 31 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa); 32 XMapWindow(dpy, win) [all...] |
| /external/mesa3d/src/glx/ |
| indirect_vertex_program.c | 69 Display *const dpy = gc->currentDpy; local 72 if (__builtin_expect(dpy != NULL, 1)) { 81 (void) __glXReadReply(dpy, size, params, GL_FALSE); 82 UnlockDisplay(dpy); 183 Display *const dpy = gc->currentDpy; local 191 (void) _XReply(dpy, reply, 0, False); 199 Display *const dpy = gc->currentDpy; local 218 _XRead(dpy, (void *) params, 4 * reply.size); 223 UnlockDisplay(dpy); 233 Display *const dpy = gc->currentDpy local 267 Display *const dpy = gc->currentDpy; local [all...] |
| indirect_glx.c | 63 SendMakeCurrentRequest(Display * dpy, CARD8 opcode, 70 LockDisplay(dpy); 83 struct glx_display *priv = __glXInitialize(dpy); 119 ret = _XReply(dpy, (xReply *) reply, 0, False); 121 UnlockDisplay(dpy); 134 Display *dpy = gc->psc->dpy; local 135 int opcode = __glXSetupForCommand(dpy); 137 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { 164 Display *dpy = gc->psc->dpy; local 186 Display *dpy = gc->currentDpy; local 205 Display *dpy = gc->currentDpy; local 224 Display *dpy = gc->currentDpy; local [all...] |
| /external/mesa3d/src/glx/tests/ |
| create_context_unittest.cpp | 58 GetGLXScreenConfigs(Display * dpy, int scrn) 60 (void) dpy; 109 __glXSendErrorForXcb(Display * dpy, const xcb_generic_error_t *err) 114 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, 128 mock_XDisplay *dpy; member in class:glXCreateContextAttribARB_test 141 this->dpy = new mock_XDisplay(1); 176 glXCreateContextAttribsARB(this->dpy, NULL, 0, False, NULL); 188 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, 202 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, 210 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0 [all...] |
| /external/mesa3d/src/mesa/drivers/x11/ |
| xm_line.c | 59 XMesaDisplay *dpy = xmesa->xm_visual->display; 70 XMesaSetForeground( dpy, gc, pixel ); 73 XMesaDrawPoint( dpy, buffer, gc, x, y); 78 XMesaSetForeground( dpy, gc, vert->index ); 81 XMesaDrawPoint( dpy, buffer, gc, x, y); 419 XMesaDisplay *dpy = xmesa->xm_visual->display; local 430 XMesaSetForeground(dpy, gc, pixel); 431 XMesaSetFunction(dpy, gc, GXxor); 432 XSetLineAttributes(dpy, gc, (int) ctx->Line.Width, 434 XDrawLine(dpy, xrb->pixmap, gc, x0, y0, x1, y1) [all...] |
| /external/chromium_org/third_party/mesa/src/src/egl/main/ |
| egldisplay.c | 221 _EGLDisplay *dpyList, *dpy; local 229 dpy = dpyList; 233 if (dpy->ResourceLists[i]) { 234 _eglLog(_EGL_DEBUG, "Display %p is destroyed with resources", dpy); 239 free(dpy); 252 _EGLDisplay *dpy; local 260 dpy = _eglGlobal.DisplayList; 261 while (dpy) { 262 if (dpy->Platform == plat && dpy->PlatformDisplay == plat_dpy [all...] |
| eglconfig.c | 57 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) 61 conf->Display = dpy; 81 _EGLDisplay *dpy = conf->Display; local 84 assert(dpy && conf->ConfigID > 0); 86 if (!dpy->Configs) { 87 dpy->Configs = _eglCreateArray("Config", 16); 88 if (!dpy->Configs) 92 _eglAppendArray(dpy->Configs, (void *) conf); 103 _eglLookupConfig(EGLConfig config, _EGLDisplay *dpy) 107 if (!dpy) [all...] |
| egldriver.c | 581 _eglMatchAndInitialize(_EGLDisplay *dpy) 591 if (dpy->Driver) { 592 drv = dpy->Driver; 594 if (!drv->API.Initialize(drv, dpy)) 608 if (mod->Driver->API.Initialize(mod->Driver, dpy)) { 627 _eglMatchDriver(_EGLDisplay *dpy, EGLBoolean test_only) 631 assert(!dpy->Initialized); 636 dpy->Options.TestOnly = test_only; 637 dpy->Options.UseFallback = EGL_FALSE; 639 best_drv = _eglMatchAndInitialize(dpy); 669 _EGLDisplay *dpy = _eglLookupDisplay(egldpy); local [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
| dxgi_dll.c | 234 Display* dpy; local 238 ExtEscape(hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, sizeof(dpy), (LPTSTR)&dpy); 241 GalliumDXGIUseX11Display(dpy, backend);
|
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/ |
| native_wayland.h | 47 struct wl_display *dpy; member in struct:wayland_display
|
| /external/chromium_org/third_party/mesa/src/src/glx/ |
| indirect_glx.c | 63 SendMakeCurrentRequest(Display * dpy, CARD8 opcode, 70 LockDisplay(dpy); 83 struct glx_display *priv = __glXInitialize(dpy); 119 ret = _XReply(dpy, (xReply *) reply, 0, False); 121 UnlockDisplay(dpy); 134 Display *dpy = gc->psc->dpy; local 135 int opcode = __glXSetupForCommand(dpy); 137 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { 164 Display *dpy = gc->psc->dpy; local 186 Display *dpy = gc->currentDpy; local 205 Display *dpy = gc->currentDpy; local 224 Display *dpy = gc->currentDpy; local [all...] |
| glxext.c | 90 static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes, 108 __glXWireToEvent(Display *dpy, XEvent *event, xEvent *wire) 110 struct glx_display *glx_dpy = __glXInitialize(dpy); 138 struct glx_drawable *glxDraw = GetGLXDrawable(dpy, awire->drawable); 165 __glXEventToWire(Display *dpy, XEvent *event, xEvent *wire) 167 struct glx_display *glx_dpy = __glXInitialize(dpy); 203 screens = ScreenCount(priv->dpy); 228 if (priv->dpy == gc->currentDpy) { 262 __glXCloseDisplay(Display * dpy, XExtCodes * codes) 269 if (priv->dpy == dpy) 655 Display *dpy = priv->dpy; local 685 Display *dpy = priv->dpy; local 971 Display *const dpy = ctx->currentDpy; local 1023 Display *dpy = gc->currentDpy; local [all...] |
| /external/deqp/framework/platform/X11/ |
| tcuX11.cpp | 131 ::Display* dpy = m_display.getXDisplay(); local 132 ::Window root = DefaultRootWindow(dpy); 144 root = RootWindow(dpy, info.screen); 145 m_colormap = XCreateColormap(dpy, root, visual, AllocNone); 161 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0, 166 XSetWMProtocols(dpy, m_window, &deleteAtom, 1); 172 ::Display* dpy = m_display.getXDisplay(); local 181 XMapWindow(dpy, m_window); 186 XUnmapWindow(dpy, m_window); 191 XSelectInput(dpy, m_window, ExposureMask | StructureNotifyMask) [all...] |
| /external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
| dxgi_dll.c | 234 Display* dpy; local 238 ExtEscape(hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, sizeof(dpy), (LPTSTR)&dpy); 241 GalliumDXGIUseX11Display(dpy, backend);
|
| /external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
| native_wayland.h | 47 struct wl_display *dpy; member in struct:wayland_display
|
| /cts/tests/tests/view/src/android/view/cts/ |
| DisplayRefreshRateTest.java | 179 Display dpy = wm.getDefaultDisplay(); local 180 float claimedFps = dpy.getRefreshRate();
|
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
| egl_g3d.c | 57 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local 58 struct egl_g3d_display *gdpy = egl_g3d_display(dpy); 65 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local 66 struct egl_g3d_display *gdpy = egl_g3d_display(dpy); 73 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local 74 struct egl_g3d_display *gdpy = egl_g3d_display(dpy); 163 egl_g3d_add_screens(_EGLDriver *drv, _EGLDisplay *dpy) 165 struct egl_g3d_display *gdpy = egl_g3d_display(dpy); 198 _eglInitScreen(&gscr->base, dpy, num_modes); 334 egl_g3d_init_config(_EGLDriver *drv, _EGLDisplay *dpy, [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/ |
| glxinit.c | 45 __glXCloseDisplay(Display * dpy, XExtCodes * codes) 47 return XextRemoveDisplay(__glXExtensionInfo, dpy); 137 __glXQueryServerString(Display * dpy, int opcode, CARD32 screen, CARD32 name) 148 LockDisplay(dpy); 163 _XReply(dpy, (xReply *) & reply, 0, False); 170 _XRead(dpy, buf, numbytes); 174 _XEatData(dpy, length); 176 UnlockDisplay(dpy); 194 screens = ScreenCount(priv->dpy); 238 QueryVersion(Display * dpy, int opcode, int *major, int *minor 521 Display *dpy = priv->dpy; local [all...] |
| native_ximage.c | 43 Display *dpy; member in struct:ximage_display 104 ok = XGetGeometry(xsurf->xdpy->dpy, xsurf->drawable, 225 XSync(xsurf->xdpy->dpy, FALSE); 521 XCloseDisplay(xdpy->dpy); 531 winsys = xlib_create_sw_winsys(xdpy->dpy); 547 x11_create_ximage_display(Display *dpy, 556 xdpy->dpy = dpy; 557 if (!xdpy->dpy) { 558 xdpy->dpy = XOpenDisplay(NULL) [all...] |
| x11_screen.c | 42 Display *dpy; member in struct:x11_screen 72 x11_screen_create(Display *dpy, int screen) 76 if (screen >= ScreenCount(dpy)) 81 xscr->dpy = dpy; 122 if (!DRI2QueryExtension(xscr->dpy, &eventBase, &errorBase) || 123 !DRI2QueryVersion(xscr->dpy, &xscr->dri_major, &xscr->dri_minor)) 133 xscr->glx_dpy = __glXInitialize(xscr->dpy); 149 supported = XShmQueryExtension(xscr->dpy); 175 xscr->visuals = XGetVisualInfo(xscr->dpy, VisualScreenMask [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
| glx_usefont.c | 126 fill_bitmap(Display * dpy, Window win, GC gc, 135 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 136 XSetForeground(dpy, gc, 0); 137 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 138 XSetForeground(dpy, gc, 1); 143 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1); 145 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap); 156 XFreePixmap(dpy, pixmap); 212 Display *dpy; local 225 dpy = glXGetCurrentDisplay() [all...] |