Home
last modified time | relevance | path

Searched refs:fbHandle (Results 1 – 12 of 12) sorted by relevance

/hardware/intel/img/hwcomposer/merrifield/common/buffers/
DBufferManager.cpp260 buffer_handle_t fbHandle; in allocFrameBuffer() local
261 if (!(fbHandle = mapper->getFbHandle(0))) { in allocFrameBuffer()
266 mFrameBuffers.add(fbHandle, mapper); in allocFrameBuffer()
268 return fbHandle; in allocFrameBuffer()
282 void BufferManager::freeFrameBuffer(buffer_handle_t fbHandle) in freeFrameBuffer() argument
291 ssize_t index = mFrameBuffers.indexOfKey(fbHandle); in freeFrameBuffer()
301 mFrameBuffers.removeItem(fbHandle); in freeFrameBuffer()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
DBufferManager.cpp260 uint32_t fbHandle; in allocFrameBuffer() local
261 if (!(fbHandle = mapper->getFbHandle(0))) { in allocFrameBuffer()
266 mFrameBuffers.add(fbHandle, mapper); in allocFrameBuffer()
268 return fbHandle; in allocFrameBuffer()
282 void BufferManager::freeFrameBuffer(uint32_t fbHandle) in freeFrameBuffer() argument
291 ssize_t index = mFrameBuffers.indexOfKey(fbHandle); in freeFrameBuffer()
301 mFrameBuffers.removeItem(fbHandle); in freeFrameBuffer()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDrm.cpp544 if (output->fbHandle) { in resetOutput()
546 (buffer_handle_t)output->fbHandle); in resetOutput()
547 output->fbHandle = 0; in resetOutput()
591 if (output->fbHandle) { in setDrmMode()
592 oldFbHandle = output->fbHandle; in setDrmMode()
593 output->fbHandle = 0; in setDrmMode()
598 output->fbHandle = Hwcomposer::getInstance().getBufferManager()->allocFrameBuffer( in setDrmMode()
600 if (output->fbHandle == 0) { in setDrmMode()
612 bo_handles[0] = ((unsigned long)(output->fbHandle)) & 0xffffffff; in setDrmMode()
613 bo_handles[1] = ((unsigned long)(output->fbHandle) >> 32) & 0xffffffff; in setDrmMode()
DDrm.h85 buffer_handle_t fbHandle; member
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_copybit.cpp307 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit() local
308 if(!fbHandle) { in drawLayerUsingCopybit()
340 dst.w = ALIGN(fbHandle->width,32); in drawLayerUsingCopybit()
341 dst.h = fbHandle->height; in drawLayerUsingCopybit()
342 dst.format = fbHandle->format; in drawLayerUsingCopybit()
343 dst.base = (void *)fbHandle->base; in drawLayerUsingCopybit()
344 dst.handle = (native_handle_t *)fbHandle; in drawLayerUsingCopybit()
424 if (0 == alloc_buffer(&tmpHnd, tmp_w, tmp_h, fbHandle->format, usage)){ in drawLayerUsingCopybit()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DDrm.cpp585 if (output->fbHandle) { in resetOutput()
586 Hwcomposer::getInstance().getBufferManager()->freeFrameBuffer(output->fbHandle); in resetOutput()
587 output->fbHandle = 0; in resetOutput()
631 oldFbHandle = output->fbHandle; in setDrmMode()
636 output->fbHandle = Hwcomposer::getInstance().getBufferManager()->allocFrameBuffer( in setDrmMode()
639 output->fbHandle = Hwcomposer::getInstance().getBufferManager()->allocFrameBuffer( in setDrmMode()
642 if (output->fbHandle == 0) { in setDrmMode()
660 output->fbHandle, in setDrmMode()
DDrm.h91 uint32_t fbHandle; member
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp371 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit() local
372 if(!fbHandle) { in drawLayerUsingCopybit()
435 dst.w = ALIGN(fbHandle->width,32); in drawLayerUsingCopybit()
436 dst.h = fbHandle->height; in drawLayerUsingCopybit()
437 dst.format = fbHandle->format; in drawLayerUsingCopybit()
438 dst.base = (void *)fbHandle->base; in drawLayerUsingCopybit()
439 dst.handle = (native_handle_t *)fbHandle; in drawLayerUsingCopybit()
513 int format = fbHandle->format; in drawLayerUsingCopybit()
/hardware/intel/img/hwcomposer/merrifield/include/
DBufferManager.h58 virtual void freeFrameBuffer(buffer_handle_t fbHandle);
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp738 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit() local
739 if(!fbHandle) { in drawLayerUsingCopybit()
811 dst.w = ALIGN(fbHandle->width,32); in drawLayerUsingCopybit()
812 dst.h = fbHandle->height; in drawLayerUsingCopybit()
813 dst.format = fbHandle->format; in drawLayerUsingCopybit()
814 dst.base = (void *)fbHandle->base; in drawLayerUsingCopybit()
815 dst.handle = (native_handle_t *)fbHandle; in drawLayerUsingCopybit()
889 int format = fbHandle->format; in drawLayerUsingCopybit()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_copybit.cpp791 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit() local
792 if(!fbHandle) { in drawLayerUsingCopybit()
864 dst.w = ALIGN(fbHandle->width,32); in drawLayerUsingCopybit()
865 dst.h = fbHandle->height; in drawLayerUsingCopybit()
866 dst.format = fbHandle->format; in drawLayerUsingCopybit()
867 dst.base = (void *)fbHandle->base; in drawLayerUsingCopybit()
868 dst.handle = (native_handle_t *)fbHandle; in drawLayerUsingCopybit()
942 int format = fbHandle->format; in drawLayerUsingCopybit()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_copybit.cpp902 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit() local
903 if(!fbHandle) { in drawLayerUsingCopybit()
988 dst.w = ALIGN(fbHandle->width,32); in drawLayerUsingCopybit()
989 dst.h = fbHandle->height; in drawLayerUsingCopybit()
990 dst.format = fbHandle->format; in drawLayerUsingCopybit()
991 dst.base = (void *)fbHandle->base; in drawLayerUsingCopybit()
992 dst.handle = (native_handle_t *)fbHandle; in drawLayerUsingCopybit()
1068 int format = fbHandle->format; in drawLayerUsingCopybit()