Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/libva/va/x11/
Dva_dricommon.h61 struct dri_drawable struct
69 struct dri_drawable *next; argument
77 struct dri_drawable *drawable_hash[DRAWABLE_HASH_SZ];
79 struct dri_drawable *(*createDrawable)(VADriverContextP ctx, XID x_drawable);
80 void (*destroyDrawable)(VADriverContextP ctx, struct dri_drawable *dri_drawable);
81 void (*swapBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable);
82 … union dri_buffer *(*getRenderingBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable);
88 void free_drawable(VADriverContextP ctx, struct dri_drawable* dri_drawable);
90 struct dri_drawable *dri_get_drawable(VADriverContextP ctx, XID drawable);
91 void dri_swap_buffer(VADriverContextP ctx, struct dri_drawable *dri_drawable);
[all …]
/external/chromium_org/third_party/mesa/src/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 …]
/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 …]
/external/chromium_org/third_party/mesa/src/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()
/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()
/external/chromium_org/third_party/mesa/src/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()
/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 …]
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/include/state_tracker/
Ddrisw_api.h7 struct dri_drawable;
14 void (*put_image) (struct dri_drawable *dri_drawable,
/external/mesa3d/src/gallium/include/state_tracker/
Ddrisw_api.h7 struct dri_drawable;
14 void (*put_image) (struct dri_drawable *dri_drawable,
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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()

123