Home
last modified time | relevance | path

Searched refs:ohnd (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_virtual.cpp101 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in prepare() local
103 setMDPScalingMode(ctx, ohnd, dpy); in prepare()
105 mScalingWidth = getWidth(ohnd); in prepare()
106 mScalingHeight = getHeight(ohnd); in prepare()
147 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in set() local
148 int format = ohnd->format; in set()
155 if(! Writeback::getInstance()->setSecure(isSecureBuffer(ohnd))) in set()
158 isSecureBuffer(ohnd)); in set()
185 Writeback::getInstance()->queueBuffer(ohnd->fd, in set()
186 (uint32_t)ohnd->offset); in set()
[all …]
Dhwc_virtual.h60 private_handle_t* ohnd, int dpy);
Dhwc_utils.cpp2394 void dumpBuffer(private_handle_t *ohnd, char *bufferName) { in dumpBuffer() argument
2395 if (ohnd != NULL && ohnd->base) { in dumpBuffer()
2398 int width = getWidth(ohnd); in dumpBuffer()
2399 int height = getHeight(ohnd); in dumpBuffer()
2400 int format = ohnd->format; in dumpBuffer()
2410 bResult = (bool) fwrite((void*)ohnd->base, size, 1, fp); in dumpBuffer()
Dhwc_utils.h329 void dumpBuffer(private_handle_t *ohnd, char *bufferName);
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_virtual.cpp133 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in prepare() local
134 Writeback::getInstance()->configureDpyInfo(ohnd->width, in prepare()
135 ohnd->height); in prepare()
173 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in set() local
174 int format = ohnd->format; in set()
181 if(isSecureBuffer(ohnd)){ in set()
212 Writeback::getInstance()->queueBuffer(ohnd->fd, in set()
213 (uint32_t)ohnd->offset); in set()
226 if(!isSecureBuffer(ohnd)) { in set()
229 dumpBuffer(ohnd, bufferName); in set()
Dhwc_utils.cpp2058 void dumpBuffer(private_handle_t *ohnd, char *bufferName) { in dumpBuffer() argument
2059 if (ohnd != NULL && ohnd->base) { in dumpBuffer()
2064 overlay::utils::getFormatString(utils::getMdpFormat(ohnd->format)), in dumpBuffer()
2065 getWidth(ohnd), getHeight(ohnd)); in dumpBuffer()
2068 bResult = (bool) fwrite((void*)ohnd->base, ohnd->size, 1, fp); in dumpBuffer()
Dhwc_utils.h281 void dumpBuffer(private_handle_t *ohnd, char *bufferName);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_virtual.cpp122 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in prepare() local
123 Writeback::getInstance()->configureDpyInfo(ohnd->width, in prepare()
124 ohnd->height); in prepare()
161 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in set() local
162 int format = ohnd->format; in set()
169 if(isSecureBuffer(ohnd)){ in set()
196 Writeback::getInstance()->queueBuffer(ohnd->fd, in set()
197 (uint32_t)ohnd->offset); in set()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc.cpp231 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in hwc_prepare_virtual() local
232 Writeback::getInstance()->configureDpyInfo(ohnd->width, ohnd->height); in hwc_prepare_virtual()
511 private_handle_t *ohnd = (private_handle_t *)list->outbuf; in hwc_set_virtual() local
512 int format = ohnd->format; in hwc_set_virtual()
532 Writeback::getInstance()->queueBuffer(ohnd->fd, ohnd->offset); in hwc_set_virtual()