Home
last modified time | relevance | path

Searched refs:dri2 (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c331 if (!screen->dri2.loader) in radeon_prepare_render()
335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
336 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
347 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
349 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
384 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers()
386 if (screen->dri2.loader in radeon_update_renderbuffers()
387 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers()
[all …]
Dradeon_common.c550 if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) in radeonFlush()
551 && (screen->dri2.loader->flushFrontBuffer != NULL)) { in radeonFlush()
559 screen->dri2.loader->flushFrontBuffer(drawable, drawable->loaderPrivate); in radeonFlush()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c331 if (!screen->dri2.loader) in radeon_prepare_render()
335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
336 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
347 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
349 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
384 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers()
386 if (screen->dri2.loader in radeon_update_renderbuffers()
387 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers()
[all …]
Dradeon_common.c550 if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) in radeonFlush()
551 && (screen->dri2.loader->flushFrontBuffer != NULL)) { in radeonFlush()
559 screen->dri2.loader->flushFrontBuffer(drawable, drawable->loaderPrivate); in radeonFlush()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c104 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
206 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
230 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
231 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
234 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
238 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
239 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
241 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render()
421 if (!driContextPriv->driScreenPriv->dri2.useInvalidate) in intelInitContext()
641 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
[all …]
Dintel_tex_image.c291 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2()
292 !pDRICtx->driScreenPriv->dri2.useInvalidate) in intelSetTexBuffer2()
346 image = screen->dri2.image->lookupEGLImage(screen, image_handle, in intel_image_target_texture_2d()
/third_party/mesa3d/src/egl/
Dmeson.build22 inc_egl_dri2 = include_directories('drivers/dri2')
90 'drivers/dri2/egl_dri2.c',
91 'drivers/dri2/egl_dri2.h',
98 'drivers/dri2/platform_device.c',
99 'drivers/dri2/platform_surfaceless.c',
102 files_egl += files('drivers/dri2/platform_x11.c')
104 files_egl += files('drivers/dri2/platform_x11_dri3.c')
110 files_egl += files('drivers/dri2/platform_drm.c')
118 files_egl += files('drivers/dri2/platform_wayland.c')
128 files_egl += files('drivers/dri2/platform_android.c')
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c245 if (draw->lastStamp == draw->dri2.stamp) in nouveau_update_renderbuffers()
247 draw->lastStamp = draw->dri2.stamp; in nouveau_update_renderbuffers()
260 buffers = screen->dri2.loader->getBuffers(draw, &draw->w, &draw->h, in nouveau_update_renderbuffers()
325 *stamp = draw->dri2.stamp; in update_framebuffer()
347 &dri_ctx->dri2.draw_stamp); in nouveau_context_make_current()
352 &dri_ctx->dri2.read_stamp); in nouveau_context_make_current()
407 if (draw->dri2.stamp != *stamp) in validate_framebuffer()
420 &dri_ctx->dri2.draw_stamp); in nouveau_validate_framebuffer()
424 &dri_ctx->dri2.read_stamp); in nouveau_validate_framebuffer()
Dnouveau_driver.c77 const __DRIdri2LoaderExtension *dri2 = screen->dri2.loader; in nouveau_flush() local
81 dri2->flushFrontBuffer(drawable, drawable->loaderPrivate); in nouveau_flush()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c132 driScreen->dri2.backgroundCallable; in brw_set_background_context()
232 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
380 if (!brw->driContext->driScreenPriv->dri2.useInvalidate) in brw_init_driver_functions()
1224 if (driContextPriv->driScreenPriv->dri2.backgroundCallable && in brw_create_context()
1391 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in brw_make_current()
1398 driContextPriv->dri2.read_stamp = driReadPriv->dri2.stamp - 1; in brw_make_current()
1511 drawable->lastStamp = drawable->dri2.stamp; in brw_update_dri2_buffers()
1564 drawable->lastStamp = drawable->dri2.stamp; in brw_update_renderbuffers()
1589 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in brw_prepare_render()
1590 if (drawable->lastStamp != drawable->dri2.stamp) in brw_prepare_render()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.h213 } dri2; member
261 } dri2; member
317 } dri2; member
Ddri_util.c78 psp->dri2.loader = (__DRIdri2LoaderExtension *) extensions[i]; in setupLoaderExtensions()
80 psp->dri2.image = (__DRIimageLookupExtension *) extensions[i]; in setupLoaderExtensions()
82 psp->dri2.useInvalidate = (__DRIuseInvalidateExtension *) extensions[i]; in setupLoaderExtensions()
84 psp->dri2.backgroundCallable = (__DRIbackgroundCallableExtension *) extensions[i]; in setupLoaderExtensions()
704 pdraw->dri2.stamp = pdraw->lastStamp + 1; in driCreateNewDrawable()
866 drawable->dri2.stamp++; in dri2InvalidateDrawable()
/third_party/mesa3d/docs/relnotes/
D20.1.4.rst86 - dri2: dri2_make_current() fold multiple if blocks
87 - dri2: do not conflate unbind and bindContext() failure
88 - egl/dri2: try to bind old context if bindContext failed
/third_party/mesa3d/src/glx/
Dmeson.build80 # dri2
83 'dri2.c',
85 'dri2.h',
Ddri2_glx.c264 (*psc->dri2->createContextAttribs) (psc->driScreen, in dri2_create_context_attribs()
357 (*psc->dri2->createNewDrawable) (psc->driScreen, in dri2CreateDrawable()
1036 const unsigned mask = psc->dri2->getAPIMask(psc->driScreen); in dri2BindExtensions()
1199 psc->dri2 = (__DRIdri2Extension *) extensions[i]; in dri2CreateScreen()
1202 if (psc->core == NULL || psc->dri2 == NULL || psc->dri2->base.version < 3) { in dri2CreateScreen()
1207 if (psc->dri2->base.version >= 4) { in dri2CreateScreen()
1209 psc->dri2->createNewScreen2(screen, psc->fd, in dri2CreateScreen()
1216 psc->dri2->createNewScreen(screen, psc->fd, in dri2CreateScreen()
Ddri2_priv.h45 const __DRIdri2Extension *dri2; member
/third_party/mesa3d/
DCODEOWNERS59 /src/egl/drivers/dri2/platform_android.c @robh @tfiga
62 /src/egl/drivers/dri2/platform_device.c @evelikov
66 /src/egl/drivers/dri2/platform_wayland.c @daniels @eric
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.c244 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image()
259 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_validate_egl_image()
267 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image_validated()
346 const __DRIdri2LoaderExtension *dri2Loader = img->sPriv->dri2.loader; in dri2_destroy_image()
Ddri_screen.h137 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format()
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c715 { __DRI_DRI2, 2, offsetof(struct dri2_egl_display, dri2) },
905 } else if (dri2_dpy->dri2) { in dri2_setup_screen()
906 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
925 assert(dri2_dpy->image_driver || dri2_dpy->dri2 || dri2_dpy->swrast); in dri2_setup_screen()
945 (dri2_dpy->dri2 && dri2_dpy->dri2->base.version >= 3) || in dri2_setup_screen()
1072 } else if (dri2_dpy->dri2) { in dri2_create_screen()
1073 if (dri2_dpy->dri2->base.version >= 4) { in dri2_create_screen()
1075 dri2_dpy->dri2->createNewScreen2(0, dri2_dpy->fd, in dri2_create_screen()
1081 dri2_dpy->dri2->createNewScreen(0, dri2_dpy->fd, in dri2_create_screen()
1117 if (dri2_dpy->image_driver || dri2_dpy->dri2) in dri2_setup_extensions()
[all …]
Dplatform_drm.c59 if (device->dri2) { in lock_front_buffer()
750 dri2_dpy->dri2 = dri2_dpy->gbm_dri->dri2; in dri2_initialize_drm()
783 if (dri2_dpy->dri2) in dri2_initialize_drm()
/third_party/skia/infra/bots/assets/mesa_intel_driver_linux/
DREADME.md29dri2-dev x11proto-dri3-dev x11proto-present-dev libxcb1-dev libxcb-dri3-dev libxcb-present-dev lib…
/third_party/flutter/skia/infra/bots/assets/mesa_intel_driver_linux/
DREADME.md29dri2-dev x11proto-dri3-dev x11proto-present-dev libxcb1-dev libxcb-dri3-dev libxcb-present-dev lib…
/third_party/mesa3d/.gitlab-ci/container/debian/
Dx86_build-base.sh69 x11proto-dri2-dev \
Darm_build.sh31 libxcb-dri2-0-dev \

1234