/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_uevents.cpp | 54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument 88 ctx->mExtDisplay->setExtDpyNum(dpy); 99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 113 ctx->mExtDisplay->processUEventOffline(udata); 114 if(ctx->mFBUpdate[dpy]) { 115 Locker::Autolock _l(ctx->mExtSetLock); 116 delete ctx->mFBUpdate[dpy]; 117 ctx->mFBUpdate[dpy] = NULL; 119 if(ctx 183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local 197 init_uevent_thread(hwc_context_t* ctx) argument [all...] |
H A D | hwc.cpp | 72 hwc_context_t* ctx = (hwc_context_t*)(dev); local 73 if(!ctx) { 77 ctx->proc = procs; 81 init_uevent_thread(ctx); 82 init_vsync_thread(ctx); 86 static void reset(hwc_context_t *ctx, int numDisplays, argument 88 memset(ctx->listStats, 0, sizeof(ctx->listStats)); 102 if(ctx->mFBUpdate[i]) 103 ctx 112 reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) argument 120 display_commit(hwc_context_t *ctx, int dpy) argument 139 hwc_context_t* ctx = (hwc_context_t*)(dev); local 168 hwc_context_t* ctx = (hwc_context_t*)(dev); local 212 hwc_context_t* ctx = (hwc_context_t*)(dev); local 247 hwc_context_t* ctx = (hwc_context_t*)(dev); local 273 hwc_context_t* ctx = (hwc_context_t*)(dev); local 331 hwc_context_t* ctx = (hwc_context_t*)(dev); local 352 hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 396 hwc_set_external(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy) argument 443 hwc_set_virtual(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy) argument 464 hwc_context_t* ctx = (hwc_context_t*)(dev); local 492 hwc_context_t* ctx = (hwc_context_t*)(dev); local 520 hwc_context_t* ctx = (hwc_context_t*)(dev); local 571 hwc_context_t* ctx = (hwc_context_t*)(dev); local [all...] |
H A D | hwc_fbupdate.h | 37 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 40 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0; 56 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 58 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 61 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list, 71 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 73 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 76 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
|
H A D | hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 53 bool canUseCopybitForYUV (hwc_context_t *ctx); 54 bool canUseCopybitForRGB (hwc_context_t *ctx, 56 bool validateParams (hwc_context_t *ctx,
|
H A D | hwc_utils.cpp | 47 static int openFramebufferDevice(hwc_context_t *ctx) argument 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 109 static int ppdComm(const char* cmd, hwc_context_t *ctx) { argument 152 connectPPDaemon(hwc_context_t *ctx) argument 193 initContext(hwc_context_t *ctx) argument 258 closeContext(hwc_context_t *ctx) argument 313 getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x, uint32_t& y, uint32_t& w, uint32_t& h) argument 402 configurePPD(hwc_context_t *ctx, int yuvCount) argument 423 setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list, int dpy) argument 484 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 625 isExternalActive(hwc_context_t* ctx) argument 642 hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy, int fd) argument 771 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 847 setupBasePipe(hwc_context_t *ctx) argument 926 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 1005 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument [all...] |
H A D | hwc_mdpcomp.h | 43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 53 static bool init(hwc_context_t *ctx); 120 virtual int pipesNeeded(hwc_context_t *ctx, 123 virtual bool allocLayerPipes(hwc_context_t *ctx, 126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 130 void setMDPCompLayerFlags(hwc_context_t *ctx, 133 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type); 136 bool isFrameDoable(hwc_context_t *ctx); 138 bool isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_ [all...] |
H A D | hwc_vsync.cpp | 36 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable) argument 39 if(!ctx->vstate.fakevsync && 40 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL, 55 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local 75 ctx->vstate.fakevsync = true; 93 ctx->vstate.fakevsync = true; 97 if (LIKELY(!ctx->vstate.fakevsync)) { 121 if(ctx->vstate.enable) { 124 ctx->proc->vsync(ctx 134 init_vsync_thread(hwc_context_t* ctx) argument [all...] |
/hardware/qcom/display/msm8x26/libhwcomposer/ |
H A D | hwc_uevents.cpp | 54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument 88 ctx->mExtDisplay->setExtDpyNum(dpy); 99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 113 ctx->mExtDisplay->processUEventOffline(udata); 114 if(ctx->mFBUpdate[dpy]) { 115 Locker::Autolock _l(ctx->mExtSetLock); 116 delete ctx->mFBUpdate[dpy]; 117 ctx->mFBUpdate[dpy] = NULL; 119 if(ctx 183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local 197 init_uevent_thread(hwc_context_t* ctx) argument [all...] |
H A D | hwc.cpp | 72 hwc_context_t* ctx = (hwc_context_t*)(dev); local 73 if(!ctx) { 77 ctx->proc = procs; 81 init_uevent_thread(ctx); 82 init_vsync_thread(ctx); 86 static void reset(hwc_context_t *ctx, int numDisplays, argument 88 memset(ctx->listStats, 0, sizeof(ctx->listStats)); 102 if(ctx->mFBUpdate[i]) 103 ctx 112 reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) argument 120 display_commit(hwc_context_t *ctx, int dpy) argument 139 hwc_context_t* ctx = (hwc_context_t*)(dev); local 168 hwc_context_t* ctx = (hwc_context_t*)(dev); local 212 hwc_context_t* ctx = (hwc_context_t*)(dev); local 247 hwc_context_t* ctx = (hwc_context_t*)(dev); local 274 hwc_context_t* ctx = (hwc_context_t*)(dev); local 332 hwc_context_t* ctx = (hwc_context_t*)(dev); local 353 hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 397 hwc_set_external(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy) argument 444 hwc_set_virtual(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy) argument 465 hwc_context_t* ctx = (hwc_context_t*)(dev); local 493 hwc_context_t* ctx = (hwc_context_t*)(dev); local 521 hwc_context_t* ctx = (hwc_context_t*)(dev); local 572 hwc_context_t* ctx = (hwc_context_t*)(dev); local [all...] |
H A D | hwc_fbupdate.h | 37 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 40 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0; 56 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 58 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 61 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list, 71 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 73 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 76 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
|
H A D | hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 53 bool canUseCopybitForYUV (hwc_context_t *ctx); 54 bool canUseCopybitForRGB (hwc_context_t *ctx, 56 bool validateParams (hwc_context_t *ctx,
|
H A D | hwc_mdpcomp.cpp | 79 bool MDPComp::init(hwc_context_t *ctx) { argument 81 if(!ctx) { 119 idleInvalidator->init(timeout_handler, ctx, idle_timeout); 125 struct hwc_context_t* ctx = (struct hwc_context_t*)(udata); local 127 if(!ctx) { 132 if(!ctx->proc) { 138 ctx->proc->invalidate(ctx->proc); 141 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx, argument 143 LayerProp *layerProp = ctx 163 setupBasePipe(hwc_context_t *ctx) argument 261 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 309 getMdpPipe(hwc_context_t *ctx, ePipeType type) argument 340 isFrameDoable(hwc_context_t *ctx) argument 357 isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 426 fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 451 partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 478 isOnlyVideoDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 510 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 592 updateLayerCache(hwc_context_t* ctx, hwc_display_contents_1_t* list) argument 614 getAvailablePipes(hwc_context_t* ctx) argument 631 updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list) argument 657 programMDP(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 688 programYUV(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 714 prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 789 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 805 pipesNeeded(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 810 allocLayerPipes(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 870 draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 941 pipesNeeded(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 962 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoHighRes& pipe_info, ePipeType type) argument 988 allocLayerPipes(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 1043 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1060 draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument [all...] |
H A D | hwc_mdpcomp.h | 43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 53 static bool init(hwc_context_t *ctx); 120 virtual int pipesNeeded(hwc_context_t *ctx, 123 virtual bool allocLayerPipes(hwc_context_t *ctx, 126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 130 void setMDPCompLayerFlags(hwc_context_t *ctx, 133 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type); 136 bool isFrameDoable(hwc_context_t *ctx); 138 bool isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_ [all...] |
H A D | hwc_utils.cpp | 47 static int openFramebufferDevice(hwc_context_t *ctx) argument 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 109 static int ppdComm(const char* cmd, hwc_context_t *ctx) { argument 121 connectPPDaemon(hwc_context_t *ctx) argument 154 initContext(hwc_context_t *ctx) argument 219 closeContext(hwc_context_t *ctx) argument 274 getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x, uint32_t& y, uint32_t& w, uint32_t& h) argument 363 setYUVProp(hwc_context_t *ctx, int yuvCount) argument 384 setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list, int dpy) argument 444 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 585 isExternalActive(hwc_context_t* ctx) argument 602 hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy, int fd) argument 732 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 807 setupBasePipe(hwc_context_t *ctx) argument 886 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 951 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
H A D | hwc_uevents.cpp | 55 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument 80 ctx->mExtDisplay->setExtDpyNum(dpy); 91 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 94 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 105 ctx->mExtDisplay->processUEventOffline(udata); 106 Locker::Autolock _l(ctx->mDrawLock); 107 clearSecondaryObjs(ctx, dpy); 110 ctx->dpyAttr[dpy].connected = false; 112 ctx->proc->hotplug(ctx 188 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local 202 init_uevent_thread(hwc_context_t* ctx) argument [all...] |
H A D | hwc.cpp | 76 hwc_context_t* ctx = (hwc_context_t*)(dev); local 77 if(!ctx) { 81 ctx->proc = procs; 85 init_uevent_thread(ctx); 86 init_vsync_thread(ctx); 90 static void reset(hwc_context_t *ctx, int numDisplays, argument 105 if(ctx->mFBUpdate[i]) 106 ctx->mFBUpdate[i]->reset(); 107 if(ctx->mMDPComp[i]) 108 ctx 119 reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) argument 127 handleGeomChange(hwc_context_t *ctx, int dpy, hwc_display_contents_1_t *list) argument 134 display_commit(hwc_context_t *ctx, int dpy) argument 154 hwc_context_t* ctx = (hwc_context_t*)(dev); local 177 hwc_context_t* ctx = (hwc_context_t*)(dev); local 213 hwc_context_t* ctx = (hwc_context_t*)(dev); local 247 hwc_context_t* ctx = (hwc_context_t*)(dev); local 295 hwc_context_t* ctx = (hwc_context_t*)(dev); local 321 hwc_context_t* ctx = (hwc_context_t*)(dev); local 377 hwc_context_t* ctx = (hwc_context_t*)(dev); local 401 hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 445 hwc_set_external(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 492 hwc_set_virtual(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 557 hwc_context_t* ctx = (hwc_context_t*)(dev); local 587 hwc_context_t* ctx = (hwc_context_t*)(dev); local 615 hwc_context_t* ctx = (hwc_context_t*)(dev); local 666 hwc_context_t* ctx = (hwc_context_t*)(dev); local [all...] |
H A D | hwc_utils.cpp | 52 static int openFramebufferDevice(hwc_context_t *ctx) argument 106 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 113 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 125 void initContext(hwc_context_t *ctx) argument 189 closeContext(hwc_context_t *ctx) argument 249 getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x, uint32_t& y, uint32_t& w, uint32_t& h) argument 303 needsScaling(hwc_context_t* ctx, hwc_layer_1_t const* layer, const int& dpy) argument 322 isAlphaScaled(hwc_context_t* ctx, hwc_layer_1_t const* layer, const int& dpy) argument 363 setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list, int dpy) argument 445 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 605 hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy, int fd) argument 738 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 878 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 969 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument 1095 canUseRotator(hwc_context_t *ctx, int dpy) argument 1105 getLeftSplit(hwc_context_t *ctx, const int& dpy) argument 1116 setupSecondaryObjs(hwc_context_t *ctx, const int& dpy) argument 1139 clearSecondaryObjs(hwc_context_t *ctx, const int& dpy) argument 1154 isGLESOnlyComp(hwc_context_t *ctx, const int& dpy) argument 1161 setBwc(hwc_context_t *ctx, const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument [all...] |
H A D | hwc_mdpcomp.h | 43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 56 static bool init(hwc_context_t *ctx); 123 virtual bool allocLayerPipes(hwc_context_t *ctx, 126 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type, int mixer); 128 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 131 virtual bool arePipesAvailable(hwc_context_t *ctx, 135 void setMDPCompLayerFlags(hwc_context_t *ctx, 138 bool isFrameDoable(hwc_context_t *ctx); 140 bool isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_ [all...] |
H A D | hwc_fbupdate.h | 37 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 40 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0; 57 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 59 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 62 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list, 72 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, 74 bool draw(hwc_context_t *ctx, private_handle_t *hnd); 77 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
|
H A D | hwc_ad.h | 43 void markDoable(hwc_context_t *ctx, const hwc_display_contents_1_t* list); 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop, 47 bool draw(hwc_context_t *ctx, int fd, uint32_t offset); 54 int getDstFd(hwc_context_t *ctx) const; 55 uint32_t getDstOffset(hwc_context_t *ctx) const;
|
H A D | hwc_mdpcomp.cpp | 83 bool MDPComp::init(hwc_context_t *ctx) { argument 85 if(!ctx) { 119 if(ctx->mMDP.panel != MIPI_CMD_PANEL) { 135 idleInvalidator->init(timeout_handler, ctx, idle_timeout); 148 struct hwc_context_t* ctx = (struct hwc_context_t*)(udata); local 150 if(!ctx) { 155 if(!ctx->proc) { 161 ctx->proc->invalidate(ctx->proc); 164 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx, argument 243 isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) argument 254 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 309 getMdpPipe(hwc_context_t *ctx, ePipeType type, int mixer) argument 340 isFrameDoable(hwc_context_t *ctx) argument 368 isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 430 fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 474 partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 493 cacheBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 547 loadBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 609 isLoadBasedCompDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 618 isOnlyVideoDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 662 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 687 batchLayers(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 745 updateLayerCache(hwc_context_t* ctx, hwc_display_contents_1_t* list) argument 768 updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list) argument 794 programMDP(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 824 programYUV(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 850 prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 950 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 966 arePipesAvailable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 985 allocLayerPipes(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 1018 draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 1102 pipesNeeded(hwc_context_t *ctx, hwc_display_contents_1_t* list, int mixer) argument 1124 arePipesAvailable(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 1146 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoHighRes& pipe_info, ePipeType type) argument 1171 allocLayerPipes(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument 1206 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1223 draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
H A D | copybit_c2d.cpp | 218 copybit_context_t* ctx = (copybit_context_t*)(ptr); local 223 while(ctx->stop_thread == false) { 224 pthread_mutex_lock(&ctx->wait_cleanup_lock); 225 while(ctx->wait_timestamp == false && !ctx->stop_thread) { 226 pthread_cond_wait(&(ctx->wait_cleanup_cond), 227 &(ctx->wait_cleanup_lock)); 229 if(ctx->wait_timestamp) { 230 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) { 233 ctx 337 c2d_get_gpuaddr(copybit_context_t* ctx, struct private_handle_t *handle, int &mapped_idx) argument 384 unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) argument 494 set_image(copybit_context_t* ctx, uint32 surfaceId, const struct copybit_image_t *rhs, const eC2DFlags flags, int &mapped_idx) argument 603 msm_copybit(struct copybit_context_t *ctx, unsigned int target) argument 632 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 661 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 698 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 722 set_rects(struct copybit_context_t *ctx, C2D_OBJECT *c2dObject, const struct copybit_rect_t *dst, const struct copybit_rect_t *src, const struct copybit_rect_t *scissor) argument 781 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 874 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1070 need_to_execute_draw(struct copybit_context_t* ctx, eC2DFlags flags) argument 1092 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1404 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1422 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1433 clean_up(copybit_context_t* ctx) argument 1481 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1497 struct copybit_context_t *ctx; local [all...] |
H A D | copybit.cpp | 277 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; 279 if (ctx) { 284 ctx->mFlags &= ~0x7; 287 ctx->mFlags &= ~0x7; 288 ctx->mFlags |= MDP_ROT_90; 291 ctx->mFlags &= ~0x7; 292 ctx->mFlags |= MDP_ROT_180; 295 ctx->mFlags &= ~0x7; 296 ctx->mFlags |= MDP_ROT_270; 307 ctx [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | copybit_c2d.cpp | 216 copybit_context_t* ctx = (copybit_context_t*)(ptr); local 221 while(ctx->stop_thread == false) { 222 pthread_mutex_lock(&ctx->wait_cleanup_lock); 223 while(ctx->wait_timestamp == false && !ctx->stop_thread) { 224 pthread_cond_wait(&(ctx->wait_cleanup_cond), 225 &(ctx->wait_cleanup_lock)); 227 if(ctx->wait_timestamp) { 228 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) { 231 ctx 333 c2d_get_gpuaddr(copybit_context_t* ctx, struct private_handle_t *handle, int &mapped_idx) argument 373 unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) argument 483 set_image(copybit_context_t* ctx, uint32 surfaceId, const struct copybit_image_t *rhs, const eC2DFlags flags, int &mapped_idx) argument 592 msm_copybit(struct copybit_context_t *ctx, unsigned int target) argument 621 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 650 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 684 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 703 set_rects(struct copybit_context_t *ctx, C2D_OBJECT *c2dObject, const struct copybit_rect_t *dst, const struct copybit_rect_t *src, const struct copybit_rect_t *scissor) argument 762 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 855 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1051 need_to_execute_draw(struct copybit_context_t* ctx, eC2DFlags flags) argument 1073 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1371 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1389 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1400 clean_up(copybit_context_t* ctx) argument 1448 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1464 struct copybit_context_t *ctx; local [all...] |
/hardware/qcom/display/msm8x26/libcopybit/ |
H A D | copybit_c2d.cpp | 216 copybit_context_t* ctx = (copybit_context_t*)(ptr); local 221 while(ctx->stop_thread == false) { 222 pthread_mutex_lock(&ctx->wait_cleanup_lock); 223 while(ctx->wait_timestamp == false && !ctx->stop_thread) { 224 pthread_cond_wait(&(ctx->wait_cleanup_cond), 225 &(ctx->wait_cleanup_lock)); 227 if(ctx->wait_timestamp) { 228 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) { 231 ctx 333 c2d_get_gpuaddr(copybit_context_t* ctx, struct private_handle_t *handle, int &mapped_idx) argument 373 unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) argument 483 set_image(copybit_context_t* ctx, uint32 surfaceId, const struct copybit_image_t *rhs, const eC2DFlags flags, int &mapped_idx) argument 592 msm_copybit(struct copybit_context_t *ctx, unsigned int target) argument 621 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 650 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 684 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 703 set_rects(struct copybit_context_t *ctx, C2D_OBJECT *c2dObject, const struct copybit_rect_t *dst, const struct copybit_rect_t *src, const struct copybit_rect_t *scissor) argument 762 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 855 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1051 need_to_execute_draw(struct copybit_context_t* ctx, eC2DFlags flags) argument 1073 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1371 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1389 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1400 clean_up(copybit_context_t* ctx) argument 1448 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1464 struct copybit_context_t *ctx; local [all...] |