/external/chromium_org/third_party/mesa/src/src/egl/main/ |
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...] |
H A D | xm_api.h | 79 Display *display; member in struct:xmesa_display 89 * Input: display - X11 display 110 extern XMesaVisual XMesaCreateVisual( Display *display, 138 * share_list - another XMesaContext with which to share display 288 Display *display; /* The X11 display */ member in struct:xmesa_visual
|
H A D | xm_st.c | 36 XMesaDisplay display; member in struct:xmesa_st_framebuffer 276 assert(xmdpy->display == b->xm_visual->display); 288 xstfb->display = xmdpy; 377 pipe = xstfb->display->pipe; 382 xstfb->display->pipe = pipe;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | device.c | 40 vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device, argument 47 if (!(display && device && get_proc_address)) 61 dev->vscreen = vl_screen_create(display, screen); 207 _ERROR_TYPE(VDP_STATUS_DISPLAY_PREEMPTED,"The display was preempted, or a fatal error occurred. The application must re-initialize VDPAU.");
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
H A D | test_blocks.c | 38 Display *display; local 48 display = XOpenDisplay(NULL); 52 display, 64 XCloseDisplay(display); 70 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 71 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 74 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 75 assert(XvMCCreateSurface(display, &context, &surface) == Success); 78 assert(XvMCCreateBlocks(display, NULL, 1, &blocks) == XvMCBadContext); 80 assert(XvMCCreateBlocks(display, [all...] |
H A D | test_context.c | 37 Display *display; local 44 display = XOpenDisplay(NULL); 48 display, 60 XCloseDisplay(display); 66 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 67 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 77 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); 79 assert(XvMCCreateContext(display, port_nu [all...] |
H A D | test_rendering.c | 136 Display *display; local 154 display = XOpenDisplay(NULL); 158 display, 170 XCloseDisplay(display); 176 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 177 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 180 root = XDefaultRootWindow(display); 181 window = XCreateSimpleWindow(display, root, 0, 0, output_width, output_height, 0, 0, colorkey); 183 assert(XvMCCreateContext(display, port_num, surface_type_id, INPUT_WIDTH, INPUT_HEIGHT, XVMC_DIRECT, &context) == Success); 184 assert(XvMCCreateSurface(display, [all...] |
H A D | test_subpicture.c | 61 Display *display; local 72 display = XOpenDisplay(NULL); 76 display, 88 XCloseDisplay(display); 94 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 95 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 98 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 100 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics); 144 assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id) == XvMCBadContext); 146 assert(XvMCCreateSubpicture(display, [all...] |
H A D | test_surface.c | 37 Display *display; local 45 display = XOpenDisplay(NULL); 49 display, 61 XCloseDisplay(display); 67 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 68 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 74 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext); 76 assert(XvMCCreateSurface(display, &context, NULL) == XvMCBadSurface); 78 assert(XvMCCreateSurface(display, [all...] |
H A D | testlib.c | 44 Display *display, 63 if (!XvMCQueryExtension(display, &ev_base, &err_base)) 65 if (XvQueryAdaptors(display, XDefaultRootWindow(display), &num_adaptors, &adaptor_info) != Success) 72 XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); 91 if (XvGrabPort(display, adaptor_info[i].base_id + l, CurrentTime) == Success) 42 GetPort( Display *display, unsigned int width, unsigned int height, unsigned int chroma_format, const unsigned int *mc_types, unsigned int num_mc_types, XvPortID *port_id, int *surface_type_id, unsigned int *is_overlay, unsigned int *intra_unsigned ) argument
|
H A D | xvmc_bench.c | 178 Display *display; local 200 display = XOpenDisplay(NULL); 204 display, 216 XCloseDisplay(display); 222 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); 223 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); 226 root = XDefaultRootWindow(display); 227 window = XCreateSimpleWindow(display, root, 0, 0, config.output_width, config.output_height, 0, 0, colorkey); 229 assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_height, XVMC_DIRECT, &context) == Success); 230 assert(XvMCCreateSurface(display, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-xlib/ |
H A D | graw_xlib.c | 17 Display *display; member in struct:__anon14242 31 winsys = xlib_create_sw_winsys( graw.display ); 61 graw.display = XOpenDisplay(NULL); 62 if (graw.display == NULL) 65 scrnum = DefaultScreen( graw.display ); 66 root = RootWindow( graw.display, scrnum ); 69 if (graw.display == NULL) 78 templat.screen = DefaultScreen(graw.display); 82 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n); 108 attr.colormap = XCreateColormap( graw.display, roo [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/wayland/ |
H A D | wayland_sw_winsys.c | 61 struct wl_display *display; member in struct:wayland_sw_winsys 260 wayland_create_sw_winsys(struct wl_display *display) argument 268 wlws->display = display;
|