Home
last modified time | relevance | path

Searched refs:driDrawPriv (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_context.c214 __DRIdrawable * driDrawPriv, in dri_make_current() argument
219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
229 if (!driDrawPriv && !driReadPriv) in dri_make_current()
231 else if (!driDrawPriv || !driReadPriv) in dri_make_current()
234 if (ctx->dPriv != driDrawPriv) { in dri_make_current()
235 ctx->dPriv = driDrawPriv; in dri_make_current()
236 draw->texture_stamp = driDrawPriv->lastStamp - 1; in dri_make_current()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_context.c214 __DRIdrawable * driDrawPriv, in dri_make_current() argument
219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
229 if (!driDrawPriv && !driReadPriv) in dri_make_current()
231 else if (!driDrawPriv || !driReadPriv) in dri_make_current()
234 if (ctx->dPriv != driDrawPriv) { in dri_make_current()
235 ctx->dPriv = driDrawPriv; in dri_make_current()
236 draw->texture_stamp = driDrawPriv->lastStamp - 1; in dri_make_current()
/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_context.c214 __DRIdrawable * driDrawPriv, in dri_make_current() argument
219 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
229 if (!driDrawPriv && !driReadPriv) in dri_make_current()
231 else if (!driDrawPriv || !driReadPriv) in dri_make_current()
234 if (ctx->dPriv != driDrawPriv) { in dri_make_current()
235 ctx->dPriv = driDrawPriv; in dri_make_current()
236 draw->texture_stamp = driDrawPriv->lastStamp - 1; in dri_make_current()
Ddri_drawable.h87 dri_drawable(__DRIdrawable * driDrawPriv) in dri_drawable() argument
89 return (struct dri_drawable *) (driDrawPriv) in dri_drawable()
90 ? driDrawPriv->driverPrivate : NULL; in dri_drawable()
Ddri_context.h81 __DRIdrawable * driDrawPriv,
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.h96 __DRIdrawable *driDrawPriv,
100 void (*DestroyBuffer)(__DRIdrawable *driDrawPriv);
102 void (*SwapBuffers)(__DRIdrawable *driDrawPriv);
105 __DRIdrawable *driDrawPriv,
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c560 __DRIdrawable * driDrawPriv, in radeonMakeCurrent() argument
587 if(driDrawPriv == NULL && driReadPriv == NULL) { in radeonMakeCurrent()
592 drfb = driDrawPriv->driverPrivate; in radeonMakeCurrent()
596 if(driDrawPriv) in radeonMakeCurrent()
597 radeon_update_renderbuffers(driContextPriv, driDrawPriv, GL_FALSE); in radeonMakeCurrent()
598 if (driDrawPriv != driReadPriv) in radeonMakeCurrent()
608 if(driDrawPriv) in radeonMakeCurrent()
609 driUpdateFramebufferSize(radeon->glCtx, driDrawPriv); in radeonMakeCurrent()
610 if (driReadPriv != driDrawPriv) in radeonMakeCurrent()
614 if (driDrawPriv == NULL && driReadPriv == NULL) in radeonMakeCurrent()
[all …]
Dradeon_screen.c593 __DRIdrawable *driDrawPriv, in radeonCreateBuffer() argument
624 rfb->color_rb[0] = radeon_create_renderbuffer(rgbFormat, driDrawPriv); in radeonCreateBuffer()
630 rfb->color_rb[1] = radeon_create_renderbuffer(rgbFormat, driDrawPriv); in radeonCreateBuffer()
638 radeon_create_renderbuffer(MESA_FORMAT_S8_Z24, driDrawPriv); in radeonCreateBuffer()
645 radeon_create_renderbuffer(MESA_FORMAT_X8_Z24, driDrawPriv); in radeonCreateBuffer()
652 radeon_create_renderbuffer(MESA_FORMAT_Z16, driDrawPriv); in radeonCreateBuffer()
664 driDrawPriv->driverPrivate = (void *) rfb; in radeonCreateBuffer()
666 return (driDrawPriv->driverPrivate != NULL); in radeonCreateBuffer()
692 radeonDestroyBuffer(__DRIdrawable *driDrawPriv) in radeonDestroyBuffer() argument
695 if (!driDrawPriv) in radeonDestroyBuffer()
[all …]
Dradeon_screen.h121 extern void radeonDestroyBuffer(__DRIdrawable *driDrawPriv);
Dradeon_common.h32 radeon_create_renderbuffer(gl_format format, __DRIdrawable *driDrawPriv);
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c560 __DRIdrawable * driDrawPriv, in radeonMakeCurrent() argument
587 if(driDrawPriv == NULL && driReadPriv == NULL) { in radeonMakeCurrent()
592 drfb = driDrawPriv->driverPrivate; in radeonMakeCurrent()
596 if(driDrawPriv) in radeonMakeCurrent()
597 radeon_update_renderbuffers(driContextPriv, driDrawPriv, GL_FALSE); in radeonMakeCurrent()
598 if (driDrawPriv != driReadPriv) in radeonMakeCurrent()
608 if(driDrawPriv) in radeonMakeCurrent()
609 driUpdateFramebufferSize(radeon->glCtx, driDrawPriv); in radeonMakeCurrent()
610 if (driReadPriv != driDrawPriv) in radeonMakeCurrent()
614 if (driDrawPriv == NULL && driReadPriv == NULL) in radeonMakeCurrent()
[all …]
Dradeon_screen.c593 __DRIdrawable *driDrawPriv, in radeonCreateBuffer() argument
624 rfb->color_rb[0] = radeon_create_renderbuffer(rgbFormat, driDrawPriv); in radeonCreateBuffer()
630 rfb->color_rb[1] = radeon_create_renderbuffer(rgbFormat, driDrawPriv); in radeonCreateBuffer()
638 radeon_create_renderbuffer(MESA_FORMAT_S8_Z24, driDrawPriv); in radeonCreateBuffer()
645 radeon_create_renderbuffer(MESA_FORMAT_X8_Z24, driDrawPriv); in radeonCreateBuffer()
652 radeon_create_renderbuffer(MESA_FORMAT_Z16, driDrawPriv); in radeonCreateBuffer()
664 driDrawPriv->driverPrivate = (void *) rfb; in radeonCreateBuffer()
666 return (driDrawPriv->driverPrivate != NULL); in radeonCreateBuffer()
692 radeonDestroyBuffer(__DRIdrawable *driDrawPriv) in radeonDestroyBuffer() argument
695 if (!driDrawPriv) in radeonDestroyBuffer()
[all …]
Dradeon_screen.h121 extern void radeonDestroyBuffer(__DRIdrawable *driDrawPriv);
Dradeon_common.h32 radeon_create_renderbuffer(gl_format format, __DRIdrawable *driDrawPriv);
Dr200_context.h639 __DRIdrawable *driDrawPriv,
Dradeon_common_context.h525 __DRIdrawable * driDrawPriv,
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast_priv.h93 dri_drawable(__DRIdrawable * driDrawPriv) in dri_drawable() argument
95 return (struct dri_drawable *)driDrawPriv->driverPrivate; in dri_drawable()
Dswrast.c836 __DRIdrawable * driDrawPriv, in dri_make_current() argument
849 if (!driDrawPriv || !driReadPriv) in dri_make_current()
852 draw = dri_drawable(driDrawPriv); in dri_make_current()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_screen.h81 __DRIdrawable * driDrawPriv,
Dintel_context.c854 __DRIdrawable * driDrawPriv, in intelMakeCurrent() argument
876 if (driDrawPriv == NULL && driReadPriv == NULL) { in intelMakeCurrent()
880 fb = driDrawPriv->driverPrivate; in intelMakeCurrent()
882 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
Dintel_screen.c653 __DRIdrawable * driDrawPriv, in intelCreateBuffer() argument
732 driDrawPriv->driverPrivate = fb; in intelCreateBuffer()
738 intelDestroyBuffer(__DRIdrawable * driDrawPriv) in intelDestroyBuffer() argument
740 struct gl_framebuffer *fb = driDrawPriv->driverPrivate; in intelDestroyBuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c854 __DRIdrawable * driDrawPriv, in intelMakeCurrent() argument
876 if (driDrawPriv == NULL && driReadPriv == NULL) { in intelMakeCurrent()
880 fb = driDrawPriv->driverPrivate; in intelMakeCurrent()
882 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
Dintel_screen.c653 __DRIdrawable * driDrawPriv, in intelCreateBuffer() argument
732 driDrawPriv->driverPrivate = fb; in intelCreateBuffer()
738 intelDestroyBuffer(__DRIdrawable * driDrawPriv) in intelDestroyBuffer() argument
740 struct gl_framebuffer *fb = driDrawPriv->driverPrivate; in intelDestroyBuffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_context.c854 __DRIdrawable * driDrawPriv, in intelMakeCurrent() argument
876 if (driDrawPriv == NULL && driReadPriv == NULL) { in intelMakeCurrent()
880 fb = driDrawPriv->driverPrivate; in intelMakeCurrent()
882 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
Dintel_screen.c653 __DRIdrawable * driDrawPriv, in intelCreateBuffer() argument
732 driDrawPriv->driverPrivate = fb; in intelCreateBuffer()
738 intelDestroyBuffer(__DRIdrawable * driDrawPriv) in intelDestroyBuffer() argument
740 struct gl_framebuffer *fb = driDrawPriv->driverPrivate; in intelDestroyBuffer()

12