/third_party/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() 146 gc->driContext = NULL; in applegl_create_context() 149 if(apple_glx_create_context(&gc->driContext, dpy, screen, config, in applegl_create_context() 150 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 | 391 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context() 409 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context() 423 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context() 455 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in drisw_bind_tex_image() 461 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in drisw_bind_tex_image() 484 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in drisw_release_tex_image() 540 shared = pcp_shared->driContext; in drisw_create_context_attribs() 575 pcp->driContext = in drisw_create_context_attribs() 584 if (pcp->driContext == NULL) { in drisw_create_context_attribs()
|
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() 266 shared = pcp_shared->driContext; in dri3_create_context_attribs() 311 pcp->driContext = in dri3_create_context_attribs() 322 if (pcp->driContext == NULL) in dri3_create_context_attribs() 680 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in dri3_bind_tex_image() 700 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in dri3_release_tex_image()
|
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() 215 shared = pcp_shared->driContext; in dri2_create_context_attribs() 263 pcp->driContext = in dri2_create_context_attribs() 273 if (pcp->driContext == NULL) in dri2_create_context_attribs() 469 return (gc != &dummyContext) ? dri2Ctx->driContext : NULL; in dri2GetCurrentContext() 987 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in dri2_bind_tex_image() 993 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in dri2_bind_tex_image() 1013 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in dri2_release_tex_image()
|
D | drisw_priv.h | 39 __DRIcontext *driContext; member
|
D | dri2_priv.h | 66 __DRIcontext *driContext; member
|
D | dri3_priv.h | 124 __DRIcontext *driContext; member
|
D | glxcmds.c | 633 if(apple_glx_copy_context(gc->driContext, source->driContext, dest->driContext, in glXCopyContext() 835 if(gc != &dummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { in glXSwapBuffers() 836 apple_glx_swap_buffers(gc->driContext); in glXSwapBuffers()
|
D | glxclient.h | 343 void *driContext; member
|
/third_party/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()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_buffers.c | 45 if (brw->driContext->driDrawablePriv) in brw_drawbuffer() 46 dri2InvalidateDrawable(brw->driContext->driDrawablePriv); in brw_drawbuffer() 62 if (brw->driContext->driDrawablePriv) in brw_readbuffer() 63 dri2InvalidateDrawable(brw->driContext->driReadablePriv); in brw_readbuffer()
|
D | brw_context.c | 129 __DRIcontext *driContext = brw->driContext; in brw_set_background_context() local 130 __DRIscreen *driScreen = driContext->driScreenPriv; in brw_set_background_context() 139 backgroundCallable->setBackgroundContext(driContext->loaderPrivate); in brw_set_background_context() 180 __DRIcontext *driContext = brw->driContext; in brw_viewport() local 183 if (driContext->driDrawablePriv) in brw_viewport() 184 dri2InvalidateDrawable(driContext->driDrawablePriv); in brw_viewport() 185 if (driContext->driReadablePriv) in brw_viewport() 186 dri2InvalidateDrawable(driContext->driReadablePriv); in brw_viewport() 238 __DRIcontext *driContext = brw->driContext; in brw_flush_front() local 239 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in brw_flush_front() [all …]
|
D | brw_sync.c | 200 __DRIcontext *driContext = brw->driContext; in brw_fence_insert_locked() local 201 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in brw_fence_insert_locked()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_buffers.c | 65 if (intel->driContext->driDrawablePriv) in intelDrawBuffer() 66 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer() 83 if (intel->driContext->driReadablePriv) in intelReadBuffer() 84 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
|
D | intel_context.c | 110 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local 111 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front() 226 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local 229 drawable = driContext->driDrawablePriv; in intel_prepare_render() 230 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 232 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render() 234 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 237 drawable = driContext->driReadablePriv; in intel_prepare_render() 238 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 240 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render() [all …]
|
D | intel_context.h | 240 __DRIcontext *driContext; member
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 166 radeon->driContext = driContextPriv; in radeonInitContext() 326 __DRIcontext *driContext = radeon->driContext; in radeon_prepare_render() local 330 screen = driContext->driScreenPriv; in radeon_prepare_render() 334 drawable = driContext->driDrawablePriv; in radeon_prepare_render() 335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 337 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() 342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 345 drawable = driContext->driReadablePriv; in radeon_prepare_render() 346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 348 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()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 166 radeon->driContext = driContextPriv; in radeonInitContext() 326 __DRIcontext *driContext = radeon->driContext; in radeon_prepare_render() local 330 screen = driContext->driScreenPriv; in radeon_prepare_render() 334 drawable = driContext->driDrawablePriv; in radeon_prepare_render() 335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 337 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render() 342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 345 drawable = driContext->driReadablePriv; in radeon_prepare_render() 346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 348 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()
|