Home
last modified time | relevance | path

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

12

/external/mesa3d/src/egl/
DMakefile.am56 dri2_backend_FILES += drivers/dri2/platform_x11.c
60 drivers/dri2/platform_x11_dri3.c \
61 drivers/dri2/platform_x11_dri3.h
73 dri2_backend_FILES += drivers/dri2/platform_wayland.c
79 dri2_backend_FILES += drivers/dri2/platform_drm.c
84 dri2_backend_FILES += drivers/dri2/platform_surfaceless.c
91 dri2_backend_FILES += drivers/dri2/platform_android.c
96 -I$(top_srcdir)/src/egl/drivers/dri2 \
DMakefile.sources32 drivers/dri2/egl_dri2.c \
33 drivers/dri2/egl_dri2.h \
34 drivers/dri2/egl_dri2_fallbacks.h
DAndroid.mk39 drivers/dri2/platform_android.c
48 $(MESA_TOP)/src/egl/drivers/dri2 \
/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 …]
Dradeon_common.c585 if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) in radeonFlush()
586 && (screen->dri2.loader->flushFrontBuffer != NULL)) { in radeonFlush()
594 screen->dri2.loader->flushFrontBuffer(drawable, drawable->loaderPrivate); in radeonFlush()
/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 …]
Dradeon_common.c585 if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) in radeonFlush()
586 && (screen->dri2.loader->flushFrontBuffer != NULL)) { in radeonFlush()
594 screen->dri2.loader->flushFrontBuffer(drawable, drawable->loaderPrivate); in radeonFlush()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c103 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
205 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
229 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
230 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
233 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
237 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
238 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
240 driContext->dri2.read_stamp = drawable->dri2.stamp; in intel_prepare_render()
416 if (!driContextPriv->driScreenPriv->dri2.useInvalidate) in intelInitContext()
651 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
[all …]
Dintel_tex_image.c297 if (dPriv->lastStamp != dPriv->dri2.stamp || in intelSetTexBuffer2()
298 !pDRICtx->driScreenPriv->dri2.useInvalidate) in intelSetTexBuffer2()
352 image = screen->dri2.image->lookupEGLImage(screen, image_handle, in intel_image_target_texture_2d()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c247 if (draw->lastStamp == draw->dri2.stamp) in nouveau_update_renderbuffers()
249 draw->lastStamp = draw->dri2.stamp; in nouveau_update_renderbuffers()
262 buffers = screen->dri2.loader->getBuffers(draw, &draw->w, &draw->h, in nouveau_update_renderbuffers()
327 *stamp = draw->dri2.stamp; in update_framebuffer()
349 &dri_ctx->dri2.draw_stamp); in nouveau_context_make_current()
354 &dri_ctx->dri2.read_stamp); in nouveau_context_make_current()
409 if (draw->dri2.stamp != *stamp) in validate_framebuffer()
422 &dri_ctx->dri2.draw_stamp); in nouveau_validate_framebuffer()
426 &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.h175 } dri2; member
219 } dri2; member
275 } dri2; member
Ddri_util.c73 psp->dri2.loader = (__DRIdri2LoaderExtension *) extensions[i];
75 psp->dri2.image = (__DRIimageLookupExtension *) extensions[i];
77 psp->dri2.useInvalidate = (__DRIuseInvalidateExtension *) extensions[i];
671 pdraw->dri2.stamp = pdraw->lastStamp + 1; in driCreateNewDrawable()
817 drawable->dri2.stamp++; in dri2InvalidateDrawable()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c367 …een)->image.loader ? (screen)->image.loader->flushFrontBuffer : (screen)->dri2.loader->flushFrontB…
436 if (!brw->driContext->driScreenPriv->dri2.useInvalidate) in brw_init_driver_functions()
1307 driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1; in intelMakeCurrent()
1314 driContextPriv->dri2.read_stamp = driReadPriv->dri2.stamp - 1; in intelMakeCurrent()
1408 drawable->lastStamp = drawable->dri2.stamp; in intel_update_dri2_buffers()
1461 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
1486 if (drawable && drawable->dri2.stamp != driContext->dri2.draw_stamp) { in intel_prepare_render()
1487 if (drawable->lastStamp != drawable->dri2.stamp) in intel_prepare_render()
1489 driContext->dri2.draw_stamp = drawable->dri2.stamp; in intel_prepare_render()
1493 if (drawable && drawable->dri2.stamp != driContext->dri2.read_stamp) { in intel_prepare_render()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c58 if (device->dri2) { in lock_front_buffer()
137 if (dri2_dpy->dri2) { in dri2_drm_create_surface()
139 dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_drm_create_surface()
203 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_drm_destroy_surface()
294 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo()
711 dri2_dpy->dri2 = dri2_dpy->gbm_dri->dri2; in dri2_initialize_drm()
741 if (dri2_dpy->dri2) in dri2_initialize_drm()
Degl_dri2.c386 { __DRI_DRI2, 2, offsetof(struct dri2_egl_display, dri2) },
619 } else if (dri2_dpy->dri2) { in dri2_setup_screen()
620 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
639 assert(dri2_dpy->image_driver || dri2_dpy->dri2 || dri2_dpy->swrast); in dri2_setup_screen()
648 (dri2_dpy->dri2 && dri2_dpy->dri2->base.version >= 3) || in dri2_setup_screen()
723 } else if (dri2_dpy->dri2) { in dri2_create_screen()
724 if (dri2_dpy->dri2->base.version >= 4) { in dri2_create_screen()
726 dri2_dpy->dri2->createNewScreen2(0, dri2_dpy->fd, in dri2_create_screen()
732 dri2_dpy->dri2->createNewScreen(0, dri2_dpy->fd, in dri2_create_screen()
759 if (dri2_dpy->image_driver || dri2_dpy->dri2) { in dri2_create_screen()
[all …]
Dplatform_wayland.c151 if (dri2_dpy->dri2) { in dri2_wl_create_window_surface()
183 if (dri2_dpy->dri2) { in dri2_wl_create_window_surface()
186 createNewDrawable = dri2_dpy->dri2->createNewDrawable; in dri2_wl_create_window_surface()
251 if (dri2_dpy->dri2) { in dri2_wl_destroy_surface()
255 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_wl_destroy_surface()
299 if (dri2_dpy->dri2) { in dri2_wl_release_buffers()
303 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_wl_release_buffers()
419 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo()
/external/mesa3d/src/glx/
Ddri2_glx.c217 (*psc->dri2->createNewContext) (psc->driScreen, in dri2_create_context()
253 if (psc->dri2->base.version < 3) { in dri2_create_context_attribs()
312 (*psc->dri2->createContextAttribs) (psc->driScreen, in dri2_create_context_attribs()
405 (*psc->dri2->createNewDrawable) (psc->driScreen, in dri2CreateDrawable()
1095 if (psc->dri2->base.version >= 3) { in dri2BindExtensions()
1096 const unsigned mask = psc->dri2->getAPIMask(psc->driScreen); in dri2BindExtensions()
1131 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
1139 if (psc->dri2->base.version >= 3 in dri2BindExtensions()
1229 psc->dri2 = (__DRIdri2Extension *) extensions[i]; in dri2CreateScreen()
1232 if (psc->core == NULL || psc->dri2 == NULL) { in dri2CreateScreen()
[all …]
Ddri2_priv.h42 const __DRIdri2Extension *dri2; member
/external/skia/infra/bots/assets/linux_vulkan_intel_driver_release/
DREADME.md7dri2-dev x11proto-dri3-dev x11proto-present-dev libxcb1-dev libxcb-dri3-dev libxcb-present-dev lib…
/external/mesa3d/src/gallium/state_trackers/dri/
DMakefile.sources12 dri2.c \
Ddri_screen.h129 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format()
/external/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c255 { __DRI_DRI2, 1, offsetof(struct gbm_dri_device, dri2) },
445 if (dri->dri2 == NULL) in dri_screen_create_dri2()
448 if (dri->dri2->base.version >= 4) { in dri_screen_create_dri2()
449 dri->screen = dri->dri2->createNewScreen2(0, dri->base.base.fd, in dri_screen_create_dri2()
454 dri->screen = dri->dri2->createNewScreen(0, dri->base.base.fd, in dri_screen_create_dri2()
961 dri->context = dri->dri2->createNewContext(dri->screen, NULL, in gbm_dri_bo_map()
Dgbm_driint.h55 const __DRIdri2Extension *dri2; member
/external/mesa3d/
DREVIEWERS103 F: src/egl/drivers/dri2/platform_android.c
108 F: src/egl/drivers/dri2/platform_wayland.c

12