Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c330 if (!screen->dri2.loader) in radeon_prepare_render()
334 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
335 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
341 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
345 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
346 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
348 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
383 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers()
385 if (screen->dri2.loader in radeon_update_renderbuffers()
386 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c330 if (!screen->dri2.loader) in radeon_prepare_render()
334 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
335 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
341 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
345 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
346 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
348 driContext->dri2.read_stamp = drawable->dri2.stamp; in radeon_prepare_render()
383 drawable->lastStamp = drawable->dri2.stamp; in radeon_update_renderbuffers()
385 if (screen->dri2.loader in radeon_update_renderbuffers()
386 && (screen->dri2.loader->base.version > 2) in radeon_update_renderbuffers()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c102 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
204 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
228 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
229 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
232 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
236 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
237 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
239 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render()
419 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()
/external/mesa3d/src/egl/
Dmeson.build22 inc_egl_dri2 = include_directories('drivers/dri2')
89 'drivers/dri2/egl_dri2.c',
90 'drivers/dri2/egl_dri2.h',
97 'drivers/dri2/platform_device.c',
98 'drivers/dri2/platform_surfaceless.c',
101 files_egl += files('drivers/dri2/platform_x11.c')
103 files_egl += files('drivers/dri2/platform_x11_dri3.c')
109 files_egl += files('drivers/dri2/platform_drm.c')
117 files_egl += files('drivers/dri2/platform_wayland.c')
127 files_egl += files('drivers/dri2/platform_android.c')
DAndroid.mk39 drivers/dri2/platform_device.c \
40 drivers/dri2/platform_android.c \
41 drivers/dri2/platform_surfaceless.c \
50 $(MESA_TOP)/src/egl/drivers/dri2
DMakefile.sources31 drivers/dri2/egl_dri2.c \
32 drivers/dri2/egl_dri2.h
/external/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()
/external/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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c150 driScreen->dri2.backgroundCallable; in brw_set_background_context()
218 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
343 if (!brw->driContext->driScreenPriv->dri2.useInvalidate) in brw_init_driver_functions()
1171 if (driContextPriv->driScreenPriv->dri2.backgroundCallable && in brwCreateContext()
1340 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
1347 driContextPriv->dri2.read_stamp = driReadPriv->dri2.stamp - 1; in intelMakeCurrent()
1460 drawable->lastStamp = drawable->dri2.stamp; in intel_update_dri2_buffers()
1513 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
1538 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
1539 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
[all …]
/external/mesa3d/src/glx/
Ddri2_glx.c217 (*psc->dri2->createNewContext) (psc->driScreen, in dri2_create_context()
254 if (psc->dri2->base.version < 3) { in dri2_create_context_attribs()
325 (*psc->dri2->createContextAttribs) (psc->driScreen, in dri2_create_context_attribs()
418 (*psc->dri2->createNewDrawable) (psc->driScreen, in dri2CreateDrawable()
1135 if (psc->dri2->base.version >= 3) { in dri2BindExtensions()
1136 const unsigned mask = psc->dri2->getAPIMask(psc->driScreen); in dri2BindExtensions()
1171 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
1179 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
1187 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
1199 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
[all …]
Dmeson.build80 # dri2
83 'dri2.c',
85 'dri2.h',
Ddri2_priv.h45 const __DRIdri2Extension *dri2; member
/external/igt-gpu-tools/overlay/
DMakefile.am56 x11/dri2.c \
57 x11/dri2.h \
Dmeson.build50 'x11/dri2.c',
51 'x11/dri2.h',
/external/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
/external/skqp/infra/bots/assets/mesa_intel_driver_linux/mesa-driver-builder/
DDockerfile35 libxcb-dri2-0-dev \
50 x11proto-dri2-dev \
/external/mesa3d/src/gallium/frontends/dri/
DMakefile.sources14 dri2.c
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c722 { __DRI_DRI2, 2, offsetof(struct dri2_egl_display, dri2) },
912 } else if (dri2_dpy->dri2) { in dri2_setup_screen()
913 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
932 assert(dri2_dpy->image_driver || dri2_dpy->dri2 || dri2_dpy->swrast); in dri2_setup_screen()
952 (dri2_dpy->dri2 && dri2_dpy->dri2->base.version >= 3) || in dri2_setup_screen()
1079 } else if (dri2_dpy->dri2) { in dri2_create_screen()
1080 if (dri2_dpy->dri2->base.version >= 4) { in dri2_create_screen()
1082 dri2_dpy->dri2->createNewScreen2(0, dri2_dpy->fd, in dri2_create_screen()
1088 dri2_dpy->dri2->createNewScreen(0, dri2_dpy->fd, in dri2_create_screen()
1124 if (dri2_dpy->image_driver || dri2_dpy->dri2) in dri2_setup_extensions()
[all …]
/external/igt-gpu-tools/
DDockerfile.debian-minimal21 x11proto-dri2-dev
DDockerfile.debian-arm648 x11proto-dri2-dev \
DDockerfile.debian-mips8 x11proto-dri2-dev \
DDockerfile.debian-armhf8 x11proto-dri2-dev \

1234