Home
last modified time | relevance | path

Searched refs:buffer_handle_t (Results 1 – 25 of 49) sorted by relevance

12

/external/swiftshader/include/Android/hardware/
Dgralloc.h34 int (*registerBuffer)(gralloc_module_t const*, buffer_handle_t);
35 int (*unregisterBuffer)(gralloc_module_t const*, buffer_handle_t);
36 int (*lock)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int, void**);
37 int (*unlock)(gralloc_module_t const*, buffer_handle_t);
39 int (*lock_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
41 … int (*lockAsync)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int, void**, int);
42 int (*unlockAsync)(gralloc_module_t const*, buffer_handle_t, int*);
43 int (*lockAsync_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
45 int32_t (*getTransportSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t);
46 …int32_t (*validateBufferSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t, int32_…
Dgralloc1.h70 typedef int32_t (*GRALLOC1_PFN_LOCK)(gralloc1_device_t*, buffer_handle_t, uint64_t, uint64_t,
72 typedef int32_t (*GRALLOC1_PFN_UNLOCK)(gralloc1_device_t*, buffer_handle_t, int32_t*);
/external/mesa3d/include/android_stub/hardware/
Dgralloc1.h539 gralloc1_device_t* device, buffer_handle_t buffer,
561 gralloc1_device_t* device, buffer_handle_t buffer,
583 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outWidth,
605 gralloc1_device_t* device, buffer_handle_t descriptor,
627 gralloc1_device_t* device, buffer_handle_t buffer,
649 gralloc1_device_t* device, buffer_handle_t buffer,
674 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outStride);
698 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t *outNumFds,
729 gralloc1_device_t* device, buffer_handle_t buffer,
784 buffer_handle_t* outBuffers);
[all …]
Dgralloc.h176 buffer_handle_t handle);
191 buffer_handle_t handle);
229 buffer_handle_t handle, int usage,
240 buffer_handle_t handle);
268 buffer_handle_t handle, int usage,
283 buffer_handle_t handle, int usage,
299 buffer_handle_t handle, int* fenceFd);
313 buffer_handle_t handle, int usage,
330 struct gralloc_module_t const* module, buffer_handle_t handle, uint32_t *outNumFds,
342 struct gralloc_module_t const* device, buffer_handle_t handle,
[all …]
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.h25 buffer_handle_t *out_handle);
27 int32_t retain(buffer_handle_t handle);
28 int32_t release(buffer_handle_t handle);
30 int32_t lock(buffer_handle_t handle, int32_t acquire_fence, bool close_acquire_fence,
33 int32_t unlock(buffer_handle_t handle, int32_t *release_fence);
35 int32_t invalidate(buffer_handle_t handle);
36 int32_t flush(buffer_handle_t handle, int32_t *release_fence);
38 int32_t get_backing_store(buffer_handle_t handle, uint64_t *out_store);
39 int32_t resource_info(buffer_handle_t handle, uint32_t strides[DRV_MAX_PLANES],
42 int32_t get_reserved_region(buffer_handle_t handle, void **reserved_region_addr,
Dcros_gralloc_driver.cc157 buffer_handle_t *out_handle) in allocate()
262 *out_handle = reinterpret_cast<buffer_handle_t>(hnd); in allocate()
274 int32_t cros_gralloc_driver::retain(buffer_handle_t handle) in retain()
325 int32_t cros_gralloc_driver::release(buffer_handle_t handle) in release()
352 int32_t cros_gralloc_driver::lock(buffer_handle_t handle, int32_t acquire_fence, in lock()
376 int32_t cros_gralloc_driver::unlock(buffer_handle_t handle, int32_t *release_fence) in unlock()
402 int32_t cros_gralloc_driver::invalidate(buffer_handle_t handle) in invalidate()
421 int32_t cros_gralloc_driver::flush(buffer_handle_t handle, int32_t *release_fence) in flush()
447 int32_t cros_gralloc_driver::get_backing_store(buffer_handle_t handle, uint64_t *out_store) in get_backing_store()
467 int32_t cros_gralloc_driver::resource_info(buffer_handle_t handle, uint32_t strides[DRV_MAX_PLANES], in resource_info()
[all …]
/external/swiftshader/src/System/
DGrallocAndroid.hpp37 int import(buffer_handle_t handle, buffer_handle_t *imported_handle);
38 int release(buffer_handle_t handle);
40 …int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr…
41 int unlock(buffer_handle_t handle);
DGrallocAndroid.cpp78 int GrallocModule::import(buffer_handle_t handle, buffer_handle_t *imported_handle) in import()
89 … *imported_handle = static_cast<buffer_handle_t>(tmp_buf); in import()
105 … *imported_handle = static_cast<buffer_handle_t>(tmp_buf); in import()
116 int GrallocModule::release(buffer_handle_t handle) in release()
137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
219 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
/external/swiftshader/src/Common/
DGrallocAndroid.hpp37 int import(buffer_handle_t handle, buffer_handle_t *imported_handle);
38 int release(buffer_handle_t handle);
40 …int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr…
41 int unlock(buffer_handle_t handle);
DGrallocAndroid.cpp78 int GrallocModule::import(buffer_handle_t handle, buffer_handle_t *imported_handle) in import()
89 … *imported_handle = static_cast<buffer_handle_t>(tmp_buf); in import()
105 … *imported_handle = static_cast<buffer_handle_t>(tmp_buf); in import()
116 int GrallocModule::release(buffer_handle_t handle) in release()
137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
219 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
/external/drm_hwcomposer/include/
Ddrmhwcomposer.h36 buffer_handle_t buf, struct hwc_drm_bo *bo);
74 int ImportBuffer(buffer_handle_t handle, Importer *importer);
102 int CopyBufferHandle(buffer_handle_t handle);
106 buffer_handle_t get() const { in get()
130 buffer_handle_t sf_handle = NULL;
150 buffer_handle_t get_usable_handle() const { in get_usable_handle()
/external/drm_hwcomposer/bufferinfo/
DBufferInfoGetter.h37 virtual int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) = 0;
39 bool IsHandleUsable(buffer_handle_t handle);
52 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override = 0;
DBufferInfoMapperMetadata.h28 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
30 int GetFds(buffer_handle_t handle, hwc_drm_bo_t *bo);
DBufferInfoMapperMetadata.cpp49 BufferInfoMapperMetadata::GetFds(buffer_handle_t handle, hwc_drm_bo_t *bo) { in GetFds()
77 int BufferInfoMapperMetadata::ConvertBoInfo(buffer_handle_t handle, in ConvertBoInfo()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc147 buffer_handle_t *handle, int *stride) in gralloc0_alloc()
201 static int gralloc0_free(alloc_device_t *dev, buffer_handle_t handle) in gralloc0_free()
262 static int gralloc0_register_buffer(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_register_buffer()
275 static int gralloc0_unregister_buffer(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_unregister_buffer()
281 static int gralloc0_lock(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, in gralloc0_lock()
287 static int gralloc0_unlock(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_unlock()
307 buffer_handle_t handle; in gralloc0_perform()
334 handle = va_arg(args, buffer_handle_t); in gralloc0_perform()
416 static int gralloc0_lock_ycbcr(struct gralloc_module_t const *module, buffer_handle_t handle, in gralloc0_lock_ycbcr()
422 static int gralloc0_lock_async(struct gralloc_module_t const *module, buffer_handle_t handle, in gralloc0_lock_async()
[all …]
/external/drm_hwcomposer/bufferinfo/legacy/
DBufferInfoLibdrm.h29 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
32 bool GetYuvPlaneInfo(int num_fds, buffer_handle_t handle, hwc_drm_bo_t *bo);
DBufferInfoLibdrm.cpp85 bool BufferInfoLibdrm::GetYuvPlaneInfo(int num_fds, buffer_handle_t handle, in GetYuvPlaneInfo()
156 int BufferInfoLibdrm::ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) { in ConvertBoInfo()
DBufferInfoMaliMediatek.h30 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
DBufferInfoImagination.h30 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc252 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawBuffer); in lock()
355 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in unlock()
389 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in flushLockedBuffer()
422 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in rereadLockedBuffer()
471 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in get()
601 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in set()
895 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in dumpBuffer()
1028 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in getReservedRegion()
/external/drm_hwcomposer/utils/
Dhwcutils.cpp48 int DrmHwcBuffer::ImportBuffer(buffer_handle_t handle, Importer *importer) { in ImportBuffer()
74 int DrmHwcNativeHandle::CopyBufferHandle(buffer_handle_t handle) { in CopyBufferHandle()
80 const_cast<buffer_handle_t *>( in CopyBufferHandle()
/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Mapper.cc197 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in lock()
237 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in lockYCbCr()
388 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(crosHandle); in lockInternal()
406 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in unlock()
/external/mesa3d/include/vulkan/
Dvk_android_native_buffer.h25 typedef void *buffer_handle_t; typedef
63 buffer_handle_t handle;
/external/drm_hwcomposer/
DDrmHwcTwo.h79 buffer_handle_t buffer() { in buffer()
82 void set_buffer(buffer_handle_t buffer) { in set_buffer()
129 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence);
149 buffer_handle_t buffer_ = NULL;
231 HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence,
235 HWC2::Error SetOutputBuffer(buffer_handle_t buffer, int32_t release_fence);
/external/swiftshader/include/Android/cutils/
Dnative_handle.h21 typedef const struct native_handle_t* buffer_handle_t; typedef

12