/external/mesa3d/src/glx/apple/ |
H A D | apple_xgl_api_viewport.c | 41 Display *dpy = glXGetCurrentDisplay(); local 44 apple_glx_context_update(dpy, gc->driContext);
|
H A D | apple_xgl_api_read.c | 67 Display *dpy = glXGetCurrentDisplay(); local 71 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, 74 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, 86 Display *dpy = glXGetCurrentDisplay(); local 88 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
|
H A D | apple_glx.c | 60 surface_notify_handler(Display * dpy, unsigned int uid, int kind) argument 100 apple_init_glx(Display * dpy) argument 105 if (!XAppleDRIQueryExtension(dpy, &eventBase, &errorBase)) 108 if (!XAppleDRIQueryVersion(dpy, &major, &minor, &patch)) 141 apple_glx_waitx(Display * dpy, void *ptr) argument 149 XSync(dpy, False);
|
H A D | apple_glx_pixmap.c | 48 static void pixmap_destroy(Display * dpy, struct apple_glx_drawable *d); 91 pixmap_destroy(Display * dpy, struct apple_glx_drawable *d) argument 101 XAppleDRIDestroyPixmap(dpy, p->xpixmap); 119 apple_glx_pixmap_create(Display * dpy, int screen, Pixmap pixmap, argument 129 if (apple_glx_drawable_create(dpy, screen, pixmap, &d, &callbacks)) 139 if (!XAppleDRICreatePixmap(dpy, screen, pixmap, 225 apple_glx_pixmap_destroy(Display * dpy, GLXPixmap pixmap) argument 227 return !apple_glx_drawable_destroy_by_type(dpy, pixmap,
|
H A D | apple_glx_surface.c | 38 static void surface_destroy(Display * dpy, struct apple_glx_drawable *d); 48 update_viewport_and_scissor(Display * dpy, GLXDrawable drawable) argument 54 XGetGeometry(dpy, drawable, &root, &x, &y, &width, &height, &bd, &depth); 95 surface_destroy(Display * dpy, struct apple_glx_drawable *d) argument 129 create_surface(Display * dpy, int screen, struct apple_glx_drawable *d) argument 143 if (XAppleDRICreateSurface(dpy, screen, d->drawable, id, key, &s->uid)) { 164 apple_glx_surface_create(Display * dpy, int screen, argument 170 if (apple_glx_drawable_create(dpy, screen, drawable, &d, &callbacks)) 175 if (create_surface(dpy, screen, d)) {
|
H A D | glxreply.c | 32 __glXReadReply(Display * dpy, size_t size, void *dest, argument 37 (void) _XReply(dpy, (xReply *) & reply, 0, False); 44 _XRead(dpy, dest, bytes); 46 _XEatData(dpy, extra); 58 __glXReadPixelReply(Display * dpy, struct glx_context * gc, unsigned max_dim, argument 65 (void) _XReply(dpy, (xReply *) & reply, 0, False); 85 _XEatData(dpy, size); 91 _XRead(dpy, buf, size); 93 _XEatData(dpy, extra); 107 Display *const dpy 124 Display *const dpy = gc->currentDpy; local [all...] |
/external/mesa3d/src/egl/main/ |
H A D | eglimage.c | 41 _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, argument 46 (void) dpy; 112 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy) argument 114 _eglInitResource(&img->Resource, sizeof(*img), dpy);
|
H A D | eglmisc.c | 74 _eglUpdateExtensionsString(_EGLDisplay *dpy) argument 78 if (dpy->Extensions.ext) { \ 80 assert(exts <= dpy->ExtensionsString + _EGL_MAX_EXTENSIONS_LEN); \ 84 char *exts = dpy->ExtensionsString; 98 if (dpy->Extensions.KHR_image_base && dpy->Extensions.KHR_image_pixmap) 126 _eglUpdateAPIsString(_EGLDisplay *dpy) argument 128 char *apis = dpy->ClientAPIsString; 130 if (apis[0] || !dpy->ClientAPIs) 133 if (dpy 150 _eglQueryString(_EGLDriver *drv, _EGLDisplay *dpy, EGLint name) argument [all...] |
H A D | eglsync.c | 69 _eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type, argument 74 if (!(type == EGL_SYNC_REUSABLE_KHR && dpy->Extensions.KHR_reusable_sync) && 75 !(type == EGL_SYNC_FENCE_KHR && dpy->Extensions.KHR_fence_sync)) 78 _eglInitResource(&sync->Resource, sizeof(*sync), dpy); 92 _eglGetSyncAttribKHR(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, argument
|
H A D | eglsync.h | 52 _eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type, 57 _eglGetSyncAttribKHR(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, 110 _eglLookupSync(EGLSyncKHR handle, _EGLDisplay *dpy) argument 113 if (!dpy || !_eglCheckResource((void *) sync, _EGL_RESOURCE_SYNC, dpy))
|
H A D | eglcontext.h | 67 _eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy, 72 _eglQueryContext(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, EGLint attribute, EGLint *value); 131 _eglLookupContext(EGLContext context, _EGLDisplay *dpy) argument 134 if (!dpy || !_eglCheckResource((void *) ctx, _EGL_RESOURCE_CONTEXT, dpy))
|
H A D | eglimage.h | 69 _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, 74 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy); 127 _eglLookupImage(EGLImageKHR image, _EGLDisplay *dpy) argument 130 if (!dpy || !_eglCheckResource((void *) img, _EGL_RESOURCE_IMAGE, dpy))
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
H A D | glxinit.h | 13 Display *dpy; member in struct:__anon12445 20 extern __GLXdisplayPrivate *__glXInitialize(Display * dpy);
|
H A D | native_x11.c | 36 native_create_display(void *dpy, boolean use_sw) argument 45 ndpy = x11_create_ximage_display((Display *) dpy, x11_event_handler); 48 ndpy = x11_create_dri2_display((Display *) dpy, x11_event_handler);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
H A D | block.c | 38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) argument 40 assert(dpy); 58 Status XvMCDestroyBlocks(Display *dpy, XvMCBlockArray *blocks) argument 60 assert(dpy); 68 Status XvMCCreateMacroBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCMacroBlockArray *blocks) argument 70 assert(dpy); 88 Status XvMCDestroyMacroBlocks(Display *dpy, XvMCMacroBlockArray *blocks) argument 90 assert(dpy);
|
H A D | attributes.c | 54 XvAttribute* XvMCQueryAttributes(Display *dpy, XvMCContext *context, int *number) argument 58 assert(dpy && number); 76 Status XvMCSetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int value) argument 82 assert(dpy); 89 attr = XGetAtomName(dpy, attribute); 121 Status XvMCGetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int *value) argument 126 assert(dpy); 133 attr = XGetAtomName(dpy, attribute);
|
/external/mesa3d/src/glx/ |
H A D | create_context.c | 37 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, argument 41 xcb_connection_t *const c = XGetXCBConnection(dpy); 52 if (dpy == NULL || cfg == NULL) 59 psc = GetGLXScreenConfigs(dpy, cfg->screen); 117 __glXSendErrorForXcb(dpy, err);
|
H A D | glx_error.c | 38 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, argument 41 struct glx_display *glx_dpy = __glXInitialize(dpy); 48 LockDisplay(dpy); 59 error.sequenceNumber = dpy->request; 64 _XError(dpy, &error); 66 UnlockDisplay(dpy); 70 __glXSendErrorForXcb(Display * dpy, const xcb_generic_error_t *err) argument 74 LockDisplay(dpy); 83 _XError(dpy, &error); 85 UnlockDisplay(dpy); [all...] |
H A D | pixelstore.c | 52 Display *const dpy = gc->currentDpy; local 54 if (__builtin_expect(dpy != NULL, 1)) { 58 UnlockDisplay(dpy); 72 Display *dpy = gc->currentDpy; local 75 if (!dpy) 222 Display *dpy = gc->currentDpy; local 224 if (!dpy)
|
H A D | applegl_glx.c | 48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); 55 Display *dpy = gc->psc->dpy; local 56 bool error = apple_glx_make_current_context(dpy, 72 Display *dpy; local 83 dpy = gc->psc->dpy; 85 error = apple_glx_make_current_context(dpy, 101 Display *dpy = gc->psc->dpy; local 131 Display *dpy = psc->dpy; local [all...] |
/external/libvncserver/x11vnc/misc/ |
H A D | blockdpy.c | 121 Display *dpy = NULL; variable 140 XUngrabServer(dpy); 146 DPMSEnable(dpy); 147 DPMSSetTimeouts(dpy, standby, suspend, off); 148 XFlush(dpy); 150 XCloseDisplay(dpy); 212 dpy = XOpenDisplay(NULL); 213 if (! dpy) { 219 if (! DPMSQueryExtension(dpy, &ev, &er)) { 223 if (! DPMSCapable(dpy)) { [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
H A D | 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, wi [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
H A D | 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, wi [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_sync.c | 44 _EGLDisplay *dpy = gsync->base.Resource.Display; local 49 _eglUnlockMutex(&dpy->Mutex); 54 _eglLockMutex(&dpy->Mutex); 101 _EGLDisplay *dpy = gsync->base.Resource.Display; local 102 struct egl_g3d_display *gdpy = egl_g3d_display(dpy); 108 _eglUnlockMutex(&dpy->Mutex); 112 _eglLockMutex(&dpy->Mutex); 152 egl_g3d_create_sync(_EGLDriver *drv, _EGLDisplay *dpy, argument 159 if (!ctx || ctx->Resource.Display != dpy) { 170 if (!_eglInitSync(&gsync->base, dpy, typ 200 egl_g3d_destroy_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync) argument 222 egl_g3d_client_wait_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, EGLint flags, EGLTimeKHR timeout) argument 263 egl_g3d_signal_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, EGLenum mode) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/null/ |
H A D | native_null.c | 169 native_create_display(void *dpy, boolean use_sw) argument 174 if (!dpy)
|