/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
H A D | shared_x_display.cc | 19 SharedXDisplay::SharedXDisplay(Display* display) argument 20 : display_(display) { 32 Display* display = local 34 if (!display) { 35 LOG(LS_ERROR) << "Unable to open display"; 38 return new SharedXDisplay(display); 71 int events_to_process = XPending(display()); 75 XNextEvent(display(), &e);
|
H A D | shared_x_display.h | 38 // Takes ownership of |display|. 39 explicit SharedXDisplay(Display* display); 46 // Creates X11 Display connection for the default display (e.g. specified in 56 Display* display() { return display_; } function in class:webrtc::SharedXDisplay
|
H A D | x_error_trap.cc | 29 int XServerErrorHandler(Display* display, XErrorEvent* error_event) { argument 39 XErrorTrap::XErrorTrap(Display* display) argument
|
H A D | x_server_pixel_buffer.cc | 96 bool XServerPixelBuffer::Init(Display* display, Window window) { argument 98 display_ = display; 230 // XShmGetImage can fail if the display is being reconfigured.
|
/external/chromium_org/third_party/skia/platform_tools/android/app/src/com/skia/ |
H A D | SkiaSampleView.java | 193 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument 237 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { 265 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { 278 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { 284 if (findConfigAttrib(egl, display, config , EGL10.EGL_RED_SIZE, 0) == 8 && 285 findConfigAttrib(egl, display, config, EGL10.EGL_BLUE_SIZE, 0) == 8 && 286 findConfigAttrib(egl, display, config, EGL10.EGL_GREEN_SIZE, 0) == 8 && 287 findConfigAttrib(egl, display, config, EGL10.EGL_ALPHA_SIZE, 0) == 8 && 288 findConfigAttrib(egl, display, config, EGL10.EGL_STENCIL_SIZE, 0) == 8) { 296 private int findConfigAttrib(EGL10 egl, EGLDisplay display, argument [all...] |
/external/chromium_org/third_party/skia/src/views/win/ |
H A D | SkOSWindow_win.cpp | 410 EGLDisplay display = eglGetDisplay(GetDC(hWnd)); local 411 if (display == EGL_NO_DISPLAY ) { 417 if (!eglInitialize(display, &majorVersion, &minorVersion)) { 422 if (!eglGetConfigs(display, NULL, 0, &numConfigs)) { 441 if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 447 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 453 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig, 461 EGLContext context = eglCreateContext(display, *eglConfig, 469 if (!eglMakeCurrent(display, surface, surface, context)) { 473 *eglDisplay = display; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xm_api.c | 43 * Byte swapping: If the Mesa host and the X display use a different 46 * display, not the Mesa host. 48 * according to the display's visual red_mask, green_mask, and blue_mask. 114 static int check_for_xshm( XMesaDisplay *display ) 119 if (XQueryExtension( display, "MIT-SHM", &ignore, &ignore, &ignore )) { 122 * one display connection and start using a new one. XShm has been 160 * Input: dpy - the X display 167 XMesaDisplay *dpy = xmv->display; 195 * Input: dpy - the display 249 XSync(b->xm_visual->display, 739 XMesaCreateVisual( XMesaDisplay *display, XMesaVisualInfo visinfo, GLboolean rgb_flag, GLboolean alpha_flag, GLboolean db_flag, GLboolean stereo_flag, GLboolean ximage_flag, GLint depth_size, GLint stencil_size, GLint accum_red_size, GLint accum_green_size, GLint accum_blue_size, GLint accum_alpha_size, GLint num_samples, GLint level, GLint visualCaveat ) argument [all...] |
H A D | xmesaP.h | 76 XMesaDisplay *display; /* The X11 display */ member in struct:xmesa_visual 113 XMesaDisplay *display; /* == xm_visual->display */ member in struct:xmesa_context 114 GLboolean swapbytes; /* Host byte order != display byte order? */ 189 XMesaDisplay *display; member in struct:xmesa_buffer
|
/external/chromium_org/third_party/mesa/src/include/GL/ |
H A D | glx.h | 495 Display *display; /* display the event was read from */ member in struct:__anon13632 508 Display *display; /* Display the event was read from */ member in struct:__anon13633
|
H A D | glxext.h | 469 Display *display; /* display the event was read from */ member in struct:__anon13634 651 extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); 654 typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); 724 extern int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window); 725 extern int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h); 726 extern int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); 727 extern int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); 728 extern int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype); 730 typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, in [all...] |
H A D | vms_x_fix.h | 1100 #define sys$display SYS$DISPLAY
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | eglapi.c | 42 * opaque handles. Internal objects are linked to a display to 58 * such display is detected, 64 * Some of the entry points use current display, context, or surface 106 * These macros will unlock the display and record the error code. 269 * Lookup and lock a display. 272 _eglLockDisplay(EGLDisplay display) argument 274 _EGLDisplay *dpy = _eglLookupDisplay(display); 282 * Unlock a display. 293 * It associates a private _EGLDisplay object to the native display. 475 /* display i 1506 eglBindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display) argument 1524 eglUnbindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display) argument [all...] |
H A D | egldisplay.c | 139 * Try detecting native platform with the help of native display characteristcs. 216 * Finish display management. 246 * Find the display corresponding to the specified native display, or create a 259 /* search the display list first */ 267 /* create a new display */ 275 /* add to the display list */ 288 * Destroy the contexts and surfaces that are linked to the display. 291 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *display) argument 295 list = display [all...] |
H A D | egldisplay.h | 69 * A resource of a display. 73 /* which display the resource belongs to */ 127 _EGLPlatformType Platform; /**< The type of the platform display */ 128 void *PlatformDisplay; /**< A pointer to the platform display */ 130 _EGLDriver *Driver; /**< Matched driver of the display */ 131 EGLBoolean Initialized; /**< True if the display is initialized */ 133 /* options that affect how the driver initializes the display */ 188 * Lookup a handle to find the linked display. 189 * Return NULL if the handle has no corresponding linked display. 192 _eglLookupDisplay(EGLDisplay display) argument [all...] |
H A D | eglscreen.c | 40 * To actually display a screen surface on a screen, the eglShowSurface() 103 * Link a screen to its display and return the handle of the link. 109 _EGLDisplay *display; local 113 display = screen->Display; 115 if (!display->Screens) { 116 display->Screens = _eglCreateArray("Screen", 4); 117 if (!display->Screens) 125 _eglAppendArray(display->Screens, (void *) screen); 136 _eglLookupScreen(EGLScreenMESA screen, _EGLDisplay *display) argument 140 if (!display || !displa 165 _eglGetScreensMESA(_EGLDriver *drv, _EGLDisplay *display, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/ |
H A D | wayland-drm.c | 40 struct wl_display *display; member in struct:wl_drm 210 wayland_drm_init(struct wl_display *display, char *device_name, argument 217 drm->display = display; 222 wl_display_add_global(display, &wl_drm_interface, drm, bind_drm);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_winsys_dri.c | 297 vl_screen_create(Display *display, int screen) argument 314 assert(display); 320 scrn->conn = XGetXCBConnection(display);
|
H A D | vl_winsys_xsp.c | 47 Display *display; member in struct:vl_xsp_screen 69 if (XGetGeometry(xsp_screen->display, drawable, &root, &x, &y, &width, &height, &border_width, &depth) == BadDrawable) 129 vl_screen_create(Display *display, int screen) argument 134 assert(display); 140 winsys = xlib_create_sw_winsys(display); 153 xsp_screen->display = display; 155 xsp_screen->xdraw.visual = XDefaultVisual(display, screen);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgi/src/ |
H A D | dxgi_native.cpp | 143 void* display; member in struct:GalliumDXGIFactory 147 GalliumDXGIFactory(const struct native_platform* platform, void* display, IGalliumDXGIBackend* p_backend) argument 148 : GalliumDXGIObject<IDXGIFactory1, IUnknown>((IUnknown*)NULL), platform(platform), display(display) 153 backend.reset(new GalliumDXGIX11IdentityBackend((Display*)display)); 172 return GalliumDXGIAdapterCreate(this, platform, display, out_adapter); 178 unsigned nscreens = ScreenCount((Display*)display); 181 unsigned def_screen = DefaultScreen(display); 184 *out_adapter = GalliumDXGIAdapterCreate(this, platform, display, adapter); 244 struct native_display* display; member in struct:GalliumDXGIAdapter 1412 void* display; member in struct:dxgi_binding [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_st.c | 43 _EGLDisplay *display; member in struct:egl_g3d_st_manager 63 _eglLockMutex(&gsmapi->display->Mutex); 65 img = _eglLookupImage(handle, gsmapi->display); 67 _eglUnlockMutex(&gsmapi->display->Mutex); 78 _eglUnlockMutex(&gsmapi->display->Mutex); 98 gsmapi->display = dpy;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/ |
H A D | native_drm.c | 92 wayland_create_drm_buffer(struct wayland_display *display, argument 96 struct wayland_drm_display *drmdpy = (struct wayland_drm_display *) display;
|
H A D | native_shm.c | 77 wayland_create_shm_buffer(struct wayland_display *display, argument 81 struct wayland_shm_display *shmdpy = (struct wayland_shm_display *) display;
|
H A D | native_wayland.c | 52 wayland_roundtrip(struct wayland_display *display) argument 57 callback = wl_display_sync(display->dpy); 59 wl_proxy_set_queue((struct wl_proxy *) callback, display->queue); 61 ret = wl_display_dispatch_queue(display->dpy, display->queue); 82 struct wayland_display *display = wayland_display(ndpy); local 86 if (!display->configs) { 89 display->num_configs = 0; 90 display->configs = CALLOC(Elements(wayland_formats), 91 sizeof(*display 166 struct wayland_display *display = surface->display; local 255 struct wayland_display *display = surface->display; local 374 struct wayland_display *display = wayland_display(ndpy); local 417 struct wayland_display *display = NULL; local [all...] |
H A D | native_wayland.h | 57 struct wl_buffer *(*create_buffer)(struct wayland_display *display, 75 struct wayland_display *display; member in struct:wayland_surface 115 wayland_create_shm_display(struct wl_display *display, 119 wayland_create_drm_display(struct wl_display *display,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
H A D | xm_api.c | 39 * Byte swapping: If the Mesa host and the X display use a different 42 * display, not the Mesa host. 44 * according to the display's visual red_mask, green_mask, and blue_mask. 131 xmesa_init_display( Display *display ) 139 /* Look for XMesaDisplay which corresponds to 'display' */ 141 if (Displays[i].display == display) { 154 if (!xmdpy->display && display) { 155 xmdpy->display 665 XMesaCreateVisual( Display *display, XVisualInfo * visinfo, GLboolean rgb_flag, GLboolean alpha_flag, GLboolean db_flag, GLboolean stereo_flag, GLboolean ximage_flag, GLint depth_size, GLint stencil_size, GLint accum_red_size, GLint accum_green_size, GLint accum_blue_size, GLint accum_alpha_size, GLint num_samples, GLint level, GLint visualCaveat ) argument [all...] |