/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 | 379 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context() 397 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context() 411 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context() 435 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in drisw_bind_tex_image() 441 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in drisw_bind_tex_image() 466 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in drisw_release_tex_image() 511 shared = pcp_shared->driContext; in drisw_create_context() 525 pcp->driContext = in drisw_create_context() 528 if (pcp->driContext == NULL) { in drisw_create_context() 591 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() 276 shared = pcp_shared->driContext; in dri2_create_context_attribs() 324 pcp->driContext = in dri2_create_context_attribs() 334 if (pcp->driContext == NULL) in dri2_create_context_attribs() 530 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() 272 shared = pcp_shared->driContext; in dri3_create_context_attribs() 315 pcp->driContext = in dri3_create_context_attribs() 326 if (pcp->driContext == NULL) in dri3_create_context_attribs() 689 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in dri3_bind_tex_image() 710 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in dri3_release_tex_image()
|
D | dri_glx.c | 83 __DRIcontext *driContext; member 506 (*psc->core->destroyContext) (pcp->driContext); in dri_destroy_context() 528 if ((*psc->core->bindContext) (pcp->driContext, in dri_bind_context() 541 (*psc->core->unbindContext) (pcp->driContext); in dri_unbind_context() 583 shared = pcp_shared->driContext; in dri_create_context() 604 pcp->driContext = in dri_create_context() 608 if (pcp->driContext == NULL) { in dri_create_context()
|
D | drisw_priv.h | 39 __DRIcontext *driContext; member
|
D | dri2_priv.h | 66 __DRIcontext *driContext; member
|
D | dri3_priv.h | 114 __DRIcontext *driContext; member
|
D | glxcmds.c | 606 if(apple_glx_copy_context(gc->driContext, source->driContext, dest->driContext, in glXCopyContext() 823 if(gc != &dummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { in glXSwapBuffers() 824 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 | 108 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local 109 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front() 224 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local 227 drawable = driContext->driDrawablePriv; in intel_prepare_render() 228 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 230 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render() 232 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 235 drawable = driContext->driReadablePriv; in intel_prepare_render() 236 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 238 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 | 240 __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 | 332 radeon_update_renderbuffers(radeon->driContext, in radeonDrawBuffer() 333 radeon->driContext->driDrawablePriv, in radeonDrawBuffer() 344 radeon_update_renderbuffers(rmesa->driContext, in radeonReadBuffer() 345 rmesa->driContext->driReadablePriv, GL_FALSE); in radeonReadBuffer() 367 __DRIcontext *driContext = radeon->driContext; in radeon_viewport() local 374 radeon_update_renderbuffers(driContext, driContext->driDrawablePriv, GL_FALSE); in radeon_viewport() 375 if (driContext->driDrawablePriv != driContext->driReadablePriv) in radeon_viewport() 376 radeon_update_renderbuffers(driContext, driContext->driReadablePriv, GL_FALSE); in radeon_viewport()
|
D | radeon_common_context.h | 376 __DRIcontext *driContext; /* DRI context */ member 474 return radeon->driContext->driDrawablePriv; in radeon_get_drawable() 479 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 | 332 radeon_update_renderbuffers(radeon->driContext, in radeonDrawBuffer() 333 radeon->driContext->driDrawablePriv, in radeonDrawBuffer() 344 radeon_update_renderbuffers(rmesa->driContext, in radeonReadBuffer() 345 rmesa->driContext->driReadablePriv, GL_FALSE); in radeonReadBuffer() 367 __DRIcontext *driContext = radeon->driContext; in radeon_viewport() local 374 radeon_update_renderbuffers(driContext, driContext->driDrawablePriv, GL_FALSE); in radeon_viewport() 375 if (driContext->driDrawablePriv != driContext->driReadablePriv) in radeon_viewport() 376 radeon_update_renderbuffers(driContext, driContext->driReadablePriv, GL_FALSE); in radeon_viewport()
|
D | radeon_common_context.h | 376 __DRIcontext *driContext; /* DRI context */ member 474 return radeon->driContext->driDrawablePriv; in radeon_get_drawable() 479 return radeon->driContext->driReadablePriv; in radeon_get_readable()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 147 __DRIcontext *driContext = brw->driContext; in brw_set_background_context() local 148 __DRIscreen *driScreen = driContext->driScreenPriv; in brw_set_background_context() 157 backgroundCallable->setBackgroundContext(driContext->loaderPrivate); in brw_set_background_context() 164 __DRIcontext *driContext = brw->driContext; in intel_viewport() local 167 if (driContext->driDrawablePriv) in intel_viewport() 168 dri2InvalidateDrawable(driContext->driDrawablePriv); in intel_viewport() 169 if (driContext->driReadablePriv) in intel_viewport() 170 dri2InvalidateDrawable(driContext->driReadablePriv); in intel_viewport() 224 __DRIcontext *driContext = brw->driContext; in intel_flush_front() local 225 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front() [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()
|