Home
last modified time | relevance | path

Searched refs:mRot (Results 1 – 22 of 22) 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/msm8974/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/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.h247 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/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.cpp2190 mRot[mCount] = rot; in add()
2197 mRot[i] = 0; in reset()
2209 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()
/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.h207 overlay::Rotator* mRot[MAX_SESS]; variable
222 return mRot[index]; in getRot()
Dhwc_utils.cpp2206 mRot[mCount] = rot; in add()
2213 mRot[i] = 0; in reset()
2225 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()
/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()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.h138 overlay::Rotator* mRot[MAX_SESS]; variable
153 return mRot[index]; in getRot()
Dhwc_utils.cpp1202 mRot[mCount] = rot; in add()
1209 mRot[i] = 0; in reset()
1216 mRot[i]->setReleaseFd(dup(fence)); in setReleaseFd()