/third_party/mesa3d/src/gallium/frontends/dri/ |
D | drisw.c | 47 get_drawable_info(__DRIdrawable *dPriv, int *x, int *y, int *w, int *h) in get_drawable_info() argument 49 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() 52 loader->getDrawableInfo(dPriv, in get_drawable_info() 54 dPriv->loaderPrivate); in get_drawable_info() 58 put_image(__DRIdrawable *dPriv, void *data, unsigned width, unsigned height) in put_image() argument 60 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() 63 loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, in put_image() 65 data, dPriv->loaderPrivate); in put_image() 69 put_image2(__DRIdrawable *dPriv, void *data, int x, int y, in put_image2() argument 72 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image2() [all …]
|
D | dri_drawable.c | 75 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate() 93 } while (lastStamp != drawable->dPriv->lastStamp); in dri_st_framebuffer_validate() 152 __DRIdrawable * dPriv, in dri_create_buffer() argument 176 drawable->dPriv = dPriv; in dri_create_buffer() 178 dPriv->driverPrivate = (void *)drawable; in dri_create_buffer() 190 dri_destroy_buffer(__DRIdrawable * dPriv) in dri_destroy_buffer() argument 192 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer() 236 drawable->texture_stamp = drawable->dPriv->lastStamp - 1; in dri_drawable_validate_att() 246 GLint format, __DRIdrawable *dPriv) in dri_set_tex_buffer2() argument 250 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2() [all …]
|
D | dri_drawable.h | 47 __DRIdrawable *dPriv; member 96 __DRIdrawable * dPriv, 99 void dri_destroy_buffer(__DRIdrawable * dPriv); 114 __DRIdrawable *dPriv,
|
D | dri2.c | 72 dri2_flush_drawable(__DRIdrawable *dPriv) in dri2_flush_drawable() argument 74 dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, -1); in dri2_flush_drawable() 78 dri2_invalidate_drawable(__DRIdrawable *dPriv) in dri2_invalidate_drawable() argument 80 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable() 82 dri2InvalidateDrawable(dPriv); in dri2_invalidate_drawable() 83 drawable->dPriv->lastStamp = drawable->dPriv->dri2.stamp; in dri2_invalidate_drawable() 105 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers() 217 __DRIdrawable *dPriv = drawable->dPriv; in dri_image_drawable_get_buffers() local 283 return (*sPriv->image.loader->getBuffers) (dPriv, image_format, in dri_image_drawable_get_buffers() 285 dPriv->loaderPrivate, buffer_mask, in dri_image_drawable_get_buffers() [all …]
|
D | dri_context.c | 274 ctx->dPriv = NULL; in dri_unbind_context() 297 if (ctx->dPriv != driDrawPriv) { in dri_make_current() 298 ctx->dPriv = driDrawPriv; in dri_make_current()
|
D | dri_context.h | 50 __DRIdrawable *dPriv; member
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_image.c | 273 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument 275 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2() 291 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 293 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2() 327 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument 332 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.h | 40 extern void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv); 42 __DRIdrawable *dPriv);
|
D | radeon_texstate.c | 546 __DRIdrawable *dPriv) in radeonSetTexBuffer2() argument 560 rfb = dPriv->driverPrivate; in radeonSetTexBuffer2() 570 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in radeonSetTexBuffer2() 646 void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in radeonSetTexBuffer() argument 648 radeonSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in radeonSetTexBuffer()
|
D | radeon_common_context.h | 100 __DRIdrawable *dPriv; member
|
D | radeon_state.c | 1351 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in radeonUpdateWindow() local 1353 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in radeonUpdateWindow()
|
D | radeon_fbo.c | 664 rrb->dPriv = driDrawPriv; in radeon_create_renderbuffer()
|
/third_party/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 876 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv) in driUpdateFramebufferSize() argument 878 struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate; in driUpdateFramebufferSize() 879 if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) { in driUpdateFramebufferSize() 880 _mesa_resize_framebuffer(ctx, fb, dPriv->w, dPriv->h); in driUpdateFramebufferSize() 883 assert(fb->Width == dPriv->w); in driUpdateFramebufferSize() 884 assert(fb->Height == dPriv->h); in driUpdateFramebufferSize()
|
D | dri_util.h | 333 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv);
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tex.h | 38 extern void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv); 40 __DRIdrawable *dPriv);
|
D | r200_texstate.c | 639 __DRIdrawable *dPriv) in r200SetTexBuffer2() argument 653 rfb = dPriv->driverPrivate; in r200SetTexBuffer2() 663 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in r200SetTexBuffer2() 741 void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in r200SetTexBuffer() argument 743 r200SetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in r200SetTexBuffer()
|
D | radeon_common_context.h | 100 __DRIdrawable *dPriv; member
|
D | r200_state.c | 1545 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in r200UpdateWindow() local 1547 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in r200UpdateWindow()
|
D | radeon_fbo.c | 664 rrb->dPriv = driDrawPriv; in radeon_create_renderbuffer()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_tex_image.c | 436 __DRIdrawable *dPriv) in brw_set_texbuffer2() argument 438 struct gl_framebuffer *fb = dPriv->driverPrivate; in brw_set_texbuffer2() 454 if (dPriv->lastStamp != dPriv->dri2.stamp || in brw_set_texbuffer2() 456 brw_update_renderbuffers(pDRICtx, dPriv); in brw_set_texbuffer2() 502 __DRIdrawable *dPriv) in brw_release_texbuffer() argument 596 brw_set_texbuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in brw_set_texbuffer() argument 601 brw_set_texbuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in brw_set_texbuffer()
|
D | brw_tex.h | 47 __DRIdrawable *dPriv);
|
D | brw_screen.c | 152 __DRIdrawable *dPriv, in brw_dri2_flush_with_flags() argument 168 brw_resolve_for_dri2_flush(brw, dPriv); in brw_dri2_flush_with_flags()
|