Home
last modified time | relevance | path

Searched refs:buffer_handle_t (Results 1 – 25 of 26) 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/minigbm/cros_gralloc/
Dcros_gralloc_driver.h24 buffer_handle_t *out_handle);
26 int32_t retain(buffer_handle_t handle);
27 int32_t release(buffer_handle_t handle);
29 int32_t lock(buffer_handle_t handle, int32_t acquire_fence, const struct rectangle *rect,
31 int32_t unlock(buffer_handle_t handle, int32_t *release_fence);
33 int32_t get_backing_store(buffer_handle_t handle, uint64_t *out_store);
Dcros_gralloc_driver.cc87 buffer_handle_t *out_handle) in allocate()
165 int32_t cros_gralloc_driver::retain(buffer_handle_t handle) in retain()
223 int32_t cros_gralloc_driver::release(buffer_handle_t handle) in release()
250 int32_t cros_gralloc_driver::lock(buffer_handle_t handle, int32_t acquire_fence, in lock()
274 int32_t cros_gralloc_driver::unlock(buffer_handle_t handle, int32_t *release_fence) in unlock()
300 int32_t cros_gralloc_driver::get_backing_store(buffer_handle_t handle, uint64_t *out_store) in get_backing_store()
Dcros_gralloc_helpers.h23 cros_gralloc_handle_t cros_gralloc_convert_handle(buffer_handle_t handle);
Dcros_gralloc_helpers.cc47 cros_gralloc_handle_t cros_gralloc_convert_handle(buffer_handle_t handle) in cros_gralloc_convert_handle()
/external/drm_hwcomposer/
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, int width, int height,
107 buffer_handle_t get() const { in get()
131 buffer_handle_t sf_handle = NULL;
151 buffer_handle_t get_usable_handle() const { in get_usable_handle()
Dhwcutils.cpp46 int DrmHwcBuffer::ImportBuffer(buffer_handle_t handle, Importer *importer) { in ImportBuffer()
64 int DrmHwcNativeHandle::CopyBufferHandle(buffer_handle_t handle, int width, in CopyBufferHandle()
78 ret = gm.importBuffer(handle, const_cast<buffer_handle_t *>(&handle_copy)); in CopyBufferHandle()
81 stride, const_cast<buffer_handle_t *>(&handle_copy)); in CopyBufferHandle()
Ddrmhwctwo.h61 buffer_handle_t buffer() { in buffer()
64 void set_buffer(buffer_handle_t buffer) { in set_buffer()
94 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence);
114 buffer_handle_t buffer_ = NULL;
178 HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence,
182 HWC2::Error SetOutputBuffer(buffer_handle_t buffer, int32_t release_fence);
Dplatformhisi.h37 int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
39 bool CanImportBuffer(buffer_handle_t handle) override;
Dplatformdrmgeneric.h34 int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
36 bool CanImportBuffer(buffer_handle_t handle) override;
Dplatformdrmgeneric.cpp104 int DrmGenericImporter::ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) { in ImportBuffer()
164 bool DrmGenericImporter::CanImportBuffer(buffer_handle_t handle) { in CanImportBuffer()
Dplatform.h45 virtual int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) = 0;
54 virtual bool CanImportBuffer(buffer_handle_t handle) = 0;
Dplatformminigbm.h35 int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
Dplatformhisi.cpp122 int HisiImporter::ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) { in ImportBuffer()
201 bool HisiImporter::CanImportBuffer(buffer_handle_t handle) { in CanImportBuffer()
Dplatformminigbm.cpp70 int DrmMinigbmImporter::ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) { in ImportBuffer()
Ddrmhwctwo.cpp659 HWC2::Error DrmHwcTwo::HwcDisplay::SetClientTarget(buffer_handle_t target, in SetClientTarget()
689 HWC2::Error DrmHwcTwo::HwcDisplay::SetOutputBuffer(buffer_handle_t buffer, in SetOutputBuffer()
792 HWC2::Error DrmHwcTwo::HwcLayer::SetLayerBuffer(buffer_handle_t buffer, in SetLayerBuffer()
1073 &HwcDisplay::SetClientTarget, buffer_handle_t, int32_t, in HookDevGetFunction()
1086 &HwcDisplay::SetOutputBuffer, buffer_handle_t, int32_t>); in HookDevGetFunction()
1112 &HwcLayer::SetLayerBuffer, buffer_handle_t, int32_t>); in HookDevGetFunction()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc95 buffer_handle_t *handle, int *stride) in gralloc0_alloc()
133 static int gralloc0_free(alloc_device_t *dev, buffer_handle_t handle) in gralloc0_free()
194 static int gralloc0_register_buffer(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_register_buffer()
206 static int gralloc0_unregister_buffer(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_unregister_buffer()
212 static int gralloc0_lock(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, in gralloc0_lock()
218 static int gralloc0_unlock(struct gralloc_module_t const *module, buffer_handle_t handle) in gralloc0_unlock()
238 buffer_handle_t handle; in gralloc0_perform()
255 handle = va_arg(args, buffer_handle_t); in gralloc0_perform()
290 static int gralloc0_lock_ycbcr(struct gralloc_module_t const *module, buffer_handle_t handle, in gralloc0_lock_ycbcr()
296 static int gralloc0_lock_async(struct gralloc_module_t const *module, buffer_handle_t handle, in gralloc0_lock_async()
[all …]
/external/swiftshader/src/System/
DGrallocAndroid.hpp30 …int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr…
31 int unlock(buffer_handle_t handle);
DGrallocAndroid.cpp52 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
79 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
/external/swiftshader/src/Common/
DGrallocAndroid.hpp30 …int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr…
31 int unlock(buffer_handle_t handle);
DGrallocAndroid.cpp52 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
79 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
/external/mesa3d/include/vulkan/
Dvk_android_native_buffer.h25 typedef void *buffer_handle_t; typedef
46 buffer_handle_t handle;
/external/swiftshader/include/Android/cutils/
Dnative_handle.h21 typedef const struct native_handle_t* buffer_handle_t; typedef
/external/libdrm/android/
Dgralloc_handle.h79 static inline struct gralloc_handle_t *gralloc_handle(buffer_handle_t handle) in gralloc_handle()

12