/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | drisw.c | 52 get_drawable_info(__DRIdrawable *dPriv, int *x, int *y, int *w, int *h) in get_drawable_info() argument 54 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() 57 loader->getDrawableInfo(dPriv, in get_drawable_info() 59 dPriv->loaderPrivate); in get_drawable_info() 63 put_image(__DRIdrawable *dPriv, void *data, unsigned width, unsigned height) in put_image() argument 65 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() 68 loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, in put_image() 70 data, dPriv->loaderPrivate); in put_image() 74 get_image(__DRIdrawable *dPriv, int x, int y, int width, int height, void *data) in get_image() argument 76 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image() [all …]
|
D | dri_drawable.c | 71 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate() 89 } while (lastStamp != drawable->dPriv->lastStamp); in dri_st_framebuffer_validate() 120 __DRIdrawable * dPriv, in dri_create_buffer() argument 143 drawable->dPriv = dPriv; in dri_create_buffer() 148 dPriv->driverPrivate = (void *)drawable; in dri_create_buffer() 158 dri_destroy_buffer(__DRIdrawable * dPriv) in dri_destroy_buffer() argument 160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer() 196 drawable->texture_stamp = drawable->dPriv->lastStamp - 1; in dri_drawable_validate_att() 206 GLint format, __DRIdrawable *dPriv) in dri_set_tex_buffer2() argument 209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2() [all …]
|
D | dri_context.c | 234 if (ctx->dPriv != driDrawPriv) { in dri_make_current() 235 ctx->dPriv = driDrawPriv; in dri_make_current()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 64 GLint texture_format, __DRIdrawable *dPriv) in swrastSetTexBuffer2() argument 68 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrastSetTexBuffer2() 87 sPriv->swrast_loader->getDrawableInfo(dPriv, &x, &y, &w, &h, dPriv->loaderPrivate); in swrastSetTexBuffer2() 97 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2() 98 dPriv->loaderPrivate); in swrastSetTexBuffer2() 104 __DRIdrawable *dPriv) in swrastSetTexBuffer() argument 106 swrastSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in swrastSetTexBuffer() 320 swrast_new_renderbuffer(const struct gl_config *visual, __DRIdrawable *dPriv, in swrast_new_renderbuffer() argument 338 xrb->dPriv = dPriv; in swrast_new_renderbuffer() 393 __DRIdrawable *dPriv = xrb->dPriv; in swrast_map_renderbuffer() local [all …]
|
D | swrast_priv.h | 86 __DRIdrawable *dPriv; member 106 __DRIdrawable *dPriv; member
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_drawable.c | 71 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate() 89 } while (lastStamp != drawable->dPriv->lastStamp); in dri_st_framebuffer_validate() 120 __DRIdrawable * dPriv, in dri_create_buffer() argument 143 drawable->dPriv = dPriv; in dri_create_buffer() 148 dPriv->driverPrivate = (void *)drawable; in dri_create_buffer() 158 dri_destroy_buffer(__DRIdrawable * dPriv) in dri_destroy_buffer() argument 160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer() 196 drawable->texture_stamp = drawable->dPriv->lastStamp - 1; in dri_drawable_validate_att() 206 GLint format, __DRIdrawable *dPriv) in dri_set_tex_buffer2() argument 209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2() [all …]
|
D | dri_drawable.h | 51 __DRIdrawable *dPriv; member 98 __DRIdrawable * dPriv, 101 void dri_destroy_buffer(__DRIdrawable * dPriv);
|
D | dri_context.h | 50 __DRIdrawable *dPriv; member
|
D | dri_context.c | 234 if (ctx->dPriv != driDrawPriv) { in dri_make_current() 235 ctx->dPriv = driDrawPriv; in dri_make_current()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_drawable.c | 71 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate() 89 } while (lastStamp != drawable->dPriv->lastStamp); in dri_st_framebuffer_validate() 120 __DRIdrawable * dPriv, in dri_create_buffer() argument 143 drawable->dPriv = dPriv; in dri_create_buffer() 148 dPriv->driverPrivate = (void *)drawable; in dri_create_buffer() 158 dri_destroy_buffer(__DRIdrawable * dPriv) in dri_destroy_buffer() argument 160 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer() 196 drawable->texture_stamp = drawable->dPriv->lastStamp - 1; in dri_drawable_validate_att() 206 GLint format, __DRIdrawable *dPriv) in dri_set_tex_buffer2() argument 209 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_set_tex_buffer2() [all …]
|
D | dri2.c | 47 dri2_flush_drawable(__DRIdrawable *dPriv) in dri2_flush_drawable() argument 49 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in dri2_flush_drawable() 50 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_flush_drawable() 63 dri2_invalidate_drawable(__DRIdrawable *dPriv) in dri2_invalidate_drawable() argument 65 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable() 67 dri2InvalidateDrawable(dPriv); in dri2_invalidate_drawable() 68 drawable->dPriv->lastStamp = drawable->dPriv->dri2.stamp; in dri2_invalidate_drawable() 87 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers() 210 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_process_buffers() 398 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_flush_frontbuffer() [all …]
|
D | dri_context.c | 234 if (ctx->dPriv != driDrawPriv) { in dri_make_current() 235 ctx->dPriv = driDrawPriv; in dri_make_current()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_image.c | 270 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument 272 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2() 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 290 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2() 321 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument 326 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_image.c | 270 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument 272 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2() 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 290 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2() 321 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument 326 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_image.c | 270 __DRIdrawable *dPriv) in intelSetTexBuffer2() argument 272 struct gl_framebuffer *fb = dPriv->driverPrivate; in intelSetTexBuffer2() 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 290 intel_update_renderbuffers(pDRICtx, dPriv); in intelSetTexBuffer2() 321 intelSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in intelSetTexBuffer() argument 326 intelSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in intelSetTexBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 615 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv) in driUpdateFramebufferSize() argument 617 struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate; in driUpdateFramebufferSize() 618 if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) { in driUpdateFramebufferSize() 619 ctx->Driver.ResizeBuffers(ctx, fb, dPriv->w, dPriv->h); in driUpdateFramebufferSize() 622 assert(fb->Width == dPriv->w); in driUpdateFramebufferSize() 623 assert(fb->Height == dPriv->h); in driUpdateFramebufferSize()
|
D | dri_util.h | 267 driUpdateFramebufferSize(struct gl_context *ctx, const __DRIdrawable *dPriv);
|
/external/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 | 606 __DRIdrawable *dPriv) in radeonSetTexBuffer2() argument 621 rfb = dPriv->driverPrivate; in radeonSetTexBuffer2() 632 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in radeonSetTexBuffer2() 714 void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in radeonSetTexBuffer() argument 716 radeonSetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in radeonSetTexBuffer()
|
D | radeon_state.c | 1349 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in radeonUpdateWindow() local 1351 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in radeonUpdateWindow() 1404 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in radeonUpdateViewportOffset() local 1406 GLfloat yoffset = (GLfloat)dPriv->h; in radeonUpdateViewportOffset() 1435 sty = 31 - ((dPriv->h - 1) in radeonUpdateViewportOffset()
|
D | radeon_common_context.h | 101 __DRIdrawable *dPriv; member
|
/external/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 | 729 __DRIdrawable *dPriv) in r200SetTexBuffer2() argument 744 rfb = dPriv->driverPrivate; in r200SetTexBuffer2() 755 radeon_update_renderbuffers(pDRICtx, dPriv, GL_TRUE); in r200SetTexBuffer2() 839 void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) in r200SetTexBuffer() argument 841 r200SetTexBuffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); in r200SetTexBuffer()
|
D | radeon_common_context.h | 101 __DRIdrawable *dPriv; member
|
D | r200_state.c | 1542 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in r200UpdateWindow() local 1544 GLfloat yoffset = dPriv ? (GLfloat) dPriv->h : 0; in r200UpdateWindow() 1622 __DRIdrawable *dPriv = radeon_get_drawable(&rmesa->radeon); in r200UpdateViewportOffset() local 1624 GLfloat yoffset = (GLfloat)dPriv->h; in r200UpdateViewportOffset() 1653 sty = 31 - ((dPriv->h - 1) in r200UpdateViewportOffset()
|