/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 311 if (!screen->dri2.loader) in radeon_prepare_render() 315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 316 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render() 322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 327 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render() 329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render() 364 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers() 366 if (screen->dri2.loader in radeon_update_renderbuffers() 367 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers() [all …]
|
D | radeon_common.c | 613 if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) in radeonFlush() 614 && (screen->dri2.loader->flushFrontBuffer != NULL)) { in radeonFlush() 622 (*screen->dri2.loader->flushFrontBuffer)(drawable, drawable->loaderPrivate); in radeonFlush()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 311 if (!screen->dri2.loader) in radeon_prepare_render() 315 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render() 316 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render() 322 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render() 326 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render() 327 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render() 329 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render() 364 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers() 366 if (screen->dri2.loader in radeon_update_renderbuffers() 367 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_context.c | 283 if (screen->dri2.loader->flushFrontBuffer != NULL && in intel_flush_front() 296 screen->dri2.loader->flushFrontBuffer(driDrawable, in intel_flush_front() 350 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers() 406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 407 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 415 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 417 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render() 600 if (!driContextPriv->driScreenPriv->dri2.useInvalidate) { in intelInitContext() [all …]
|
D | intel_tex_image.c | 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 289 !pDRICtx->driScreenPriv->dri2.useInvalidate) in intelSetTexBuffer2() 341 image = screen->dri2.image->lookupEGLImage(screen, image_handle, in intel_image_target_texture_2d()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_context.c | 283 if (screen->dri2.loader->flushFrontBuffer != NULL && in intel_flush_front() 296 screen->dri2.loader->flushFrontBuffer(driDrawable, in intel_flush_front() 350 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers() 406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 407 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 415 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 417 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render() 600 if (!driContextPriv->driScreenPriv->dri2.useInvalidate) { in intelInitContext() [all …]
|
D | intel_tex_image.c | 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 289 !pDRICtx->driScreenPriv->dri2.useInvalidate) in intelSetTexBuffer2() 341 image = screen->dri2.image->lookupEGLImage(screen, image_handle, in intel_image_target_texture_2d()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_context.c | 283 if (screen->dri2.loader->flushFrontBuffer != NULL && in intel_flush_front() 296 screen->dri2.loader->flushFrontBuffer(driDrawable, in intel_flush_front() 350 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers() 406 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render() 407 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 410 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render() 414 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render() 415 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render() 417 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render() 600 if (!driContextPriv->driScreenPriv->dri2.useInvalidate) { in intelInitContext() [all …]
|
D | intel_tex_image.c | 288 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2() 289 !pDRICtx->driScreenPriv->dri2.useInvalidate) in intelSetTexBuffer2() 341 image = screen->dri2.image->lookupEGLImage(screen, image_handle, in intel_image_target_texture_2d()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.c | 255 if (draw->lastStamp == draw->dri2.stamp) in nouveau_update_renderbuffers() 257 draw->lastStamp = draw->dri2.stamp; in nouveau_update_renderbuffers() 270 buffers = (*screen->dri2.loader->getBuffers)(draw, &draw->w, &draw->h, in nouveau_update_renderbuffers() 335 *stamp = draw->dri2.stamp; in update_framebuffer() 357 &dri_ctx->dri2.draw_stamp); in nouveau_context_make_current() 362 &dri_ctx->dri2.read_stamp); in nouveau_context_make_current() 417 if (draw->dri2.stamp != *stamp) in validate_framebuffer() 430 &dri_ctx->dri2.draw_stamp); in nouveau_validate_framebuffer() 434 &dri_ctx->dri2.read_stamp); in nouveau_validate_framebuffer()
|
D | nouveau_driver.c | 69 __DRIdri2LoaderExtension *dri2 = screen->dri2.loader; in nouveau_flush() local 72 dri2->flushFrontBuffer(drawable, drawable->loaderPrivate); in nouveau_flush()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.h | 164 } dri2; member 204 } dri2; member 260 } dri2; member
|
D | dri_util.c | 70 psp->dri2.loader = (__DRIdri2LoaderExtension *) extensions[i]; in setupLoaderExtensions() 72 psp->dri2.image = (__DRIimageLookupExtension *) extensions[i]; in setupLoaderExtensions() 74 psp->dri2.useInvalidate = (__DRIuseInvalidateExtension *) extensions[i]; in setupLoaderExtensions() 496 pdraw->dri2.stamp = pdraw->lastStamp + 1; in dri2CreateNewDrawable() 605 drawable->dri2.stamp++; in dri2InvalidateDrawable()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_wayland.c | 170 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface() 225 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface() 229 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface() 280 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in dri2_process_back_buffer() 301 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_pending_buffer() 322 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_buffers() 342 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_buffers() 368 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in destroy_third_buffer() 464 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in dri2_get_buffers_with_format()
|
D | egl_dri2.c | 311 { __DRI_DRI2, 2, offsetof(struct dri2_egl_display, dri2) }, 466 if (dri2_dpy->dri2) { in dri2_setup_screen() 467 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen() 481 assert(dri2_dpy->dri2 || dri2_dpy->swrast); in dri2_setup_screen() 484 if (dri2_dpy->dri2 && dri2_dpy->dri2->base.version >= 3) { in dri2_setup_screen() 506 if (dri2_dpy->dri2) { in dri2_create_screen() 508 dri2_dpy->dri2->createNewScreen(0, dri2_dpy->fd, dri2_dpy->extensions, in dri2_create_screen() 526 if (dri2_dpy->dri2) { in dri2_create_screen() 784 if (dri2_dpy->dri2) { in dri2_create_context() 785 if (dri2_dpy->dri2->base.version >= 3) { in dri2_create_context() [all …]
|
D | platform_drm.c | 124 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface() 169 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface() 228 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo() 444 dri2_dpy->dri2 = dri2_dpy->gbm_dri->dri2; in dri2_initialize_drm()
|
/external/mesa3d/src/glx/ |
D | dri2_glx.c | 83 const __DRIdri2Extension *dri2; member 213 (*psc->dri2->createNewContext) (psc->driScreen, in dri2_create_context() 248 if (psc->dri2->base.version < 3) { in dri2_create_context_attribs() 299 (*psc->dri2->createContextAttribs) (psc->driScreen, in dri2_create_context_attribs() 392 (*psc->dri2->createNewDrawable) (psc->driScreen, in dri2CreateDrawable() 976 if (psc->dri2->base.version >= 3) { in dri2BindExtensions() 977 const unsigned mask = psc->dri2->getAPIMask(psc->driScreen); in dri2BindExtensions() 1007 if (psc->dri2->base.version >= 3 in dri2BindExtensions() 1069 psc->dri2 = (__DRIdri2Extension *) extensions[i]; in dri2CreateScreen() 1072 if (psc->core == NULL || psc->dri2 == NULL) { in dri2CreateScreen() [all …]
|
/external/mesa3d/src/egl/drivers/ |
D | Makefile.am | 29 SUBDIRS += dri2 subdir
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | SConscript | 21 'dri2.c',
|
D | dri2.c | 68 drawable->dPriv->lastStamp = drawable->dPriv->dri2.stamp; in dri2_invalidate_drawable() 88 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers() 399 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_flush_frontbuffer() 420 __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image() 818 screen->broken_invalidate = !sPriv->dri2.useInvalidate; in dri2_init_screen()
|
D | Makefile | 20 dri2.c
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_driint.h | 49 __DRIdri2Extension *dri2; member
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_screen.h | 99 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format()
|
/external/mesa3d/ |
D | Android.mk | 83 src/egl/drivers/dri2 \
|
/external/mesa3d/src/gallium/state_trackers/egl/ |
D | SConscript | 43 sources.append(['#/src/glx/dri2.c'])
|