Home
last modified time | relevance | path

Searched refs:format_modifier (Results 1 – 22 of 22) sorted by relevance

/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc224 uint64_t format_modifier = 0; in gralloc0_perform() local
265 ret = mod->driver->resource_info(handle, strides, offsets, &format_modifier); in gralloc0_perform()
299 ret = mod->driver->resource_info(handle, strides, offsets, &format_modifier); in gralloc0_perform()
303 info->modifier = format_modifier ? format_modifier : hnd->format_modifier; in gralloc0_perform()
389 uint64_t format_modifier = 0; in gralloc0_lock_async_ycbcr() local
426 ret = mod->driver->resource_info(handle, strides, offsets, &format_modifier); in gralloc0_lock_async_ycbcr()
/external/minigbm/cros_gralloc/
Dcros_gralloc_buffer.cc85 return hnd_->format_modifier; in get_format_modifier()
201 uint64_t *format_modifier) in resource_info() argument
203 return drv_resource_info(bo_, strides, offsets, format_modifier); in resource_info()
Dcros_gralloc_driver.cc328 hnd->format_modifier = drv_bo_get_format_modifier(bo); in allocate()
407 .format_modifier = hnd->format_modifier, in retain()
576 uint64_t *format_modifier) in resource_info() argument
592 return buffer->resource_info(strides, offsets, format_modifier); in resource_info()
Dcros_gralloc_handle.h34 uint64_t format_modifier; member
Dcros_gralloc_buffer.h44 uint64_t *format_modifier);
Dcros_gralloc_driver.h43 uint32_t offsets[DRV_MAX_PLANES], uint64_t *format_modifier);
/external/minigbm/
Ddrv.c436 bo->meta.format_modifier = data->format_modifier; in drv_bo_import()
690 return bo->meta.format_modifier; in drv_bo_get_format_modifier()
787 uint32_t offsets[DRV_MAX_PLANES], uint64_t *format_modifier) in drv_resource_info() argument
793 *format_modifier = bo->meta.format_modifier; in drv_resource_info()
796 return bo->drv->backend->resource_info(bo, strides, offsets, format_modifier); in drv_resource_info()
Ddrv_priv.h27 uint64_t format_modifier; member
103 uint32_t offsets[DRV_MAX_PLANES], uint64_t *format_modifier);
Drockchip.c78 bo->meta.format_modifier = modifier; in afbc_bo_from_format()
204 if (bo->meta.format_modifier == DRM_FORMAT_MOD_CHROMEOS_ROCKCHIP_AFBC || in rockchip_bo_map()
205 bo->meta.format_modifier == DRM_FORMAT_MOD_ROCKCHIP_AFBC) in rockchip_bo_map()
Ddri.c99 bo->meta.format_modifier = in import_into_minigbm()
102 bo->meta.format_modifier = DRM_FORMAT_MOD_INVALID; in import_into_minigbm()
361 if (data->format_modifier != DRM_FORMAT_MOD_INVALID) { in dri_bo_import()
370 data->format_modifier, in dri_bo_import()
Ddrv.h103 uint64_t format_modifier; member
214 uint32_t offsets[DRV_MAX_PLANES], uint64_t *format_modifier);
Di915.c621 bo->meta.format_modifier = modifier; in i915_bo_compute_metadata()
792 i915_num_planes_from_modifier(bo->drv, data->format, data->format_modifier); in i915_bo_import()
822 if ((bo->meta.format_modifier == I915_FORMAT_MOD_Y_TILED_CCS) || in i915_bo_map()
823 (bo->meta.format_modifier == I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS) || in i915_bo_map()
824 (bo->meta.format_modifier == I915_FORMAT_MOD_4_TILED)) in i915_bo_map()
Dmsm.c320 bo->meta.format_modifier = modifier; in msm_bo_create_for_modifier()
360 if (bo->meta.format_modifier) in msm_bo_map()
Damdgpu.c601 bo->meta.format_modifier = DRM_FORMAT_MOD_LINEAR; in amdgpu_create_bo_linear()
650 bool dri_tiling = data->format_modifier != DRM_FORMAT_MOD_LINEAR; in amdgpu_import_bo()
651 if (data->format_modifier == DRM_FORMAT_MOD_INVALID) { in amdgpu_import_bo()
661 dri_num_planes_from_modifier(bo->drv, data->format, data->format_modifier); in amdgpu_import_bo()
Dgbm.c212 drv_data.format_modifier = DRM_FORMAT_MOD_INVALID; in gbm_bo_import()
228 drv_data.format_modifier = fd_modifier_data->modifier; in gbm_bo_import()
Dvirtgpu_virgl.c1120 uint32_t offsets[DRV_MAX_PLANES], uint64_t *format_modifier) in virgl_resource_info() argument
1147 *format_modifier = res_info.format_modifier; in virgl_resource_info()
Dvirtgpu_cross_domain.c191 memcpy(&metadata->format_modifier, &addr[8], sizeof(uint64_t)); in cross_domain_metadata_query()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dminigbm.rs122 reqs.modifier = gbm_buffer.format_modifier(); in get_image_memory_requirements()
211 pub fn format_modifier(&self) -> u64 { in format_modifier() method
/external/crosvm/devices/src/virtio/gpu/
Dprotocol.rs473 pub format_modifier: Le64, field
742 format_modifier: u64,
907 format_modifier, in encode()
923 format_modifier: format_modifier.into(), in encode()
Dvirtio_gpu.rs982 let format_modifier = query.modifier; in result_from_query() localVariable
984 format_modifier, in result_from_query()
/external/minigbm/external/
Dvirtgpu_drm.h140 __u64 format_modifier; member
/external/webrtc/modules/desktop_capture/
Dscreen_capturer_fuchsia.cc215 image_constraints.pixel_format.format_modifier.value = in GetBufferConstraints()