Home
last modified time | relevance | path

Searched refs:nsurf (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c71 gdi_surface(const struct native_surface *nsurf) in gdi_surface() argument
73 return (struct gdi_surface *) nsurf; in gdi_surface()
80 gdi_surface_update_geometry(struct native_surface *nsurf) in gdi_surface_update_geometry() argument
82 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_update_geometry()
98 gdi_surface_update_buffers(struct native_surface *nsurf, uint buffer_mask) in gdi_surface_update_buffers() argument
100 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_update_buffers()
114 gdi_surface_invalidate(struct native_surface *nsurf) in gdi_surface_invalidate() argument
116 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_invalidate()
125 gdi_surface_flush_frontbuffer(struct native_surface *nsurf) in gdi_surface_flush_frontbuffer() argument
127 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_flush_frontbuffer()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c81 ximage_surface(const struct native_surface *nsurf) in ximage_surface() argument
83 return (struct ximage_surface *) nsurf; in ximage_surface()
96 ximage_surface_update_geometry(struct native_surface *nsurf) in ximage_surface_update_geometry() argument
98 struct ximage_surface *xsurf = ximage_surface(nsurf); in ximage_surface_update_geometry()
114 ximage_surface_update_buffers(struct native_surface *nsurf, uint buffer_mask) in ximage_surface_update_buffers() argument
116 struct ximage_surface *xsurf = ximage_surface(nsurf); in ximage_surface_update_buffers()
130 ximage_surface_invalidate(struct native_surface *nsurf) in ximage_surface_invalidate() argument
132 struct ximage_surface *xsurf = ximage_surface(nsurf); in ximage_surface_invalidate()
141 ximage_surface_flush_frontbuffer(struct native_surface *nsurf) in ximage_surface_flush_frontbuffer() argument
143 struct ximage_surface *xsurf = ximage_surface(nsurf); in ximage_surface_flush_frontbuffer()
[all …]
Dnative_dri2.c98 dri2_surface(const struct native_surface *nsurf) in dri2_surface() argument
100 return (struct dri2_surface *) nsurf; in dri2_surface()
113 dri2_surface_process_drawable_buffers(struct native_surface *nsurf, in dri2_surface_process_drawable_buffers() argument
117 struct dri2_surface *dri2surf = dri2_surface(nsurf); in dri2_surface_process_drawable_buffers()
195 dri2_surface_get_buffers(struct native_surface *nsurf, uint buffer_mask) in dri2_surface_get_buffers() argument
197 struct dri2_surface *dri2surf = dri2_surface(nsurf); in dri2_surface_get_buffers()
274 dri2_surface_update_buffers(struct native_surface *nsurf, uint buffer_mask) in dri2_surface_update_buffers() argument
276 struct dri2_surface *dri2surf = dri2_surface(nsurf); in dri2_surface_update_buffers()
287 dri2_surface_receive_events(struct native_surface *nsurf) in dri2_surface_receive_events() argument
289 struct dri2_surface *dri2surf = dri2_surface(nsurf); in dri2_surface_receive_events()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dmodeset.c38 drm_surface_validate(struct native_surface *nsurf, uint attachment_mask, in drm_surface_validate() argument
42 struct drm_surface *drmsurf = drm_surface(nsurf); in drm_surface_validate()
63 drm_surface_init_framebuffers(struct native_surface *nsurf, boolean need_back) in drm_surface_init_framebuffers() argument
65 struct drm_surface *drmsurf = drm_surface(nsurf); in drm_surface_init_framebuffers()
122 drm_surface_flush_frontbuffer(struct native_surface *nsurf) in drm_surface_flush_frontbuffer() argument
125 struct drm_surface *drmsurf = drm_surface(nsurf); in drm_surface_flush_frontbuffer()
136 drm_surface_copy_swap(struct native_surface *nsurf) in drm_surface_copy_swap() argument
138 struct drm_surface *drmsurf = drm_surface(nsurf); in drm_surface_copy_swap()
146 if (!drm_surface_flush_frontbuffer(nsurf)) in drm_surface_copy_swap()
155 drm_surface_swap_buffers(struct native_surface *nsurf) in drm_surface_swap_buffers() argument
[all …]
Dnative_drm.h138 drm_surface(const struct native_surface *nsurf) in drm_surface() argument
140 return (struct drm_surface *) nsurf; in drm_surface()
/external/mesa3d/src/gallium/state_trackers/egl/android/
Dnative_android.cpp101 android_surface(const struct native_surface *nsurf) in android_surface() argument
103 return (struct android_surface *) nsurf; in android_surface()
229 android_surface_clear_cache(struct native_surface *nsurf) in android_surface_clear_cache() argument
231 struct android_surface *asurf = android_surface(nsurf); in android_surface_clear_cache()
243 android_surface_add_cache(struct native_surface *nsurf, in android_surface_add_cache() argument
246 struct android_surface *asurf = android_surface(nsurf); in android_surface_add_cache()
321 android_surface_dequeue_buffer(struct native_surface *nsurf) in android_surface_dequeue_buffer() argument
323 struct android_surface *asurf = android_surface(nsurf); in android_surface_dequeue_buffer()
347 android_surface_enqueue_buffer(struct native_surface *nsurf) in android_surface_enqueue_buffer() argument
349 struct android_surface *asurf = android_surface(nsurf); in android_surface_enqueue_buffer()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c92 fbdev_surface(const struct native_surface *nsurf) in fbdev_surface() argument
94 return (struct fbdev_surface *) nsurf; in fbdev_surface()
98 fbdev_surface_validate(struct native_surface *nsurf, uint attachment_mask, in fbdev_surface_validate() argument
102 struct fbdev_surface *fbsurf = fbdev_surface(nsurf); in fbdev_surface_validate()
149 fbdev_surface_update_drawable(struct native_surface *nsurf, in fbdev_surface_update_drawable() argument
152 struct fbdev_surface *fbsurf = fbdev_surface(nsurf); in fbdev_surface_update_drawable()
186 fbdev_surface_present(struct native_surface *nsurf, in fbdev_surface_present() argument
189 struct fbdev_surface *fbsurf = fbdev_surface(nsurf); in fbdev_surface_present()
232 fbdev_surface_wait(struct native_surface *nsurf) in fbdev_surface_wait() argument
238 fbdev_surface_destroy(struct native_surface *nsurf) in fbdev_surface_destroy() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_wayland.c203 wayland_surface_validate(struct native_surface *nsurf, uint attachment_mask, in wayland_surface_validate() argument
207 struct wayland_surface *surface = wayland_surface(nsurf); in wayland_surface_validate()
252 wayland_surface_swap_buffers(struct native_surface *nsurf) in wayland_surface_swap_buffers() argument
254 struct wayland_surface *surface = wayland_surface(nsurf); in wayland_surface_swap_buffers()
299 wayland_surface_present(struct native_surface *nsurf, in wayland_surface_present() argument
302 struct wayland_surface *surface = wayland_surface(nsurf); in wayland_surface_present()
328 ret = wayland_surface_swap_buffers(nsurf); in wayland_surface_present()
345 wayland_surface_wait(struct native_surface *nsurf) in wayland_surface_wait() argument
351 wayland_surface_destroy(struct native_surface *nsurf) in wayland_surface_destroy() argument
353 struct wayland_surface *surface = wayland_surface(nsurf); in wayland_surface_destroy()
Dnative_wayland.h103 wayland_surface(const struct native_surface *nsurf) in wayland_surface() argument
105 return (struct wayland_surface *) nsurf; in wayland_surface()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Dnative.h121 void (*destroy)(struct native_surface *nsurf);
126 boolean (*present)(struct native_surface *nsurf,
141 boolean (*validate)(struct native_surface *nsurf, uint attachment_mask,
148 void (*wait)(struct native_surface *nsurf);
262 struct native_surface *nsurf,
Degl_g3d_api.c229 struct native_surface *nsurf; in egl_g3d_create_surface() local
263 nsurf = gdpy->native->create_window_surface(gdpy->native, in egl_g3d_create_surface()
267 nsurf = gdpy->native->create_pixmap_surface(gdpy->native, in egl_g3d_create_surface()
274 nsurf = gdpy->native->modeset->create_scanout_surface(gdpy->native, in egl_g3d_create_surface()
279 nsurf = NULL; in egl_g3d_create_surface()
283 if (!nsurf) { in egl_g3d_create_surface()
288 if (!nsurf->validate(nsurf, 0x0, &gsurf->sequence_number, NULL, in egl_g3d_create_surface()
290 nsurf->destroy(nsurf); in egl_g3d_create_surface()
306 nsurf->destroy(nsurf); in egl_g3d_create_surface()
311 nsurf->user_data = &gsurf->base; in egl_g3d_create_surface()
[all …]
Dnative_helper.c377 struct native_surface *nsurf; in native_display_copy_to_pixmap() local
386 nsurf = ndpy->create_pixmap_surface(ndpy, pix, NULL); in native_display_copy_to_pixmap()
387 if (!nsurf) in native_display_copy_to_pixmap()
392 nsurf->validate(nsurf, 1 << natt, NULL, tmp, NULL, NULL); in native_display_copy_to_pixmap()
405 nsurf->present(nsurf, &ctrl); in native_display_copy_to_pixmap()
411 nsurf->destroy(nsurf); in native_display_copy_to_pixmap()
Degl_g3d_image.c47 struct native_surface *nsurf; in egl_g3d_reference_native_pixmap() local
51 nsurf = gdpy->native->create_pixmap_surface(gdpy->native, pix, NULL); in egl_g3d_reference_native_pixmap()
52 if (!nsurf) in egl_g3d_reference_native_pixmap()
56 if (!nsurf->validate(nsurf, 1 << natt, NULL, textures, NULL, NULL)) in egl_g3d_reference_native_pixmap()
59 nsurf->destroy(nsurf); in egl_g3d_reference_native_pixmap()
Dnative_modeset.h83 struct native_surface *nsurf, uint x, uint y,
Degl_g3d.c44 struct native_surface *nsurf, in egl_g3d_invalid_surface() argument
48 struct egl_g3d_surface *gsurf = egl_g3d_surface(nsurf->user_data); in egl_g3d_invalid_surface()
/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()
317 GalliumDXGISwapChainRevalidate((IDXGISwapChain*)nsurf->user_data); in handle_invalid_surface()