Home
last modified time | relevance | path

Searched defs:private_handle_t (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h40 struct private_handle_t : public native_handle_t { struct
41 enum {
68 int fd;
69 int fd_metadata;
95 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
111 : fd(fd), in fd()
137 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() argument
143 ~private_handle_t() { in ~private_handle_t() argument
153 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
174 static void Dump(const private_handle_t *hnd) { in Dump() argument
[all …]
/hardware/qcom/sdm845/display/gralloc/
Dgr_priv_handle.h38 struct private_handle_t : public native_handle_t { struct
39 enum {
66 int fd;
67 int fd_metadata;
93 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) - kNumFds; in NumInts() argument
98 : fd(fd), in fd()
123 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() function
127 ~private_handle_t() { in ~private_handle_t() argument
133 auto *hnd = static_cast<const private_handle_t *>(h); in validate() argument
154 static void Dump(const private_handle_t *hnd) { in Dump() argument
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h41 struct private_handle_t : public native_handle_t { struct
46 enum {
73 int fd;
74 int fd_metadata;
100 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
116 : fd(fd), in fd()
142 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() argument
148 ~private_handle_t() { in ~private_handle_t() argument
154 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
172 static void Dump(const private_handle_t *hnd) { in Dump() argument
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h40 struct private_handle_t : public native_handle_t { struct
45 enum {
72 int fd;
73 int fd_metadata;
99 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
115 : fd(fd), in fd()
141 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() argument
147 ~private_handle_t() { in ~private_handle_t() argument
153 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
171 static void Dump(const private_handle_t *hnd) { in Dump() argument
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h38 struct private_handle_t : public native_handle_t { struct
39 enum {
66 int fd;
67 int fd_metadata;
93 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) in NumInts() argument
109 : fd(fd), in fd()
135 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) in private_handle_t() argument
141 ~private_handle_t() { in ~private_handle_t() argument
147 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
166 static void Dump(const private_handle_t *hnd) { in Dump() argument
[all …]
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h59 struct private_handle_t : public native_handle { struct
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/msm8960/libgralloc/
Dgralloc_priv.h131 struct private_handle_t : public native_handle { struct
136 enum {
192 private_handle_t(int fd, int size, int flags, int bufferType, argument
205 ~private_handle_t() { in ~private_handle_t() argument
214 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
242 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h202 struct private_handle_t : public native_handle { struct
207 enum {
241 int fd;
265 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
270 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() argument
284 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
294 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
305 ~private_handle_t() { in ~private_handle_t() argument
314 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
339 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgralloc_priv.h195 struct private_handle_t : public native_handle { struct
200 enum {
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() argument
275 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() argument
285 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
296 ~private_handle_t() { in ~private_handle_t() argument
301 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
330 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h177 struct private_handle_t : public native_handle { struct
182 enum {
219 int fd;
220 int fd_metadata; // fd for the meta-data
222 int magic;
246 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
251 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
267 ~private_handle_t() { in ~private_handle_t() argument
276 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
305 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h183 struct private_handle_t : public native_handle { struct
188 enum {
222 int fd;
223 int fd_metadata; // fd for the meta-data
225 int magic;
249 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
254 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
270 ~private_handle_t() { in ~private_handle_t() argument
275 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
304 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h171 struct private_handle_t : public native_handle { struct
176 enum {
231 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
236 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
249 ~private_handle_t() { in ~private_handle_t() argument
258 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
287 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h171 struct private_handle_t : public native_handle { struct
176 enum {
209 int fd;
233 private_handle_t(int fd, size_t size, int flags, int bufferType, argument
246 ~private_handle_t() { in ~private_handle_t() argument
255 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
284 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument