Searched defs:dpy (Results 26 - 50 of 206) sorted by relevance

123456789

/external/mesa3d/src/glx/apple/
H A Dapple_xgl_api_read.c67 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 Dapple_glx.c60 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 Dapple_glx_pixmap.c48 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,
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc34 static XRenderPictFormat* GetRenderARGB32Format(Display* dpy) { argument
58 pictformat = XRenderFindFormat(dpy, kMask, &templ, 0 /* first result */);
64 pictformat = XRenderFindStandardFormat(dpy, PictStandardARGB32);
/external/chromium_org/third_party/angle_dx11/src/libEGL/
H A Dmain.cpp119 void setCurrentDisplay(EGLDisplay dpy) argument
123 current->display = dpy;
/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Deglcontext.h67 _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 Deglimage.h69 _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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10app/
H A Dd3d10x11main.cpp48 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11x11main.cpp22 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d_sync.c44 _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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/null/
H A Dnative_null.c169 native_create_display(void *dpy, boolean use_sw) argument
174 if (!dpy)
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dapple_glx.c60 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 Dapple_glx_pixmap.c48 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 Dapple_glx_surface.c38 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 Dglxreply.c32 __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/chromium_org/third_party/mesa/src/src/glx/
H A Dapplegl_glx.c48 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...]
H A Dglx_query.c46 __glXQueryServerString(Display * dpy, int opcode, CARD32 screen, CARD32 name) argument
48 xcb_connection_t *c = XGetXCBConnection(dpy);
70 __glXGetString(Display * dpy, int opcode, CARD32 contextTag, CARD32 name) argument
72 xcb_connection_t *c = XGetXCBConnection(dpy);
119 __glXGetStringFromServer(Display * dpy, int opcode, CARD32 glxCode, argument
129 LockDisplay(dpy);
144 _XReply(dpy, (xReply *) & reply, 0, False);
151 _XRead(dpy, buf, numbytes);
155 _XEatData(dpy, length);
157 UnlockDisplay(dpy);
164 __glXQueryServerString(Display * dpy, int opcode, CARD32 screen, CARD32 name) argument
171 __glXGetString(Display * dpy, int opcode, CARD32 contextTag, CARD32 name) argument
[all...]
H A Dsinglepix.c46 if (!dpy)
74 _XEatData(dpy, compsize);
76 UnlockDisplay(dpy);
88 _XEatData(dpy, compsize - __GLX_PAD(widthsize));
90 UnlockDisplay(dpy);
129 Display *const dpy = gc->currentDpy; local
132 if (dpy != NULL) {
146 (void) _XReply(dpy, (xReply *) & reply, 0, False);
163 _XEatData(dpy, compsize);
166 UnlockDisplay(dpy);
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Dxm_line.c59 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, xr
[all...]
/external/mesa3d/src/egl/main/
H A Deglcontext.h67 _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 Deglimage.h69 _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/d3d1x/progs/d3d10app/
H A Dd3d10x11main.cpp48 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 Dd3d11x11main.cpp22 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 Degl_g3d_sync.c44 _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 Dnative_null.c169 native_create_display(void *dpy, boolean use_sw) argument
174 if (!dpy)

Completed in 2368 milliseconds

123456789