Searched defs:ndpy (Results 1 - 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dnative_x11.c38 struct native_display *ndpy = NULL; local
45 ndpy = x11_create_ximage_display((Display *) dpy, x11_event_handler);
48 ndpy = x11_create_dri2_display((Display *) dpy, x11_event_handler);
51 return ndpy;
H A Dnative_ximage.c75 ximage_display(const struct native_display *ndpy) argument
77 return (struct ximage_display *) ndpy;
239 ximage_display_create_surface(struct native_display *ndpy, argument
243 struct ximage_display *xdpy = ximage_display(ndpy);
284 ximage_display_create_window_surface(struct native_display *ndpy, argument
290 xsurf = ximage_display_create_surface(ndpy, (Drawable) win, nconf);
295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) argument
297 struct ximage_display *xdpy = ximage_display(ndpy);
322 ximage_display_create_pixmap_surface(struct native_display *ndpy, argument
330 struct ximage_display *xdpy = ximage_display(ndpy);
375 ximage_display_get_configs(struct native_display *ndpy, int *num_configs) argument
438 ximage_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument
450 ximage_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument
489 ximage_display_get_param(struct native_display *ndpy, enum native_param_type param) argument
510 ximage_display_destroy(struct native_display *ndpy) argument
526 ximage_display_init_screen(struct native_display *ndpy) argument
[all...]
H A Dnative_dri2.c92 dri2_display(const struct native_display *ndpy) argument
94 return (struct dri2_display *) ndpy;
454 dri2_display_create_surface(struct native_display *ndpy, argument
458 struct dri2_display *dri2dpy = dri2_display(ndpy);
487 dri2_display_create_window_surface(struct native_display *ndpy, argument
493 dri2surf = dri2_display_create_surface(ndpy,
499 dri2_display_create_pixmap_surface(struct native_display *ndpy, argument
506 struct dri2_display *dri2dpy = dri2_display(ndpy);
526 dri2surf = dri2_display_create_surface(ndpy,
567 dri2_display_convert_config(struct native_display *ndpy, argument
645 dri2_display_get_configs(struct native_display *ndpy, int *num_configs) argument
697 dri2_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument
724 dri2_display_get_param(struct native_display *ndpy, enum native_param_type param) argument
751 dri2_display_destroy(struct native_display *ndpy) argument
775 struct native_display *ndpy = (struct native_display* ) user_data; local
796 dri2_display_init_screen(struct native_display *ndpy) argument
844 struct native_display *ndpy = user_data; local
857 dri2_display_bind_wayland_display(struct native_display *ndpy, struct wl_display *wl_dpy) argument
876 dri2_display_unbind_wayland_display(struct native_display *ndpy, struct wl_display *wl_dpy) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Dnative_wayland_drm_bufmgr_helper.c19 struct native_display *ndpy = user_data; local
53 ndpy->screen->resource_from_handle(ndpy->screen, &templ, &wsh);
66 egl_g3d_wl_drm_common_wl_buffer_get_resource(struct native_display *ndpy, argument
73 egl_g3d_wl_drm_common_query_buffer(struct native_display *ndpy, argument
H A Dnative.h195 boolean (*init_screen)(struct native_display *ndpy);
197 void (*destroy)(struct native_display *ndpy);
204 int (*get_param)(struct native_display *ndpy,
211 const struct native_config **(*get_configs)(struct native_display *ndpy,
218 boolean (*get_pixmap_format)(struct native_display *ndpy,
227 boolean (*copy_to_pixmap)(struct native_display *ndpy,
234 struct native_surface *(*create_window_surface)(struct native_display *ndpy,
243 struct native_surface *(*create_pixmap_surface)(struct native_display *ndpy,
261 void (*invalid_surface)(struct native_display *ndpy,
265 struct pipe_screen *(*new_drm_screen)(struct native_display *ndpy,
287 ndpy_get_copy_context(struct native_display *ndpy) argument
298 ndpy_uninit(struct native_display *ndpy) argument
[all...]
H A Degl_g3d.c43 egl_g3d_invalid_surface(struct native_display *ndpy, argument
55 egl_g3d_new_drm_screen(struct native_display *ndpy, const char *name, int fd) argument
57 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data;
63 egl_g3d_new_sw_screen(struct native_display *ndpy, struct sw_winsys *ws) argument
65 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data;
71 egl_g3d_lookup_egl_image(struct native_display *ndpy, void *egl_image) argument
73 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data;
H A Dnative_helper.c259 struct native_display *ndpy)
267 pipe = ndpy_get_copy_context(ndpy);
346 struct native_display *ndpy)
350 struct pipe_context *pipe= ndpy_get_copy_context(ndpy);
372 native_display_copy_to_pixmap(struct native_display *ndpy, argument
382 pipe = ndpy_get_copy_context(ndpy);
386 nsurf = ndpy->create_pixmap_surface(ndpy, pix, NULL);
418 drm_display_import_native_buffer(struct native_display *ndpy, argument
421 struct pipe_screen *screen = ndpy
258 resource_surface_copy_swap(struct resource_surface *rsurf, struct native_display *ndpy) argument
345 resource_surface_flush(struct resource_surface *rsurf, struct native_display *ndpy) argument
444 drm_display_export_native_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/null/
H A Dnative_null.c50 null_display(const struct native_display *ndpy) argument
52 return (struct null_display *) ndpy;
56 null_display_get_configs(struct native_display *ndpy, int *num_configs) argument
58 struct null_display *null = null_display(ndpy);
74 null_display_get_param(struct native_display *ndpy, argument
81 null_display_destroy(struct native_display *ndpy) argument
83 struct null_display *null = null_display(ndpy);
91 null_display_init_config(struct native_display *ndpy) argument
99 struct null_display *null = null_display(ndpy);
123 null_display_init_screen(struct native_display *ndpy) argument
171 struct native_display *ndpy = NULL; local
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_shm.c55 wayland_shm_display(const struct native_display *ndpy) argument
57 return (struct wayland_shm_display *) ndpy;
62 wayland_shm_display_destroy(struct native_display *ndpy) argument
64 struct wayland_shm_display *shmdpy = wayland_shm_display(ndpy);
71 ndpy_uninit(ndpy);
153 wayland_shm_display_init_screen(struct native_display *ndpy) argument
155 struct wayland_shm_display *shmdpy = wayland_shm_display(ndpy);
H A Dnative_wayland.h97 wayland_display(const struct native_display *ndpy) argument
99 return (struct wayland_display *) ndpy;
H A Dnative_drm.c64 wayland_drm_display(const struct native_display *ndpy) argument
66 return (struct wayland_drm_display *) ndpy;
70 wayland_drm_display_destroy(struct native_display *ndpy) argument
72 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy);
83 ndpy_uninit(ndpy);
202 wayland_drm_display_init_screen(struct native_display *ndpy) argument
204 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy);
244 struct native_display *ndpy = user_data; local
245 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy);
266 wayland_drm_display_bind_wayland_display(struct native_display *ndpy, argument
285 wayland_drm_display_unbind_wayland_display(struct native_display *ndpy, struct wl_display *wl_dpy) argument
[all...]
H A Dnative_wayland.c80 wayland_display_get_configs(struct native_display *ndpy, int *num_configs) argument
82 struct wayland_display *display = wayland_display(ndpy);
123 wayland_display_get_param(struct native_display *ndpy, argument
370 wayland_create_window_surface(struct native_display *ndpy, argument
374 struct wayland_display *display = wayland_display(ndpy);
/external/libdrm/tests/ttmtest/src/
H A Dxf86dri.c383 uniDRIDestroyContext(Display * ndpy, int screen, XID context) argument
385 Display *const dpy = (Display *) ndpy;
405 uniDRICreateDrawable(Display * ndpy, int screen, argument
408 Display *const dpy = (Display *) ndpy;
436 uniDRIDestroyDrawable(Display * ndpy, int screen, Drawable drawable) argument
438 Display *const dpy = (Display *) ndpy;
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c44 drm_display_is_format_supported(struct native_display *ndpy, argument
47 return ndpy->screen->is_format_supported(ndpy->screen,
54 drm_display_get_configs(struct native_display *ndpy, int *num_configs) argument
56 struct drm_display *drmdpy = drm_display(ndpy);
104 drm_display_get_param(struct native_display *ndpy, argument
122 drm_display_destroy(struct native_display *ndpy) argument
124 struct drm_display *drmdpy = drm_display(ndpy);
132 ndpy->screen = NULL;
133 ndpy_uninit(ndpy);
194 struct native_display *ndpy = user_data; local
207 drm_display_bind_wayland_display(struct native_display *ndpy, struct wl_display *wl_dpy) argument
226 drm_display_unbind_wayland_display(struct native_display *ndpy, struct wl_display *wl_dpy) argument
250 drm_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
260 drm_display_init_screen(struct native_display *ndpy) argument
[all...]
H A Dnative_drm.h126 drm_display(const struct native_display *ndpy) argument
128 return (struct drm_display *) ndpy;
156 drm_display_init_modeset(struct native_display *ndpy);
159 drm_display_fini_modeset(struct native_display *ndpy);
162 drm_display_create_surface_from_resource(struct native_display *ndpy,
H A Dmodeset.c252 drm_display_create_surface(struct native_display *ndpy, argument
256 struct drm_display *drmdpy = drm_display(ndpy);
292 drm_display_create_surface_from_resource(struct native_display *ndpy, argument
295 struct drm_display *drmdpy = drm_display(ndpy);
331 drm_display_choose_crtc(struct native_display *ndpy, argument
334 struct drm_display *drmdpy = drm_display(ndpy);
387 drm_display_set_crtc(struct native_display *ndpy, int crtc_idx, argument
392 struct drm_display *drmdpy = drm_display(ndpy);
448 drm_display_program(struct native_display *ndpy, int crtc_idx, argument
453 struct drm_display *drmdpy = drm_display(ndpy);
519 drm_display_get_modes(struct native_display *ndpy, const struct native_connector *nconn, int *num_modes) argument
579 drm_display_get_connectors(struct native_display *ndpy, int *num_connectors, int *num_crtc) argument
617 drm_display_create_scanout_surface(struct native_display *ndpy, const struct native_config *nconf, uint width, uint height) argument
635 drm_display_fini_modeset(struct native_display *ndpy) argument
682 drm_display_init_modeset(struct native_display *ndpy) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
H A Dnative_gdi.c65 gdi_display(const struct native_display *ndpy) argument
67 return (struct gdi_display *) ndpy;
228 gdi_display_create_window_surface(struct native_display *ndpy, argument
232 struct gdi_display *gdpy = gdi_display(ndpy);
266 fill_color_formats(struct native_display *ndpy, enum pipe_format formats[8]) argument
268 struct pipe_screen *screen = ndpy->screen;
294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) argument
296 struct gdi_display *gdpy = gdi_display(ndpy);
336 gdi_display_get_param(struct native_display *ndpy, argument
357 gdi_display_destroy(struct native_display *ndpy) argument
370 gdi_display_init_screen(struct native_display *ndpy) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
H A Dnative_fbdev.c86 fbdev_display(const struct native_display *ndpy) argument
88 return (struct fbdev_display *) ndpy;
247 fbdev_display_create_window_surface(struct native_display *ndpy, argument
251 struct fbdev_display *fbdpy = fbdev_display(ndpy);
305 fbdev_display_create_scanout_surface(struct native_display *ndpy, argument
309 return fbdev_display_create_window_surface(ndpy,
314 fbdev_display_program(struct native_display *ndpy, int crtc_idx, argument
323 fbdev_display_get_modes(struct native_display *ndpy, argument
331 struct fbdev_display *fbdpy = fbdev_display(ndpy);
349 fbdev_display_get_connectors(struct native_display *ndpy, in argument
374 fbdev_display_get_configs(struct native_display *ndpy, int *num_configs) argument
390 fbdev_display_get_param(struct native_display *ndpy, enum native_param_type param) argument
410 fbdev_display_destroy(struct native_display *ndpy) argument
420 fbdev_display_init_screen(struct native_display *ndpy) argument
448 fbdev_display_init_config(struct native_display *ndpy) argument
514 struct native_display *ndpy; local
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/android/
H A Dnative_android.cpp95 android_display(const struct native_display *ndpy) argument
97 return (struct android_display *) ndpy;
377 copy_resources(struct native_display *ndpy, argument
384 pipe = ndpy_get_copy_context(ndpy);
503 android_display_create_window_surface(struct native_display *ndpy, argument
507 struct android_display *adpy = android_display(ndpy);
555 android_display_init_configs(struct native_display *ndpy) argument
557 struct android_display *adpy = android_display(ndpy);
598 android_display_init_drm(struct native_display *ndpy) argument
600 struct android_display *adpy = android_display(ndpy);
632 android_display_init_sw(struct native_display *ndpy) argument
654 android_display_init_screen(struct native_display *ndpy) argument
676 android_display_destroy(struct native_display *ndpy) argument
687 android_display_get_configs(struct native_display *ndpy, int *num_configs) argument
706 android_display_get_param(struct native_display *ndpy, enum native_param_type param) argument
724 android_display_import_buffer(struct native_display *ndpy, struct native_buffer *nbuf) argument
761 android_display_export_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
H A Ddxgi_native.cpp315 static void handle_invalid_surface(struct native_display *ndpy, struct native_surface *nsurf, unsigned int seq_num) argument

Completed in 183 milliseconds