Home
last modified time | relevance | path

Searched full:dri (Results 1 – 25 of 770) sorted by relevance

12345678910>>...31

/aosp_15_r20/external/minigbm/
H A Ddri.c20 #include "dri.h"
89 * The DRI GEM namespace may be different from the minigbm's driver GEM namespace. We have
92 static int import_into_minigbm(struct dri_driver *dri, struct bo *bo) in import_into_minigbm() argument
99 if (dri->image_extension->queryImage(bo->priv, __DRI_IMAGE_ATTRIB_MODIFIER_UPPER, in import_into_minigbm()
101 dri->image_extension->queryImage(bo->priv, __DRI_IMAGE_ATTRIB_MODIFIER_LOWER, in import_into_minigbm()
108 if (!dri->image_extension->queryImage(bo->priv, __DRI_IMAGE_ATTRIB_NUM_PLANES, &num_planes)) in import_into_minigbm()
113 if (!dri->image_extension->queryImage(bo->priv, __DRI_IMAGE_ATTRIB_FD, &prime_fd)) in import_into_minigbm()
136 plane_image = dri->image_extension->fromPlanar(bo->priv, i, NULL); in import_into_minigbm()
139 if (!dri->image_extension->queryImage(image, __DRI_IMAGE_ATTRIB_STRIDE, &stride) || in import_into_minigbm()
140 !dri->image_extension->queryImage(image, __DRI_IMAGE_ATTRIB_OFFSET, &offset)) { in import_into_minigbm()
[all …]
H A Damdgpu.c22 #include "dri.h"
32 /* We decide a modifier and then use DRI to manage allocation */
34 /* DRI backend decides tiling in this case. */
44 struct dri_driver *dri; member
390 priv->dri = dri_init(drv, DRI_PATH, "radeonsi"); in amdgpu_init()
391 if (!priv->dri) { in amdgpu_init()
448 * The following formats will be allocated by the DRI backend and may be potentially tiled. in amdgpu_init()
466 if (dri_query_modifiers(priv->dri, format, 0, NULL, &mod_cnt) && mod_cnt) { in amdgpu_init()
468 dri_query_modifiers(priv->dri, format, mod_cnt, modifiers, &mod_cnt); in amdgpu_init()
479 if (dri_num_planes_from_modifier(priv->dri, format, modifiers[i]) != in amdgpu_init()
[all …]
H A Ddri.h17 void dri_close(struct dri_driver *dri);
19 int dri_bo_create(struct dri_driver *dri, struct bo *bo, uint32_t width, uint32_t height,
21 int dri_bo_create_with_modifiers(struct dri_driver *dri, struct bo *bo, uint32_t width,
24 int dri_bo_import(struct dri_driver *dri, struct bo *bo, struct drv_import_fd_data *data);
25 int dri_bo_release(struct dri_driver *dri, struct bo *bo);
26 int dri_bo_destroy(struct dri_driver *dri, struct bo *bo);
27 void *dri_bo_map(struct dri_driver *dri, struct bo *bo, struct vma *vma, size_t plane,
29 int dri_bo_unmap(struct dri_driver *dri, struct bo *bo, struct vma *vma);
31 size_t dri_num_planes_from_modifier(struct dri_driver *dri, uint32_t format, uint64_t modifier);
32 bool dri_query_modifiers(struct dri_driver *dri, uint32_t format, int max, uint64_t *modifiers,
/aosp_15_r20/external/mesa3d/src/gbm/backends/dri/
H A Dgbm_dri.c68 struct gbm_dri_device *dri = data; in dri_validate_egl_image() local
70 if (dri->validate_image == NULL) in dri_validate_egl_image()
73 return dri->validate_image(image, dri->lookup_user_data); in dri_validate_egl_image()
79 struct gbm_dri_device *dri = data; in dri_lookup_egl_image_validated() local
81 if (dri->lookup_image_validated == NULL) in dri_lookup_egl_image_validated()
84 return dri->lookup_image_validated(image, dri->lookup_user_data); in dri_lookup_egl_image_validated()
91 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_flush_front_buffer() local
93 if (dri->flush_front_buffer != NULL) in dri_flush_front_buffer()
94 dri->flush_front_buffer(driDrawable, surf->dri_private); in dri_flush_front_buffer()
120 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in image_get_buffers() local
[all …]
/aosp_15_r20/external/mesa3d/docs/
H A Dfaq.rst23 DRI drivers for X.org.
25 - See the `DRI website <https://dri.freedesktop.org/>`__ for more
42 - Mesa is used as the core of the open-source X.org DRI hardware
57 1.4 What's the difference between "Stand-Alone" Mesa and the DRI drivers?
73 drivers within the DRI (Direct Rendering Infrastructure):
81 the DRI, this module is basically a software Mesa renderer.
83 1.5 How do I upgrade my DRI installation to use a new Mesa release?
86 This wasn't easy in the past. Now, the DRI drivers are included in the
181 ``--libdir``, and ``-D dri-drivers-path``. To install Mesa into the
185 ``/usr/lib64``. Set ``-D dri-drivers-path`` to the directory where your
[all …]
H A Dlists.rst4 These are the primary Mesa 3D / DRI mailing lists:
7 - intended for end-users of Mesa and DRI drivers. Newbie questions
8 are OK, but please try the general OpenGL resources and Mesa/DRI
12 - for Mesa, Gallium and DRI development discussion. Not for
23 - `dri-devel <https://lists.freedesktop.org/mailman/listinfo/dri-devel>`__
49 join `#dri-devel channel <irc://irc.oftc.net/dri-devel>`__ on
H A DlibGL.txt32 When libGL.so initializes itself it uses the DRI to determine the
34 The hardware drivers are expected to be in the /usr/X11R6/lib/modules/dri/
39 different DRI modules directory, overriding /usr/X11R6/lib/modules/dri/.
54 DRI drivers may not be. Please consult the documentation for a driver
97 call is made to driCreateDisplay(). This function uses DRI facilities
118 The register_extensions() function in xc/lib/GL/dri/dri_glx.c is called
123 the DRI driver for each, and calls the driver's __driRegisterExtensions()
/aosp_15_r20/external/llvm/lib/Object/
H A DMachOObjectFile.cpp95 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
96 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
461 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
462 uint32_t Flags = getSectionFlags(this, DRI); in getSectionType()
499 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
500 uint32_t flags = getSymbolFlags(DRI); in getSymbolAlignment()
502 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolAlignment()
508 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
509 return getNValue(DRI); in getCommonSymbolSizeImpl()
536 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Object/
H A DTapiFile.cpp76 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext()
78 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
79 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in printSymbolName()
80 const Symbol &Sym = Symbols[DRI.d.a]; in printSymbolName()
85 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
86 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in getSymbolFlags()
87 return Symbols[DRI.d.a].Flags; in getSymbolFlags()
91 DataRefImpl DRI; in symbol_begin() local
92 DRI.d.a = 0; in symbol_begin()
93 return BasicSymbolRef{DRI, this}; in symbol_begin()
[all …]
H A DMachOObjectFile.cpp117 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
118 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1783 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1784 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1821 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1822 uint32_t Flags = cantFail(getSymbolFlags(DRI)); in getSymbolAlignment()
1824 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1830 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1831 return getNValue(DRI); in getCommonSymbolSizeImpl()
1860 Expected<uint32_t> MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DTapiFile.cpp78 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { in moveSymbolNext()
79 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in moveSymbolNext()
80 DRI.p = reinterpret_cast<uintptr_t>(++Sym); in moveSymbolNext()
83 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
84 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in printSymbolName()
89 uint32_t TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
90 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in getSymbolFlags()
95 DataRefImpl DRI; in symbol_begin() local
96 DRI.p = reinterpret_cast<uintptr_t>(&*Symbols.begin()); in symbol_begin()
97 return BasicSymbolRef{DRI, this}; in symbol_begin()
[all …]
H A DMachOObjectFile.cpp114 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
115 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1768 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1769 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1806 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1807 uint32_t flags = getSymbolFlags(DRI); in getSymbolAlignment()
1809 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1815 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1816 return getNValue(DRI); in getCommonSymbolSizeImpl()
1843 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
[all …]
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D7.10.rst13 prerequisites for DRI hardware acceleration.
37 - Support for Sandybridge chipset in i965 DRI driver.
187 - dri/nv04: Don't expose ARB_texture_env_combine/dot3.
188 - dri/nv04: Enable eng3dm for A8/L8 textures.
253 - configs: remove egl-swrast target from linux-dri config
409 - dri/util: add a bunch of comments
628 - st/dri: Add support for surfaceless current contexts.
1291 - mesa: Include C++ files in the makedepend of DRI drivers.
1418 - dri/nv04: Fix PGRAPH_ERRORs when running OA.
1419 - dri/nv04: Mipmapping fixes.
[all …]
H A D6.5.2.rst25 - New DRI memory manager system. Currently used by the i915tex driver.
26 Other DRI drivers will be updated to use the new memory manager in
42 - New Intel i965 DRI driver
61 - fixed problems with freebsd-dri configuration (bug 8344)
68 - RGBA logicops didn't work reliably in some DRI drivers
69 - Fixed broken RGBA LogicOps in Intel DRI drivers
70 - Fixed some fragment program bugs in Intel i915 DRI driver
101 DRI drivers varies with the driver
/aosp_15_r20/frameworks/base/core/java/com/android/internal/app/
H A DResolverListAdapter.java508 dri = new DisplayResolveInfo(intent, add,
510 dri.setPinned(rci.isPinned());
514 addResolveInfo(dri);
520 dri.addAlternateSourceIntent(altIntent);
541 private void addResolveInfo(DisplayResolveInfo dri) {
542 if (dri != null && dri.getResolveInfo() != null
543 && dri.getResolveInfo().targetUserId == UserHandle.USER_CURRENT) {
544 if (shouldAddResolveInfo(dri)) {
545 mDisplayList.add(dri);
546 Log.i(TAG, "Add DisplayResolveInfo component: " + dri.getResolvedComponentName()
[all …]
H A DChooserTargetActionsDialogFragment.java136 List<Pair<Drawable, CharSequence>> items = mTargetInfos.stream().map(dri -> { in onCreateView()
137 return new Pair<>(getItemIcon(dri), getItemLabel(dri)); in onCreateView()
269 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() argument
271 return getPinLabel(isPinned(dri), in getItemLabel()
272 isShortcutTarget() ? mShortcutTitle : dri.getResolveInfo().loadLabel(pm)); in getItemLabel()
276 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon() argument
277 return getPinIcon(isPinned(dri)); in getItemIcon()
290 private boolean isPinned(DisplayResolveInfo dri) { in isPinned() argument
291 return isShortcutTarget() ? mIsShortcutPinned : dri.isPinned(); in isPinned()
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverListAdapter.java577 final DisplayResolveInfo dri = DisplayResolveInfo.newDisplayResolveInfo( in addResolveInfoWithAlternates() local
581 dri.setPinned(rci.isPinned()); in addResolveInfoWithAlternates()
585 addResolveInfo(dri); in addResolveInfoWithAlternates()
591 dri.addAlternateSourceIntent(altIntent); in addResolveInfoWithAlternates()
612 private void addResolveInfo(DisplayResolveInfo dri) { in addResolveInfo() argument
613 if (dri != null && dri.getResolveInfo() != null in addResolveInfo()
614 && dri.getResolveInfo().targetUserId == UserHandle.USER_CURRENT) { in addResolveInfo()
615 if (shouldAddResolveInfo(dri)) { in addResolveInfo()
616 mDisplayList.add(dri); in addResolveInfo()
617 Log.i(TAG, "Add DisplayResolveInfo component: " + dri.getResolvedComponentName() in addResolveInfo()
[all …]
DChooserTargetActionsDialogFragment.java128 List<Pair<Drawable, CharSequence>> items = mTargetInfos.stream().map(dri -> { in onCreateView()
129 return new Pair<>(getItemIcon(dri), getItemLabel(dri)); in onCreateView()
267 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() argument
269 return getPinLabel(isPinned(dri), in getItemLabel()
270 isShortcutTarget() ? mShortcutTitle : dri.getResolveInfo().loadLabel(pm)); in getItemLabel()
274 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon() argument
275 return getPinIcon(isPinned(dri)); in getItemIcon()
292 private boolean isPinned(DisplayResolveInfo dri) { in isPinned() argument
293 return isShortcutTarget() ? mIsShortcutPinned : dri.isPinned(); in isPinned()
/aosp_15_r20/external/skia/tools/
H A Dvalgrind.supp46 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
51 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
57 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
63 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
69 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
75 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
81 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
87 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
93 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
/aosp_15_r20/external/mesa3d/src/gallium/include/
H A Dmesa_interface.h36 * \name DRI interface structures
39 * side library and the DRI (direct rendering infrastructure).
78 * We never break API in for a DRI extension. If we need to change
103 * extensions the DRI extensions enables.
156 * define them here since the DRI interface can't depend on GLX. */
448 * The following extensions describe loader features that the DRI
450 * getDrawableInfo extension for DRI and the DRI Loader extensions for
581 * There are some cases where GLX can't use SHM, but DRI
594 * indicates to the DRI driver that the loader will call invalidate in
596 * buffers. This means that the DRI driver can drop the polling in
[all …]
/aosp_15_r20/hardware/google/gfxstream/host/apigen-codec-common/GL/internal/
Ddri_interface.h31 * between a DRI driver and driver loader. Currently, the most common driver
59 * \name DRI interface structures
62 * side library and the DRI (direct rendering infrastructure).
96 * We never break API in for a DRI extension. If we need to change
121 * extensions the DRI extensions enables.
224 * define them here since the DRI interface can't depend on GLX. */
342 * The following extensions describe loader features that the DRI
344 * getDrawableInfo extension for DRI and the DRI Loader extensions for
470 * indicates to the DRI driver that the loader will call invalidate in
472 * buffers. This means that the DRI driver can drop the polling in
[all …]
/aosp_15_r20/hardware/google/gfxstream/host/apigen-codec-common/GL/
Ddri_interface.h31 * between a DRI driver and driver loader. Currently, the most common driver
59 * \name DRI interface structures
62 * side library and the DRI (direct rendering infrastructure).
96 * We never break API in for a DRI extension. If we need to change
121 * extensions the DRI extensions enables.
224 * define them here since the DRI interface can't depend on GLX. */
342 * The following extensions describe loader features that the DRI
344 * getDrawableInfo extension for DRI and the DRI Loader extensions for
470 * indicates to the DRI driver that the loader will call invalidate in
472 * buffers. This means that the DRI driver can drop the polling in
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/GL/internal/
Ddri_interface.h31 * between a DRI driver and driver loader. Currently, the most common driver
59 * \name DRI interface structures
62 * side library and the DRI (direct rendering infrastructure).
96 * We never break API in for a DRI extension. If we need to change
121 * extensions the DRI extensions enables.
224 * define them here since the DRI interface can't depend on GLX. */
342 * The following extensions describe loader features that the DRI
344 * getDrawableInfo extension for DRI and the DRI Loader extensions for
470 * indicates to the DRI driver that the loader will call invalidate in
472 * buffers. This means that the DRI driver can drop the polling in
[all …]
/aosp_15_r20/external/mesa3d/src/drm-shim/
H A Ddrm_shim.c64 /* If /dev/dri doesn't exist, we'll need an arbitrary pointer that wouldn't be
99 static char render_node_dir[] = "/dev/dri/";
100 /* Full path of /dev/dri/renderD* */
150 nfasprintf(&render_node_path, "/dev/dri/%s", in get_dri_render_node_minor()
292 /* String starts with /dev/dri/ but is not the fake render node. We want to in hide_drm_device_path()
615 /* Tracks if the opendir was on /dev/dri. */
622 if (strcmp(name, "/dev/dri") == 0) { in opendir()
624 /* If /dev/dri didn't exist, we still want to be able to return our in opendir()
625 * fake /dev/dri/render* even though we probably can't in opendir()
626 * mkdir("/dev/dri"). Return a fake DIR pointer for that. in opendir()
[all …]
/aosp_15_r20/external/autotest/client/cros/graphics/
H A Dgraphics_utils.py957 'gem_objects': ['/sys/kernel/debug/dri/0/amdgpu_gem_info'],
958 'memory': ['/sys/kernel/debug/dri/0/amdgpu_gtt_mm'],
962 'gem_objects': ['/sys/kernel/debug/dri/?/exynos_gem_objects'],
975 'gem_objects': ['/sys/kernel/debug/dri/0/i915_gem_objects'],
976 'memory': ['/sys/kernel/debug/dri/0/i915_gem_gtt'],
980 'gem_objects': ['/sys/kernel/debug/dri/0/i915_gem_objects'],
1288 # Possible paths of the kernel DRI debug text file.
1289 _DRI_DEBUG_FILE_PATH_0 = "/sys/kernel/debug/dri/0/state"
1290 _DRI_DEBUG_FILE_PATH_1 = "/sys/kernel/debug/dri/1/state"
1291 _DRI_DEBUG_FILE_PATH_2 = "/sys/kernel/debug/dri/2/state"
[all …]

12345678910>>...31