Home
last modified time | relevance | path

Searched refs:ndpy (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/egl/common/
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,
[all …]
Dnative_helper.h86 struct native_display *ndpy);
101 struct native_display *ndpy);
110 native_display_copy_to_pixmap(struct native_display *ndpy,
115 drm_display_import_native_buffer(struct native_display *ndpy,
119 drm_display_export_native_buffer(struct native_display *ndpy,
Dnative_wayland_bufmgr.h35 boolean (*bind_display)(struct native_display *ndpy,
38 boolean (*unbind_display)(struct native_display *ndpy,
41 struct pipe_resource *(*buffer_get_resource)(struct native_display *ndpy,
45 boolean (*query_buffer)(struct native_display *ndpy,
Dnative_modeset.h53 const struct native_connector **(*get_connectors)(struct native_display *ndpy,
62 const struct native_mode **(*get_modes)(struct native_display *ndpy,
70 struct native_surface *(*create_scanout_surface)(struct native_display *ndpy,
82 boolean (*program)(struct native_display *ndpy, int crtc_idx,
Dnative_wayland_drm_bufmgr_helper.c19 struct native_display *ndpy = user_data; in egl_g3d_wl_drm_helper_reference_buffer() local
53 ndpy->screen->resource_from_handle(ndpy->screen, &templ, &wsh); in egl_g3d_wl_drm_helper_reference_buffer()
66 egl_g3d_wl_drm_common_wl_buffer_get_resource(struct native_display *ndpy, in egl_g3d_wl_drm_common_wl_buffer_get_resource() argument
73 egl_g3d_wl_drm_common_query_buffer(struct native_display *ndpy, in egl_g3d_wl_drm_common_query_buffer() argument
Dnative_helper.c259 struct native_display *ndpy) in resource_surface_copy_swap() argument
267 pipe = ndpy_get_copy_context(ndpy); in resource_surface_copy_swap()
346 struct native_display *ndpy) in resource_surface_flush() argument
350 struct pipe_context *pipe= ndpy_get_copy_context(ndpy); in resource_surface_flush()
372 native_display_copy_to_pixmap(struct native_display *ndpy, in native_display_copy_to_pixmap() argument
382 pipe = ndpy_get_copy_context(ndpy); in native_display_copy_to_pixmap()
386 nsurf = ndpy->create_pixmap_surface(ndpy, pix, NULL); in native_display_copy_to_pixmap()
418 drm_display_import_native_buffer(struct native_display *ndpy, in drm_display_import_native_buffer() argument
421 struct pipe_screen *screen = ndpy->screen; in drm_display_import_native_buffer()
444 drm_display_export_native_buffer(struct native_display *ndpy, in drm_display_export_native_buffer() argument
[all …]
Dnative_wayland_drm_bufmgr_helper.h40 egl_g3d_wl_drm_common_wl_buffer_get_resource(struct native_display *ndpy,
44 egl_g3d_wl_drm_common_query_buffer(struct native_display *ndpy,
Dnative_buffer.h65 struct pipe_resource *(*import_buffer)(struct native_display *ndpy,
71 boolean (*export_buffer)(struct native_display *ndpy,
Degl_g3d.c43 egl_g3d_invalid_surface(struct native_display *ndpy, in egl_g3d_invalid_surface() argument
55 egl_g3d_new_drm_screen(struct native_display *ndpy, const char *name, int fd) in egl_g3d_new_drm_screen() argument
57 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; in egl_g3d_new_drm_screen()
63 egl_g3d_new_sw_screen(struct native_display *ndpy, struct sw_winsys *ws) in egl_g3d_new_sw_screen() argument
65 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; in egl_g3d_new_sw_screen()
71 egl_g3d_lookup_egl_image(struct native_display *ndpy, void *egl_image) in egl_g3d_lookup_egl_image() argument
73 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; in egl_g3d_lookup_egl_image()
/external/mesa3d/src/gallium/state_trackers/egl/null/
Dnative_null.c50 null_display(const struct native_display *ndpy) in null_display() argument
52 return (struct null_display *) ndpy; in null_display()
56 null_display_get_configs(struct native_display *ndpy, int *num_configs) in null_display_get_configs() argument
58 struct null_display *null = null_display(ndpy); in null_display_get_configs()
74 null_display_get_param(struct native_display *ndpy, in null_display_get_param() argument
81 null_display_destroy(struct native_display *ndpy) in null_display_destroy() argument
83 struct null_display *null = null_display(ndpy); in null_display_destroy()
91 null_display_init_config(struct native_display *ndpy) in null_display_init_config() argument
99 struct null_display *null = null_display(ndpy); in null_display_init_config()
123 null_display_init_screen(struct native_display *ndpy) in null_display_init_screen() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c44 drm_display_is_format_supported(struct native_display *ndpy, in drm_display_is_format_supported() argument
47 return ndpy->screen->is_format_supported(ndpy->screen, in drm_display_is_format_supported()
54 drm_display_get_configs(struct native_display *ndpy, int *num_configs) in drm_display_get_configs() argument
56 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_get_configs()
104 drm_display_get_param(struct native_display *ndpy, in drm_display_get_param() argument
122 drm_display_destroy(struct native_display *ndpy) in drm_display_destroy() argument
124 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_destroy()
132 ndpy->screen = NULL; in drm_display_destroy()
133 ndpy_uninit(ndpy); in drm_display_destroy()
194 struct native_display *ndpy = user_data; in drm_display_authenticate() local
[all …]
Dmodeset.c252 drm_display_create_surface(struct native_display *ndpy, in drm_display_create_surface() argument
256 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_create_surface()
292 drm_display_create_surface_from_resource(struct native_display *ndpy, in drm_display_create_surface_from_resource() argument
295 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_create_surface_from_resource()
331 drm_display_choose_crtc(struct native_display *ndpy, in drm_display_choose_crtc() argument
334 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_choose_crtc()
387 drm_display_set_crtc(struct native_display *ndpy, int crtc_idx, in drm_display_set_crtc() argument
392 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_set_crtc()
448 drm_display_program(struct native_display *ndpy, int crtc_idx, in drm_display_program() argument
453 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_program()
[all …]
Dnative_drm.h126 drm_display(const struct native_display *ndpy) in drm_display() argument
128 return (struct drm_display *) ndpy; in drm_display()
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,
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c86 fbdev_display(const struct native_display *ndpy) in fbdev_display() argument
88 return (struct fbdev_display *) ndpy; in fbdev_display()
247 fbdev_display_create_window_surface(struct native_display *ndpy, in fbdev_display_create_window_surface() argument
251 struct fbdev_display *fbdpy = fbdev_display(ndpy); in fbdev_display_create_window_surface()
305 fbdev_display_create_scanout_surface(struct native_display *ndpy, in fbdev_display_create_scanout_surface() argument
309 return fbdev_display_create_window_surface(ndpy, in fbdev_display_create_scanout_surface()
314 fbdev_display_program(struct native_display *ndpy, int crtc_idx, in fbdev_display_program() argument
323 fbdev_display_get_modes(struct native_display *ndpy, in fbdev_display_get_modes() argument
331 struct fbdev_display *fbdpy = fbdev_display(ndpy); in fbdev_display_get_modes()
349 fbdev_display_get_connectors(struct native_display *ndpy, int *num_connectors, in fbdev_display_get_connectors() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c75 ximage_display(const struct native_display *ndpy) in ximage_display() argument
77 return (struct ximage_display *) ndpy; in ximage_display()
239 ximage_display_create_surface(struct native_display *ndpy, in ximage_display_create_surface() argument
243 struct ximage_display *xdpy = ximage_display(ndpy); in ximage_display_create_surface()
284 ximage_display_create_window_surface(struct native_display *ndpy, in ximage_display_create_window_surface() argument
290 xsurf = ximage_display_create_surface(ndpy, (Drawable) win, nconf); in ximage_display_create_window_surface()
295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) in get_pixmap_format() argument
297 struct ximage_display *xdpy = ximage_display(ndpy); in get_pixmap_format()
322 ximage_display_create_pixmap_surface(struct native_display *ndpy, in ximage_display_create_pixmap_surface() argument
330 struct ximage_display *xdpy = ximage_display(ndpy); in ximage_display_create_pixmap_surface()
[all …]
Dnative_dri2.c92 dri2_display(const struct native_display *ndpy) in dri2_display() argument
94 return (struct dri2_display *) ndpy; in dri2_display()
454 dri2_display_create_surface(struct native_display *ndpy, in dri2_display_create_surface() argument
458 struct dri2_display *dri2dpy = dri2_display(ndpy); in dri2_display_create_surface()
487 dri2_display_create_window_surface(struct native_display *ndpy, in dri2_display_create_window_surface() argument
493 dri2surf = dri2_display_create_surface(ndpy, in dri2_display_create_window_surface()
499 dri2_display_create_pixmap_surface(struct native_display *ndpy, in dri2_display_create_pixmap_surface() argument
506 struct dri2_display *dri2dpy = dri2_display(ndpy); in dri2_display_create_pixmap_surface()
526 dri2surf = dri2_display_create_surface(ndpy, in dri2_display_create_pixmap_surface()
567 dri2_display_convert_config(struct native_display *ndpy, in dri2_display_convert_config() argument
[all …]
Dnative_x11.c38 struct native_display *ndpy = NULL; in native_create_display() local
45 ndpy = x11_create_ximage_display((Display *) dpy, x11_event_handler); in native_create_display()
48 ndpy = x11_create_dri2_display((Display *) dpy, x11_event_handler); in native_create_display()
51 return ndpy; in native_create_display()
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c64 wayland_drm_display(const struct native_display *ndpy) in wayland_drm_display() argument
66 return (struct wayland_drm_display *) ndpy; in wayland_drm_display()
70 wayland_drm_display_destroy(struct native_display *ndpy) in wayland_drm_display_destroy() argument
72 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy); in wayland_drm_display_destroy()
83 ndpy_uninit(ndpy); in wayland_drm_display_destroy()
202 wayland_drm_display_init_screen(struct native_display *ndpy) in wayland_drm_display_init_screen() argument
204 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy); in wayland_drm_display_init_screen()
244 struct native_display *ndpy = user_data; in wayland_drm_display_authenticate() local
245 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy); in wayland_drm_display_authenticate()
266 wayland_drm_display_bind_wayland_display(struct native_display *ndpy, in wayland_drm_display_bind_wayland_display() argument
[all …]
Dnative_shm.c55 wayland_shm_display(const struct native_display *ndpy) in wayland_shm_display() argument
57 return (struct wayland_shm_display *) ndpy; in wayland_shm_display()
62 wayland_shm_display_destroy(struct native_display *ndpy) in wayland_shm_display_destroy() argument
64 struct wayland_shm_display *shmdpy = wayland_shm_display(ndpy); in wayland_shm_display_destroy()
71 ndpy_uninit(ndpy); in wayland_shm_display_destroy()
153 wayland_shm_display_init_screen(struct native_display *ndpy) in wayland_shm_display_init_screen() argument
155 struct wayland_shm_display *shmdpy = wayland_shm_display(ndpy); in wayland_shm_display_init_screen()
Dnative_wayland.h97 wayland_display(const struct native_display *ndpy) in wayland_display() argument
99 return (struct wayland_display *) ndpy; in wayland_display()
Dnative_wayland.c80 wayland_display_get_configs(struct native_display *ndpy, int *num_configs) in wayland_display_get_configs() argument
82 struct wayland_display *display = wayland_display(ndpy); in wayland_display_get_configs()
123 wayland_display_get_param(struct native_display *ndpy, in wayland_display_get_param() argument
370 wayland_create_window_surface(struct native_display *ndpy, in wayland_create_window_surface() argument
374 struct wayland_display *display = wayland_display(ndpy); in wayland_create_window_surface()
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c65 gdi_display(const struct native_display *ndpy) in gdi_display() argument
67 return (struct gdi_display *) ndpy; in gdi_display()
228 gdi_display_create_window_surface(struct native_display *ndpy, in gdi_display_create_window_surface() argument
232 struct gdi_display *gdpy = gdi_display(ndpy); in gdi_display_create_window_surface()
266 fill_color_formats(struct native_display *ndpy, enum pipe_format formats[8]) in fill_color_formats() argument
268 struct pipe_screen *screen = ndpy->screen; in fill_color_formats()
294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) in gdi_display_get_configs() argument
296 struct gdi_display *gdpy = gdi_display(ndpy); in gdi_display_get_configs()
336 gdi_display_get_param(struct native_display *ndpy, in gdi_display_get_param() argument
357 gdi_display_destroy(struct native_display *ndpy) in gdi_display_destroy() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/android/
Dnative_android.cpp95 android_display(const struct native_display *ndpy) in android_display() argument
97 return (struct android_display *) ndpy; in android_display()
377 copy_resources(struct native_display *ndpy, in copy_resources() argument
384 pipe = ndpy_get_copy_context(ndpy); in copy_resources()
503 android_display_create_window_surface(struct native_display *ndpy, in android_display_create_window_surface() argument
507 struct android_display *adpy = android_display(ndpy); in android_display_create_window_surface()
555 android_display_init_configs(struct native_display *ndpy) in android_display_init_configs() argument
557 struct android_display *adpy = android_display(ndpy); in android_display_init_configs()
598 android_display_init_drm(struct native_display *ndpy) in android_display_init_drm() argument
600 struct android_display *adpy = android_display(ndpy); in android_display_init_drm()
[all …]
/external/libdrm/tests/ttmtest/src/
Dxf86dri.c383 uniDRIDestroyContext(Display * ndpy, int screen, XID context) in uniDRIDestroyContext() argument
385 Display *const dpy = (Display *) ndpy; in uniDRIDestroyContext()
405 uniDRICreateDrawable(Display * ndpy, int screen, in uniDRICreateDrawable() argument
408 Display *const dpy = (Display *) ndpy; in uniDRICreateDrawable()
436 uniDRIDestroyDrawable(Display * ndpy, int screen, Drawable drawable) in uniDRIDestroyDrawable() argument
438 Display *const dpy = (Display *) ndpy; in uniDRIDestroyDrawable()
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp315 …static void handle_invalid_surface(struct native_display *ndpy, struct native_surface *nsurf, unsi… in handle_invalid_surface()