/external/mesa3d/src/glx/ |
D | applegl_glx.c | 48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); in applegl_destroy_context() 57 (old && old != &dummyContext) ? old->driContext : NULL, in applegl_bind_context() 58 gc ? gc->driContext : NULL, draw); in applegl_bind_context() 86 (gc != &dummyContext) ? gc->driContext : NULL, in applegl_unbind_context() 102 apple_glx_waitx(dpy, gc->driContext); in applegl_wait_x() 147 gc->driContext = NULL; in applegl_create_context() 150 if(apple_glx_create_context(&gc->driContext, dpy, screen, config, in applegl_create_context() 151 shareList ? shareList->driContext : NULL, in applegl_create_context()
|
D | dri_common_interop.c | 45 return psc->interop->query_device_info(drictx->driContext, out); in dri2_interop_query_device_info() 59 return psc->interop->export_object(drictx->driContext, in, out); in dri2_interop_export_object() 74 return psc->interop->query_device_info(drictx->driContext, out); in dri3_interop_query_device_info() 88 return psc->interop->export_object(drictx->driContext, in, out); in dri3_interop_export_object()
|
D | drisw_glx.c | 240 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context() 258 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context() 272 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context() 296 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in drisw_bind_tex_image() 302 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in drisw_bind_tex_image() 327 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in drisw_release_tex_image() 372 shared = pcp_shared->driContext; in drisw_create_context() 386 pcp->driContext = in drisw_create_context() 389 if (pcp->driContext == NULL) { in drisw_create_context() 449 shared = pcp_shared->driContext; in drisw_create_context_attribs() [all …]
|
D | dri2_glx.c | 123 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context() 154 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read)) in dri2_bind_context() 176 (*psc->core->unbindContext) (pcp->driContext); in dri2_unbind_context() 202 shared = pcp_shared->driContext; in dri2_create_context() 216 pcp->driContext = in dri2_create_context() 220 if (pcp->driContext == NULL) { in dri2_create_context() 272 shared = pcp_shared->driContext; in dri2_create_context_attribs() 317 pcp->driContext = in dri2_create_context_attribs() 327 if (pcp->driContext == NULL) in dri2_create_context_attribs() 523 return (gc != &dummyContext) ? dri2Ctx->driContext : NULL; in dri2GetCurrentContext() [all …]
|
D | dri3_glx.c | 116 return (gc != &dummyContext) ? dri3Ctx->driContext : NULL; in glx_dri3_get_dri_context() 181 (*psc->core->destroyContext) (pcp->driContext); in dri3_destroy_context() 210 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read)) in dri3_bind_context() 227 (*psc->core->unbindContext) (pcp->driContext); in dri3_unbind_context() 268 shared = pcp_shared->driContext; in dri3_create_context_attribs() 308 pcp->driContext = in dri3_create_context_attribs() 319 if (pcp->driContext == NULL) in dri3_create_context_attribs() 669 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in dri3_bind_tex_image() 690 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in dri3_release_tex_image()
|
D | dri_glx.c | 82 __DRIcontext *driContext; member 614 (*psc->core->destroyContext) (pcp->driContext); in dri_destroy_context() 636 if ((*psc->core->bindContext) (pcp->driContext, in dri_bind_context() 649 (*psc->core->unbindContext) (pcp->driContext); in dri_unbind_context() 691 shared = pcp_shared->driContext; in dri_create_context() 712 pcp->driContext = in dri_create_context() 716 if (pcp->driContext == NULL) { in dri_create_context()
|
D | drisw_priv.h | 34 __DRIcontext *driContext; member
|
D | dri2_priv.h | 62 __DRIcontext *driContext; member
|
D | dri3_priv.h | 114 __DRIcontext *driContext; member
|
D | glxcmds.c | 567 if(apple_glx_copy_context(gc->driContext, source->driContext, dest->driContext, in glXCopyContext() 820 if(gc != &dummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { in glXSwapBuffers() 821 apple_glx_swap_buffers(gc->driContext); in glXSwapBuffers()
|
/external/mesa3d/src/glx/apple/ |
D | apple_xgl_api_read.c | 72 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead() 75 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead() 89 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in UnsetRead()
|
D | apple_xgl_api_viewport.c | 44 if (gc != &dummyContext && gc->driContext) in __applegl_glViewport() 45 apple_glx_context_update(dpy, gc->driContext); in __applegl_glViewport()
|
D | apple_xgl_api_stereo.c | 57 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffer() 92 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffers()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_context.c | 109 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local 110 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front() 225 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local 228 drawable = driContext->driDrawablePriv; in intel_prepare_render() 229 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 231 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render() 233 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 236 drawable = driContext->driReadablePriv; in intel_prepare_render() 237 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 239 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render() [all …]
|
D | intel_buffers.c | 65 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer() 82 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
|
D | intel_context.h | 242 __DRIcontext *driContext; member
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 165 radeon->driContext = driContextPriv; in radeonInitContext() 325 __DRIcontext *driContext = radeon->driContext; in radeon_prepare_render() local 329 screen = driContext->driScreenPriv; in radeon_prepare_render() 333 drawable = driContext->driDrawablePriv; in radeon_prepare_render() 334 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 336 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() 341 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 344 drawable = driContext->driReadablePriv; in radeon_prepare_render() 345 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 347 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() [all …]
|
D | radeon_common.c | 360 radeon_update_renderbuffers(radeon->driContext, in radeonDrawBuffer() 361 radeon->driContext->driDrawablePriv, GL_FALSE); in radeonDrawBuffer() 377 radeon_update_renderbuffers(rmesa->driContext, in radeonReadBuffer() 378 rmesa->driContext->driReadablePriv, GL_FALSE); in radeonReadBuffer() 401 __DRIcontext *driContext = radeon->driContext; in radeon_viewport() local 408 radeon_update_renderbuffers(driContext, driContext->driDrawablePriv, GL_FALSE); in radeon_viewport() 409 if (driContext->driDrawablePriv != driContext->driReadablePriv) in radeon_viewport() 410 radeon_update_renderbuffers(driContext, driContext->driReadablePriv, GL_FALSE); in radeon_viewport()
|
D | radeon_common_context.h | 376 __DRIcontext *driContext; /* DRI context */ member 491 return radeon->driContext->driDrawablePriv; in radeon_get_drawable() 496 return radeon->driContext->driReadablePriv; in radeon_get_readable()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 165 radeon->driContext = driContextPriv; in radeonInitContext() 325 __DRIcontext *driContext = radeon->driContext; in radeon_prepare_render() local 329 screen = driContext->driScreenPriv; in radeon_prepare_render() 333 drawable = driContext->driDrawablePriv; in radeon_prepare_render() 334 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 336 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() 341 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 344 drawable = driContext->driReadablePriv; in radeon_prepare_render() 345 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 347 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() [all …]
|
D | radeon_common.c | 360 radeon_update_renderbuffers(radeon->driContext, in radeonDrawBuffer() 361 radeon->driContext->driDrawablePriv, GL_FALSE); in radeonDrawBuffer() 377 radeon_update_renderbuffers(rmesa->driContext, in radeonReadBuffer() 378 rmesa->driContext->driReadablePriv, GL_FALSE); in radeonReadBuffer() 401 __DRIcontext *driContext = radeon->driContext; in radeon_viewport() local 408 radeon_update_renderbuffers(driContext, driContext->driDrawablePriv, GL_FALSE); in radeon_viewport() 409 if (driContext->driDrawablePriv != driContext->driReadablePriv) in radeon_viewport() 410 radeon_update_renderbuffers(driContext, driContext->driReadablePriv, GL_FALSE); in radeon_viewport()
|
D | radeon_common_context.h | 376 __DRIcontext *driContext; /* DRI context */ member 491 return radeon->driContext->driDrawablePriv; in radeon_get_drawable() 496 return radeon->driContext->driReadablePriv; in radeon_get_readable()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 151 __DRIcontext *driContext = brw->driContext; in intel_viewport() local 154 if (driContext->driDrawablePriv) in intel_viewport() 155 dri2InvalidateDrawable(driContext->driDrawablePriv); in intel_viewport() 156 if (driContext->driReadablePriv) in intel_viewport() 157 dri2InvalidateDrawable(driContext->driReadablePriv); in intel_viewport() 211 __DRIcontext *driContext = brw->driContext; in intel_flush_front() local 212 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front() 276 if (!brw->driContext->driScreenPriv->dri2.useInvalidate) in brw_init_driver_functions() 768 brw->driContext->driScreenPriv->myNum, "i965"); in brw_process_driconf_options() 890 brw->driContext = driContextPriv; in brwCreateContext() [all …]
|
D | intel_buffers.c | 45 dri2InvalidateDrawable(brw->driContext->driDrawablePriv); in intelDrawBuffer() 61 dri2InvalidateDrawable(brw->driContext->driReadablePriv); in intelReadBuffer()
|
D | brw_sync.c | 113 __DRIcontext *driContext = brw->driContext; in brw_fence_insert_locked() local 114 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in brw_fence_insert_locked()
|