Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/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()
Ddrisw_glx.c39 __DRIcontext *driContext; member
261 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context()
282 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context()
295 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context()
319 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in drisw_bind_tex_image()
325 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in drisw_bind_tex_image()
351 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in drisw_release_tex_image()
393 shared = pcp_shared->driContext; in drisw_create_context()
406 pcp->driContext = in drisw_create_context()
409 if (pcp->driContext == NULL) { in drisw_create_context()
[all …]
Ddri2_glx.c101 __DRIcontext *driContext; member
132 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context()
154 if (!(*psc->core->bindContext) (pcp->driContext, in dri2_bind_context()
177 (*psc->core->unbindContext) (pcp->driContext); in dri2_unbind_context()
199 shared = pcp_shared->driContext; in dri2_create_context()
212 pcp->driContext = in dri2_create_context()
216 if (pcp->driContext == NULL) { in dri2_create_context()
262 shared = pcp_shared->driContext; in dri2_create_context_attribs()
298 pcp->driContext = in dri2_create_context_attribs()
308 if (pcp->driContext == NULL) in dri2_create_context_attribs()
[all …]
/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()
Ddrisw_glx.c39 __DRIcontext *driContext; member
261 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context()
282 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context()
295 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context()
319 (*psc->texBuffer->setTexBuffer2) (pcp->driContext, in drisw_bind_tex_image()
325 (*psc->texBuffer->setTexBuffer) (pcp->driContext, in drisw_bind_tex_image()
351 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext, in drisw_release_tex_image()
393 shared = pcp_shared->driContext; in drisw_create_context()
406 pcp->driContext = in drisw_create_context()
409 if (pcp->driContext == NULL) { in drisw_create_context()
[all …]
Ddri2_glx.c101 __DRIcontext *driContext; member
132 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context()
154 if (!(*psc->core->bindContext) (pcp->driContext, in dri2_bind_context()
177 (*psc->core->unbindContext) (pcp->driContext); in dri2_unbind_context()
199 shared = pcp_shared->driContext; in dri2_create_context()
212 pcp->driContext = in dri2_create_context()
216 if (pcp->driContext == NULL) { in dri2_create_context()
262 shared = pcp_shared->driContext; in dri2_create_context_attribs()
298 pcp->driContext = in dri2_create_context_attribs()
308 if (pcp->driContext == NULL) in dri2_create_context_attribs()
[all …]
/external/chromium_org/third_party/mesa/src/src/glx/apple/
Dapple_xgl_api_read.c71 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead()
74 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead()
88 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in UnsetRead()
Dapple_xgl_api_viewport.c43 if (gc && gc->driContext) in __applegl_glViewport()
44 apple_glx_context_update(dpy, gc->driContext); in __applegl_glViewport()
Dapple_xgl_api_stereo.c56 if (gc && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffer()
91 if (gc && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffersARB()
/external/mesa3d/src/glx/apple/
Dapple_xgl_api_read.c71 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead()
74 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in SetRead()
88 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext, in UnsetRead()
Dapple_xgl_api_viewport.c43 if (gc && gc->driContext) in __applegl_glViewport()
44 apple_glx_context_update(dpy, gc->driContext); in __applegl_glViewport()
Dapple_xgl_api_stereo.c56 if (gc && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffer()
91 if (gc && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffersARB()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
Dintel_buffers.c99 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer()
122 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
Dintel_buffers.c99 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer()
122 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_context.c278 __DRIcontext *driContext = intel->driContext; in intel_flush_front() local
279 __DRIdrawable *driDrawable = driContext->driDrawablePriv; in intel_flush_front()
402 __DRIcontext *driContext = intel->driContext; in intel_prepare_render() local
405 drawable = driContext->driDrawablePriv; in intel_prepare_render()
406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
408 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
413 drawable = driContext->driReadablePriv; in intel_prepare_render()
414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
416 intel_update_renderbuffers(driContext, drawable); in intel_prepare_render()
[all …]
Dintel_buffers.c99 dri2InvalidateDrawable(intel->driContext->driDrawablePriv); in intelDrawBuffer()
122 dri2InvalidateDrawable(intel->driContext->driReadablePriv); in intelReadBuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c306 __DRIcontext *driContext = radeon->dri.context; in radeon_prepare_render() local
310 screen = driContext->driScreenPriv; in radeon_prepare_render()
314 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
317 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
325 drawable = driContext->driReadablePriv; in radeon_prepare_render()
326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
328 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c306 __DRIcontext *driContext = radeon->dri.context; in radeon_prepare_render() local
310 screen = driContext->driScreenPriv; in radeon_prepare_render()
314 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
317 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
325 drawable = driContext->driReadablePriv; in radeon_prepare_render()
326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
328 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c306 __DRIcontext *driContext = radeon->dri.context; in radeon_prepare_render() local
310 screen = driContext->driScreenPriv; in radeon_prepare_render()
314 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
317 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
325 drawable = driContext->driReadablePriv; in radeon_prepare_render()
326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
328 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dradeon_common_context.c306 __DRIcontext *driContext = radeon->dri.context; in radeon_prepare_render() local
310 screen = driContext->driScreenPriv; in radeon_prepare_render()
314 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
317 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
325 drawable = driContext->driReadablePriv; in radeon_prepare_render()
326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
328 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()

12