Home
last modified time | relevance | path

Searched refs:dPriv (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/dri/
Ddrisw.c55 get_drawable_info(__DRIdrawable *dPriv, int *x, int *y, int *w, int *h) in get_drawable_info() argument
57 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info()
60 loader->getDrawableInfo(dPriv, in get_drawable_info()
62 dPriv->loaderPrivate); in get_drawable_info()
66 put_image(__DRIdrawable *dPriv, void *data, unsigned width, unsigned height) in put_image() argument
68 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image()
71 loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, in put_image()
73 data, dPriv->loaderPrivate); in put_image()
77 put_image2(__DRIdrawable *dPriv, void *data, int x, int y, in put_image2() argument
80 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image2()
[all …]
Ddri_drawable.c76 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate()
94 } while (lastStamp != drawable->dPriv->lastStamp); in dri_st_framebuffer_validate()
128 __DRIdrawable * dPriv, in dri_create_buffer() argument
151 drawable->dPriv = dPriv; in dri_create_buffer()
156 dPriv->driverPrivate = (void *)drawable; in dri_create_buffer()
166 dri_destroy_buffer(__DRIdrawable * dPriv) in dri_destroy_buffer() argument
168 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
207 drawable->texture_stamp = drawable->dPriv->lastStamp - 1; in dri_drawable_validate_att()
217 GLint format, __DRIdrawable *dPriv) in dri_set_tex_buffer2() argument
220 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2()
[all …]
Ddri_drawable.h51 __DRIdrawable *dPriv; member
102 __DRIdrawable * dPriv,
105 void dri_destroy_buffer(__DRIdrawable * dPriv);
120 __DRIdrawable *dPriv,
Ddri2.c179 dri2_flush_drawable(__DRIdrawable *dPriv) in dri2_flush_drawable() argument
181 dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, -1); in dri2_flush_drawable()
185 dri2_invalidate_drawable(__DRIdrawable *dPriv) in dri2_invalidate_drawable() argument
187 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable()
189 dri2InvalidateDrawable(dPriv); in dri2_invalidate_drawable()
190 drawable->dPriv->lastStamp = drawable->dPriv->dri2.stamp; in dri2_invalidate_drawable()
212 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers()
309 __DRIdrawable *dPriv = drawable->dPriv; in dri_image_drawable_get_buffers() local
351 return (*sPriv->image.loader->getBuffers) (dPriv, image_format, in dri_image_drawable_get_buffers()
353 dPriv->loaderPrivate, buffer_mask, in dri_image_drawable_get_buffers()
[all …]
Ddri_context.h50 __DRIdrawable *dPriv; member
Ddri_context.c236 if (ctx->dPriv != driDrawPriv) { in dri_make_current()
237 ctx->dPriv = driDrawPriv; in dri_make_current()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c79 GLint texture_format, __DRIdrawable *dPriv) in swrastSetTexBuffer2() argument
83 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrastSetTexBuffer2()
100 sPriv->swrast_loader->getDrawableInfo(dPriv, &x, &y, &w, &h, dPriv->loaderPrivate); in swrastSetTexBuffer2()
110 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()
111 dPriv->loaderPrivate); in swrastSetTexBuffer2()
117 __DRIdrawable *dPriv) in swrastSetTexBuffer() argument
119 swrastSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in swrastSetTexBuffer()
408 swrast_new_renderbuffer(const struct gl_config *visual, __DRIdrawable *dPriv, in swrast_new_renderbuffer() argument
426 xrb->dPriv = dPriv; in swrast_new_renderbuffer()
482 __DRIdrawable *dPriv = xrb->dPriv; in swrast_map_renderbuffer() local
[all …]
Dswrast_priv.h86 __DRIdrawable *dPriv; member
106 __DRIdrawable *dPriv; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c279 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument
281 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2()
297 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2()
299 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2()
333 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument
338 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c827 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv) in driUpdateFramebufferSize() argument
829 struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate; in driUpdateFramebufferSize()
830 if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) { in driUpdateFramebufferSize()
831 _mesa_resize_framebuffer(ctx, fb, dPriv->w, dPriv->h); in driUpdateFramebufferSize()
834 assert(fb->Width == dPriv->w); in driUpdateFramebufferSize()
835 assert(fb->Height == dPriv->h); in driUpdateFramebufferSize()
Ddri_util.h288 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv);
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.h40 extern void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv);
42 __DRIdrawable *dPriv);
Dradeon_texstate.c539 __DRIdrawable *dPriv) in radeonSetTexBuffer2() argument
553 rfb = dPriv->driverPrivate; in radeonSetTexBuffer2()
563 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in radeonSetTexBuffer2()
645 void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in radeonSetTexBuffer() argument
647 radeonSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in radeonSetTexBuffer()
Dradeon_common_context.h101 __DRIdrawable *dPriv; member
Dradeon_state.c1352 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in radeonUpdateWindow() local
1354 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in radeonUpdateWindow()
Dradeon_fbo.c659 rrb->dPriv = driDrawPriv; in radeon_create_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c296 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument
298 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2()
313 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2()
315 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2()
392 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument
397 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
Dintel_screen.c168 __DRIdrawable *dPriv, in intel_dri2_flush_with_flags() argument
182 intel_resolve_for_dri2_flush(brw, dPriv); in intel_dri2_flush_with_flags()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.h38 extern void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv);
40 __DRIdrawable *dPriv);
Dr200_texstate.c636 __DRIdrawable *dPriv) in r200SetTexBuffer2() argument
650 rfb = dPriv->driverPrivate; in r200SetTexBuffer2()
660 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in r200SetTexBuffer2()
744 void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in r200SetTexBuffer() argument
746 r200SetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in r200SetTexBuffer()
Dradeon_common_context.h101 __DRIdrawable *dPriv; member
Dr200_state.c1544 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in r200UpdateWindow() local
1546 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in r200UpdateWindow()
Dradeon_fbo.c659 rrb->dPriv = driDrawPriv; in radeon_create_renderbuffer()