Home
last modified time | relevance | path

Searched refs:mRot (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/display/msm8960/liboverlay/pipes/
DoverlayGenPipe.cpp36 GenericPipe::GenericPipe(int dpy) : mFbNum(dpy), mRot(0), mRotUsed(false), in GenericPipe()
67 mRot = Rotator::getRotator(); in init()
84 delete mRot; in close()
85 mRot = 0; in close()
97 mRot->setSource(args.whf); in setSource()
98 mRot->setFlags(args.mdpFlags); in setSource()
110 mRot->setTransform(orient); in setTransform()
137 mRot->setDownscale(downscale_factor); in commit()
139 if(!mRot->commit()) { in commit()
143 delete mRot; in commit()
[all …]
DoverlayGenPipe.h85 Rotator* mRot; variable
/hardware/qcom/display/msm8084/liboverlay/
DoverlayRotator.cpp119 mRot[i] = 0; in RotMgr()
137 if(mRot[i]) { in configDone()
138 delete mRot[i]; in configDone()
139 mRot[i] = 0; in configDone()
150 if(mRot[mUseCount] == NULL) in getNext()
151 mRot[mUseCount] = overlay::Rotator::getRotator(); in getNext()
152 rot = mRot[mUseCount++]; in getNext()
160 if(mRot[i]) { in clear()
161 delete mRot[i]; in clear()
162 mRot[i] = 0; in clear()
[all …]
DoverlayRotator.h235 overlay::Rotator *mRot[MAX_ROT_SESS]; variable
/hardware/qcom/display/msm8226/liboverlay/
DoverlayRotator.cpp120 mRot[i] = 0; in RotMgr()
138 if(mRot[i]) { in configDone()
139 delete mRot[i]; in configDone()
140 mRot[i] = 0; in configDone()
151 if(mRot[mUseCount] == NULL) in getNext()
152 mRot[mUseCount] = overlay::Rotator::getRotator(); in getNext()
153 rot = mRot[mUseCount++]; in getNext()
161 if(mRot[i]) { in clear()
162 delete mRot[i]; in clear()
163 mRot[i] = 0; in clear()
[all …]
DoverlayRotator.h251 overlay::Rotator *mRot[MAX_ROT_SESS]; variable
/hardware/qcom/display/msm8960/liboverlay/
DoverlayRotator.cpp115 mRot[i] = 0; in RotMgr()
133 if(mRot[i]) { in configDone()
134 delete mRot[i]; in configDone()
135 mRot[i] = 0; in configDone()
146 if(mRot[mUseCount] == NULL) in getNext()
147 mRot[mUseCount] = overlay::Rotator::getRotator(); in getNext()
148 rot = mRot[mUseCount++]; in getNext()
156 if(mRot[i]) { in clear()
157 delete mRot[i]; in clear()
158 mRot[i] = 0; in clear()
[all …]
DoverlayRotator.h242 overlay::Rotator *mRot[MAX_ROT_SESS];
/hardware/qcom/display/msm8994/liboverlay/
DoverlayRotator.cpp170 mRot[i] = 0; in RotMgr()
188 if(mRot[i]) { in configDone()
189 delete mRot[i]; in configDone()
190 mRot[i] = 0; in configDone()
201 if(mRot[mUseCount] == NULL) in getNext()
202 mRot[mUseCount] = overlay::Rotator::getRotator(); in getNext()
203 rot = mRot[mUseCount++]; in getNext()
211 if(mRot[i]) { in clear()
212 delete mRot[i]; in clear()
213 mRot[i] = 0; in clear()
[all …]
DoverlayRotator.h314 overlay::Rotator *mRot[MAX_ROT_SESS]; variable
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.cpp69 mRot = NULL; in reset()
99 mRot = ctx->mRotMgr->getNext(); in preRotateExtDisplay()
100 if(mRot == NULL) return false; in preRotateExtDisplay()
101 ctx->mLayerRotMap[mDpy]->add(layer, mRot); in preRotateExtDisplay()
107 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
109 mRot = NULL; in preRotateExtDisplay()
112 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
246 if(mRot) { in draw()
247 if(!mRot->queueBuffer(fd, offset)) in draw()
249 fd = mRot->getDstMemId(); in draw()
[all …]
Dhwc_fbupdate.h55 overlay::Rotator *mRot; variable
Dhwc_utils.h211 overlay::Rotator* mRot[MAX_SESS]; variable
226 return mRot[index]; in getRot()
Dhwc_utils.cpp2209 mRot[mCount] = rot; in add()
2216 mRot[i] = 0; in reset()
2228 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.cpp62 mRot = NULL; in reset()
92 mRot = ctx->mRotMgr->getNext(); in preRotateExtDisplay()
93 if(mRot == NULL) return false; in preRotateExtDisplay()
94 ctx->mLayerRotMap[mDpy]->add(layer, mRot); in preRotateExtDisplay()
100 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
102 mRot = NULL; in preRotateExtDisplay()
105 info.format = (mRot)->getDstFormat(); in preRotateExtDisplay()
240 if(mRot) { in draw()
241 if(!mRot->queueBuffer(fd, offset)) in draw()
243 fd = mRot->getDstMemId(); in draw()
[all …]
Dhwc_fbupdate.h55 overlay::Rotator *mRot; variable
Dhwc_utils.h186 overlay::Rotator* mRot[MAX_SESS]; variable
201 return mRot[index]; in getRot()
Dhwc_utils.cpp2198 mRot[mCount] = rot; in add()
2205 mRot[i] = 0; in reset()
2217 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.cpp67 mRot = NULL; in reset()
97 mRot = ctx->mRotMgr->getNext(); in preRotateExtDisplay()
98 if(mRot == NULL) return false; in preRotateExtDisplay()
99 ctx->mLayerRotMap[mDpy]->add(layer, mRot); in preRotateExtDisplay()
105 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
107 mRot = NULL; in preRotateExtDisplay()
110 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
238 if(mRot) { in draw()
239 if(!mRot->queueBuffer(fd, offset)) in draw()
241 fd = mRot->getDstMemId(); in draw()
[all …]
Dhwc_fbupdate.h55 overlay::Rotator *mRot; variable
Dhwc_utils.h229 overlay::Rotator* mRot[overlay::RotMgr::MAX_ROT_SESS]; variable
276 return mRot[index]; in getRot()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h136 overlay::Rotator* mRot[MAX_SESS]; variable
151 return mRot[index]; in getRot()
Dhwc_utils.cpp1131 mRot[mCount] = rot; in add()
1138 mRot[i] = 0; in reset()
1145 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()