| /external/chromium_org/third_party/mesa/src/src/glx/ |
| single2.c | 530 if (!dpy) 538 XFlush(dpy); 546 if (!dpy) 563 if (!dpy) 581 if (!dpy) 648 Display *dpy = gc->currentDpy; local 651 if (!dpy) 684 s = (GLubyte *) __glXGetString(dpy, gc->majorOpcode, gc->currentContextTag, 803 if (!dpy) 840 Display *dpy = gc->currentDpy local 887 Display *const dpy = gc->currentDpy; local 953 Display *const dpy = gc->currentDpy; local [all...] |
| xfont.c | 132 fill_bitmap(Display * dpy, Window win, GC gc, 141 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 142 XSetForeground(dpy, gc, 0); 143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 144 XSetForeground(dpy, gc, 1); 149 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1); 151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap); 162 XFreePixmap(dpy, pixmap); 217 Display *dpy; local 233 dpy = CC->currentDpy [all...] |
| drisw_glx.c | 72 Display * dpy, XID drawable, int visualid) 80 pdp->gc = XCreateGC(dpy, drawable, 0, NULL); 81 pdp->swapgc = XCreateGC(dpy, drawable, 0, NULL); 85 XChangeGC(dpy, pdp->gc, GCFunction, &gcvalues); 86 XChangeGC(dpy, pdp->swapgc, GCFunction, &gcvalues); 87 XChangeGC(dpy, pdp->swapgc, GCGraphicsExposures, &gcvalues); 92 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); 98 pdp->ximage = XCreateImage(dpy, 118 XDestroyDrawable(struct drisw_drawable * pdp, Display * dpy, XID drawable) 123 XFreeGC(dpy, pdp->gc) 138 Display *dpy = pdraw->psc->dpy; local 180 Display *dpy = pdraw->psc->dpy; local 216 Display *dpy = pread->psc->dpy; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
| xfonts.c | 133 fill_bitmap(Display * dpy, Window win, GC gc, 142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 143 XSetForeground(dpy, gc, 0); 144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 145 XSetForeground(dpy, gc, 1); 150 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1); 152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap); 163 XFreePixmap(dpy, pixmap); 219 Display *dpy; local 232 dpy = glXGetCurrentDisplay() [all...] |
| xm_dd.c | 381 XMesaDisplay *dpy = xmesa->xm_visual->display; local 393 ASSERT(dpy); 416 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); 515 XMesaDisplay *dpy = xmesa->xm_visual->display; local 526 ASSERT(dpy); 549 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); 613 XMesaDisplay *dpy = xmesa->xm_visual->display; local 621 ASSERT(dpy); 629 XCopyArea(dpy, srcXrb->pixmap, dstXrb->pixmap, gc,
|
| /external/mesa3d/src/egl/main/ |
| 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...] |
| egldisplay.h | 172 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy); 180 _eglCheckDisplayHandle(EGLDisplay dpy); 184 _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy); 194 _EGLDisplay *dpy = (_EGLDisplay *) display; local 196 dpy = NULL; 197 return dpy; 205 _eglGetDisplayHandle(_EGLDisplay *dpy) 207 return (EGLDisplay) ((dpy) ? dpy : EGL_NO_DISPLAY); 212 _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy); [all...] |
| /external/mesa3d/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/mesa3d/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/mesa3d/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...] |
| /external/mesa3d/src/glx/ |
| 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...] |
| single2.c | 530 if (!dpy) 538 XFlush(dpy); 546 if (!dpy) 563 if (!dpy) 581 if (!dpy) 648 Display *dpy = gc->currentDpy; local 651 if (!dpy) 684 s = (GLubyte *) __glXGetString(dpy, gc->majorOpcode, gc->currentContextTag, 803 if (!dpy) 840 Display *dpy = gc->currentDpy local 887 Display *const dpy = gc->currentDpy; local 953 Display *const dpy = gc->currentDpy; local [all...] |
| xfont.c | 132 fill_bitmap(Display * dpy, Window win, GC gc, 141 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 142 XSetForeground(dpy, gc, 0); 143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 144 XSetForeground(dpy, gc, 1); 149 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1); 151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap); 162 XFreePixmap(dpy, pixmap); 217 Display *dpy; local 233 dpy = CC->currentDpy [all...] |
| drisw_glx.c | 72 Display * dpy, XID drawable, int visualid) 80 pdp->gc = XCreateGC(dpy, drawable, 0, NULL); 81 pdp->swapgc = XCreateGC(dpy, drawable, 0, NULL); 85 XChangeGC(dpy, pdp->gc, GCFunction, &gcvalues); 86 XChangeGC(dpy, pdp->swapgc, GCFunction, &gcvalues); 87 XChangeGC(dpy, pdp->swapgc, GCGraphicsExposures, &gcvalues); 92 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); 98 pdp->ximage = XCreateImage(dpy, 118 XDestroyDrawable(struct drisw_drawable * pdp, Display * dpy, XID drawable) 123 XFreeGC(dpy, pdp->gc) 138 Display *dpy = pdraw->psc->dpy; local 180 Display *dpy = pdraw->psc->dpy; local 216 Display *dpy = pread->psc->dpy; local [all...] |
| /external/mesa3d/src/mesa/drivers/x11/ |
| xfonts.c | 133 fill_bitmap(Display * dpy, Window win, GC gc, 142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 143 XSetForeground(dpy, gc, 0); 144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 145 XSetForeground(dpy, gc, 1); 150 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1); 152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap); 163 XFreePixmap(dpy, pixmap); 219 Display *dpy; local 232 dpy = glXGetCurrentDisplay() [all...] |
| xm_dd.c | 381 XMesaDisplay *dpy = xmesa->xm_visual->display; local 393 ASSERT(dpy); 416 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); 515 XMesaDisplay *dpy = xmesa->xm_visual->display; local 526 ASSERT(dpy); 549 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); 613 XMesaDisplay *dpy = xmesa->xm_visual->display; local 621 ASSERT(dpy); 629 XCopyArea(dpy, srcXrb->pixmap, dstXrb->pixmap, gc,
|
| /external/chromium_org/third_party/angle/src/libEGL/ |
| libEGL.cpp | 173 EGLBoolean __stdcall eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) 175 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLint *major = 0x%0.8p, EGLint *minor = 0x%0.8p)", 176 dpy, major, minor); 178 if (dpy == EGL_NO_DISPLAY) 183 egl::Display *display = static_cast<egl::Display*>(dpy); 196 EGLBoolean __stdcall eglTerminate(EGLDisplay dpy) 198 EVENT("(EGLDisplay dpy = 0x%0.8p)", dpy); 200 if (dpy == EGL_NO_DISPLAY) 205 egl::Display *display = static_cast<egl::Display*>(dpy); 876 EGLDisplay dpy = egl::getCurrentDisplay(); local [all...] |
| /external/chromium_org/third_party/hwcplus/include/hardware/ |
| hwcomposer.h | 103 * the OpenGL ES target surface is communicated by the (dpy, sur) fields 309 /* (dpy, sur) is the target of SurfaceFlinger's OpenGL ES 314 hwc_display_t dpy; member in struct:hwc_display_contents_1::__anon16507::__anon16508
|
| /external/chromium_org/third_party/mesa/src/src/egl/main/ |
| egldisplay.h | 172 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy); 180 _eglCheckDisplayHandle(EGLDisplay dpy); 184 _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy); 194 _EGLDisplay *dpy = (_EGLDisplay *) display; local 196 dpy = NULL; 197 return dpy; 205 _eglGetDisplayHandle(_EGLDisplay *dpy) 207 return (EGLDisplay) ((dpy) ? dpy : EGL_NO_DISPLAY); 212 _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy); [all...] |
| eglapi.c | 274 _EGLDisplay *dpy = _eglLookupDisplay(display); local 275 if (dpy) 276 _eglLockMutex(&dpy->Mutex); 277 return dpy; 285 _eglUnlockDisplay(_EGLDisplay *dpy) 287 _eglUnlockMutex(&dpy->Mutex); 299 _EGLDisplay *dpy = _eglFindDisplay(plat, (void *) nativeDisplay); local 300 return _eglGetDisplayHandle(dpy); 309 eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) 311 _EGLDisplay *disp = _eglLockDisplay(dpy); 1192 _EGLDisplay *dpy = _eglFindDisplay(_EGL_PLATFORM_DRM, (void *) (intptr_t) fd); local [all...] |
| /external/deqp/modules/egl/ |
| teglImageTests.cpp | 66 bool checkExtensions (const tcu::egl::Display& dpy, const char** first, const char** last, vector<const char*>& unsupported) 69 dpy.getExtensions(extensions); 98 void checkExtensions (const tcu::egl::Display& dpy, const char** first, const char** last) 101 if (!checkExtensions(dpy, first, last, unsupported)) 106 void checkExtensions (const tcu::egl::Display& dpy, const char* (&extensions)[N]) 108 checkExtensions(dpy, &extensions[0], &extensions[N]); 210 EGLDisplay dpy = m_eglTestCtx.getDisplay().getEGLDisplay(); local 224 CHECK_EXT_CALL_RET(eglCreateImageKHR(dpy, (EGLContext)-1, EGL_NONE, 0, DE_NULL), 228 CHECK_EXT_CALL_RET(eglCreateImageKHR(dpy, EGL_NO_CONTEXT, (EGLenum)-1, 0, DE_NULL), 246 tcu::egl::Display& dpy = eglTestCtx.getDisplay() local [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/ |
| native_dri2.c | 50 Display *dpy; member in struct:dri2_display 767 XCloseDisplay(dri2dpy->dpy); 900 x11_create_dri2_display(Display *dpy, 911 dri2dpy->dpy = dpy; 912 if (!dri2dpy->dpy) { 913 dri2dpy->dpy = XOpenDisplay(NULL); 914 if (!dri2dpy->dpy) { 921 dri2dpy->xscr_number = DefaultScreen(dri2dpy->dpy); 922 dri2dpy->xscr = x11_screen_create(dri2dpy->dpy, dri2dpy->xscr_number) [all...] |