Home
last modified time | relevance | path

Searched refs:private_handle_t (Results 1 – 25 of 248) sorted by relevance

12345678910

/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
180 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
103 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
108 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
117 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
129 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
133 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
137 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
141 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
145 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
180 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp98 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
144 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8998/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
198 private_handle_t* hnd) in terminateBuffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgralloc_priv.h193 struct private_handle_t : public native_handle { struct
195 struct private_handle_t {
256 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
261 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
275 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
278 private_handle_t(fd, size, flags, bufferType, format, width, height) in private_handle_t()
285 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
289 private_handle_t(fd, size, flags, bufferType, format, width, height, in private_handle_t()
296 ~private_handle_t() { in ~private_handle_t() argument
301 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
[all …]
Dgpu.cpp49 static int getPlaneStrideOffset(private_handle_t *hnd, uint32_t *stride, in getPlaneStrideOffset()
126 if (hnd->flags & private_handle_t::PRIV_FLAGS_UBWC_ALIGNED) { in getPlaneStrideOffset()
136 if (flags & private_handle_t::PRIV_FLAGS_UBWC_ALIGNED) { in getDRMFormat()
306 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
310 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
314 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
318 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
322 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
326 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
330 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp65 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
72 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
87 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
110 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
111 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
146 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
158 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
174 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
183 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
[all …]
Dgpu.cpp95 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
98 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
[all …]
/hardware/libhardware/modules/gralloc/
Dmapper.cpp42 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
43 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
62 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
80 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
118 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
130 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
141 private_handle_t* hnd) in mapBuffer()
148 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgralloc_priv.h35 struct private_handle_t;
40 private_handle_t* framebuffer;
59 struct private_handle_t : public native_handle { struct
61 struct private_handle_t {
83 return (((sizeof(private_handle_t) - sizeof(native_handle_t))/sizeof(int)) - sNumFds); in sNumInts() argument
88 private_handle_t(int fd, int size, int flags) : in private_handle_t() argument
96 ~private_handle_t() { in ~private_handle_t() argument
101 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
66 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
88 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
96 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
97 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
173 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
187 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
200 private_handle_t* hnd) in terminateBuffer()
219 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgpu.cpp103 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
111 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
115 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
123 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
127 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
131 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
135 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer()
139 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp60 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
63 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
94 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
95 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
141 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
165 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
176 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp96 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_CC; in gralloc_alloc_buffer()
110 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
114 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
124 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
66 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
88 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
96 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
97 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
173 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
187 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
200 private_handle_t* hnd) in terminateBuffer()
219 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgpu.cpp102 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
106 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
111 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
123 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
144 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
148 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp159 private_handle_t const *input = reinterpret_cast<private_handle_t const *>(inbuffer); in CreateSharedHandle()
172 private_handle_t *out_hnd = new private_handle_t(dup(input->fd), in CreateSharedHandle()
206 private_handle_t * handle = const_cast<private_handle_t *>(hnd); in FreeBuffer()
212 void BufferManager::RegisterHandle(const private_handle_t *hnd, in RegisterHandle()
219 gralloc1_error_t BufferManager::ImportHandle(private_handle_t* hnd) { in ImportHandle()
240 BufferManager::GetBufferFromHandle(const private_handle_t *hnd) { in GetBufferFromHandle()
249 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
250 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer()
270 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
278 private_handle_t *handle = const_cast<private_handle_t *>(hnd); in RetainBuffer()
[all …]
Dgr_buf_mgr.h43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
74 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
86 gralloc1_error_t ImportHandle(private_handle_t* hnd);
89 void RegisterHandle(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
97 const private_handle_t *handle = nullptr;
[all …]
Dgr_priv_handle.h34 #define PRIV_HANDLE_CONST(exp) static_cast<const private_handle_t *>(exp)
36 struct private_handle_t : public native_handle_t { struct
91 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
95 private_handle_t(int fd,
133 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() function
134 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size, in private_handle_t()
139 ~private_handle_t() { in ~private_handle_t() argument
145 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
164 static void Dump(const private_handle_t *hnd) { in Dump() argument
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp155 private_handle_t const *input = reinterpret_cast<private_handle_t const *>(inbuffer); in CreateSharedHandle()
168 private_handle_t *out_hnd = new private_handle_t(dup(input->fd), in CreateSharedHandle()
202 private_handle_t * handle = const_cast<private_handle_t *>(hnd); in FreeBuffer()
208 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
209 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer()
227 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
248 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
267 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
287 if (!err && (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) && in LockBuffer()
288 (hnd->flags & private_handle_t::PRIV_FLAGS_CACHED)) { in LockBuffer()
[all …]
Dgr_buf_mgr.h43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
73 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
94 const private_handle_t *handle = nullptr;
103 explicit Buffer(const private_handle_t* h, int ih_main = -1, int ih_meta = -1):
118 std::unordered_map<const private_handle_t*, std::shared_ptr<Buffer>> handles_map_ = {};
Dgr_priv_handle.h33 #define PRIV_HANDLE_CONST(exp) static_cast<const private_handle_t *>(exp)
35 struct private_handle_t : public native_handle_t { struct
90 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
94 private_handle_t(int fd,
132 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() argument
133 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size, in private_handle_t()
138 ~private_handle_t() { in ~private_handle_t() argument
144 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp71 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation()
76 private_handle_t *hnd = reinterpret_cast<private_handle_t*> in perform_lock_unlock_operation()
78 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in perform_lock_unlock_operation()
146 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock()
151 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock()
152 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_create_lock()
201 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock()
206 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_release_lock()
207 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_release_lock()
231 if (private_handle_t::validate(buffer_handle)) { in genlock_attach_lock()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
DqdMetaData.h138 struct private_handle_t;
139 int setMetaData(struct private_handle_t *handle, enum DispParamType paramType,
142 int getMetaData(struct private_handle_t *handle, enum DispFetchParamType paramType,
145 int copyMetaData(struct private_handle_t *src, struct private_handle_t *dst);
147 int clearMetaData(struct private_handle_t *handle, enum DispParamType paramType);

12345678910