Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_drawable.h43 struct dri_drawable struct
72 void (*allocate_textures)(struct dri_drawable *drawable, argument
76 void (*update_drawable_info)(struct dri_drawable *drawable); argument
78 void (*flush_frontbuffer)(struct dri_drawable *drawable, argument
81 void (*update_tex_buffer)(struct dri_drawable *drawable, argument
86 static INLINE struct dri_drawable *
87 dri_drawable(__DRIdrawable * driDrawPriv) in dri_drawable() function
89 return (struct dri_drawable *) (driDrawPriv) in dri_drawable()
104 dri_drawable_get_format(struct dri_drawable *drawable,
Ddri_drawable.c42 swap_fences_unref(struct dri_drawable *draw);
50 struct dri_drawable *drawable = in dri_st_framebuffer_validate()
51 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_validate()
106 struct dri_drawable *drawable = in dri_st_framebuffer_flush_front()
107 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_flush_front()
124 struct dri_drawable *drawable = NULL; in dri_create_buffer()
129 drawable = CALLOC_STRUCT(dri_drawable); in dri_create_buffer()
160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
178 dri_drawable_validate_att(struct dri_drawable *drawable, in dri_drawable_validate_att()
209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2()
[all …]
Ddri_context.c219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
220 struct dri_drawable *read = dri_drawable(driReadPriv); in dri_make_current()
Ddri_context.h43 struct dri_drawable;
Ddri_screen.h44 struct dri_drawable;
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_drawable.c42 swap_fences_unref(struct dri_drawable *draw);
50 struct dri_drawable *drawable = in dri_st_framebuffer_validate()
51 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_validate()
106 struct dri_drawable *drawable = in dri_st_framebuffer_flush_front()
107 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_flush_front()
124 struct dri_drawable *drawable = NULL; in dri_create_buffer()
129 drawable = CALLOC_STRUCT(dri_drawable); in dri_create_buffer()
160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
178 dri_drawable_validate_att(struct dri_drawable *drawable, in dri_drawable_validate_att()
209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2()
[all …]
Ddrisw.c85 drisw_update_drawable_info(struct dri_drawable *drawable) in drisw_update_drawable_info()
94 drisw_put_image(struct dri_drawable *drawable, in drisw_put_image()
106 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_present_texture()
118 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_invalidate_drawable()
142 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_swap_buffers()
161 drisw_flush_frontbuffer(struct dri_drawable *drawable, in drisw_flush_frontbuffer()
185 drisw_allocate_textures(struct dri_drawable *drawable, in drisw_allocate_textures()
244 drisw_update_tex_buffer(struct dri_drawable *drawable, in drisw_update_tex_buffer()
332 struct dri_drawable *drawable = NULL; in drisw_create_buffer()
Ddri_context.c219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
220 struct dri_drawable *read = dri_drawable(driReadPriv); in dri_make_current()
DSConscript19 'dri_drawable.c',
DMakefile22 dri_drawable.c \
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_drawable.c42 swap_fences_unref(struct dri_drawable *draw);
50 struct dri_drawable *drawable = in dri_st_framebuffer_validate()
51 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_validate()
106 struct dri_drawable *drawable = in dri_st_framebuffer_flush_front()
107 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_flush_front()
124 struct dri_drawable *drawable = NULL; in dri_create_buffer()
129 drawable = CALLOC_STRUCT(dri_drawable); in dri_create_buffer()
160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
178 dri_drawable_validate_att(struct dri_drawable *drawable, in dri_drawable_validate_att()
209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2()
[all …]
Ddri2.c50 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_flush_drawable()
65 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable()
83 dri2_drawable_get_buffers(struct dri_drawable *drawable, in dri2_drawable_get_buffers()
87 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers() local
184 buffers = loader->getBuffersWithFormat(dri_drawable, in dri2_drawable_get_buffers()
185 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
187 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
190 buffers = loader->getBuffers(dri_drawable, in dri2_drawable_get_buffers()
191 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
193 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
[all …]
Ddri_context.c219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
220 struct dri_drawable *read = dri_drawable(driReadPriv); in dri_make_current()
DSConscript19 'dri_drawable.c',
DMakefile19 dri_drawable.c \
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast_priv.h80 struct dri_drawable struct
92 static INLINE struct dri_drawable * argument
93 dri_drawable(__DRIdrawable * driDrawPriv) in dri_drawable() function
95 return (struct dri_drawable *)driDrawPriv->driverPrivate; in dri_drawable()
98 static INLINE struct dri_drawable *
101 return (struct dri_drawable *) fb; in swrast_drawable()
Dswrast.c456 struct dri_drawable *drawable = NULL; in dri_create_buffer()
465 drawable = CALLOC_STRUCT(dri_drawable); in dri_create_buffer()
518 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
537 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_swap_buffers()
846 struct dri_drawable *draw; in dri_make_current()
847 struct dri_drawable *read; in dri_make_current()
852 draw = dri_drawable(driDrawPriv); in dri_make_current()
853 read = dri_drawable(driReadPriv); in dri_make_current()
/external/mesa3d/src/glx/
Ddri_glx.c86 struct dri_drawable struct
534 struct dri_drawable *pdraw, *pread; in dri_bind_context()
536 pdraw = (struct dri_drawable *) driFetchDrawable(context, draw); in dri_bind_context()
537 pread = (struct dri_drawable *) driFetchDrawable(context, read); in dri_bind_context()
634 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driDestroyDrawable()
650 struct dri_drawable *pdp; in driCreateDrawable()
694 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driSwapBuffers()
704 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driCopySubBuffer()
732 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driDrawableGetMSC()
745 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driWaitForMSC()
[all …]
/external/mesa3d/src/gallium/include/state_tracker/
Ddrisw_api.h7 struct dri_drawable;
14 void (*put_image) (struct dri_drawable *dri_drawable,
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c175 struct dri_drawable *dri_drawable = (struct dri_drawable *)context_private; in dri_sw_displaytarget_display() local
186 dri_sw_ws->lf->put_image(dri_drawable, dri_sw_dt->data, width, height); in dri_sw_displaytarget_display()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c123 dri2_surf->dri_drawable = in dri2_create_surface()
128 if (dri2_surf->dri_drawable == NULL) { in dri2_create_surface()
160 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in dri2_destroy_surface()
336 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in dri2_swap_buffers()
337 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in dri2_swap_buffers()
Dplatform_wayland.c110 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in resize_callback()
169 dri2_surf->dri_drawable = in dri2_create_surface()
175 if (dri2_surf->dri_drawable == NULL) { in dri2_create_surface()
183 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_create_surface()
217 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in dri2_destroy_surface()
620 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in dri2_swap_buffers()
621 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in dri2_swap_buffers()
Dplatform_x11.c212 dri2_surf->dri_drawable = in dri2_create_surface()
220 dri2_surf->dri_drawable = in dri2_create_surface()
226 if (dri2_surf->dri_drawable == NULL) { in dri2_create_surface()
257 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_create_surface()
307 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in dri2_destroy_surface()
678 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in dri2_copy_region()
722 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in dri2_swap_buffers_msc()
739 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in dri2_swap_buffers_msc()
762 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_swap_buffers()
843 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in dri2_copy_buffers()
Dplatform_android.c182 dri2_surf->dri_drawable = in droid_create_surface()
186 if (dri2_surf->dri_drawable == NULL) { in droid_create_surface()
247 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in droid_destroy_surface()
271 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in droid_swap_buffers()
276 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in droid_swap_buffers()
Degl_dri2.h154 __DRIdrawable *dri_drawable; member

12