Home
last modified time | relevance | path

Searched refs:driContext (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/glx/
Dapplegl_glx.c48 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()
Ddri_common_interop.c45 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()
Ddrisw_glx.c240 (*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 …]
Ddri2_glx.c123 (*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 …]
Ddri3_glx.c116 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()
Ddri_glx.c82 __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()
Ddrisw_priv.h34 __DRIcontext *driContext; member
Ddri2_priv.h62 __DRIcontext *driContext; member
Ddri3_priv.h114 __DRIcontext *driContext; member
Dglxcmds.c567 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/
Dapple_xgl_api_read.c72 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()
Dapple_xgl_api_viewport.c44 if (gc != &dummyContext && gc->driContext) in __applegl_glViewport()
45 apple_glx_context_update(dpy, gc->driContext); in __applegl_glViewport()
Dapple_xgl_api_stereo.c57 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/
Dintel_context.c109 __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 …]
Dintel_buffers.c65 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer()
82 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
Dintel_context.h242 __DRIcontext *driContext; member
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c165 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 …]
Dradeon_common.c360 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()
Dradeon_common_context.h376 __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/
Dradeon_common_context.c165 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 …]
Dradeon_common.c360 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()
Dradeon_common_context.h376 __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/
Dbrw_context.c151 __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 …]
Dintel_buffers.c45 dri2InvalidateDrawable(brw->driContext->driDrawablePriv); in intelDrawBuffer()
61 dri2InvalidateDrawable(brw->driContext->driReadablePriv); in intelReadBuffer()
Dbrw_sync.c113 __DRIcontext *driContext = brw->driContext; in brw_fence_insert_locked() local
114 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in brw_fence_insert_locked()

12