Lines Matching refs:DisplayPlane
32 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in DisplayPlaneManager()
49 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in deinitialize()
52 DisplayPlane *plane = mPlanes[i].itemAt(j); in deinitialize()
74 mPlaneCount[DisplayPlane::PLANE_SPRITE] = mSpritePlaneCount; in initialize()
75 mPlaneCount[DisplayPlane::PLANE_OVERLAY] = mOverlayPlaneCount; in initialize()
76 mPlaneCount[DisplayPlane::PLANE_PRIMARY] = mPrimaryPlaneCount; in initialize()
77 mPlaneCount[DisplayPlane::PLANE_CURSOR] = mCursorPlaneCount; in initialize()
85 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in initialize()
90 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in initialize()
95 DisplayPlane* plane = allocPlane(j, i); in initialize()
154 DisplayPlane* DisplayPlaneManager::getPlane(int type, int index) in getPlane()
158 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in getPlane()
174 DisplayPlane* DisplayPlaneManager::getAnyPlane(int type) in getAnyPlane()
178 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in getAnyPlane()
194 void DisplayPlaneManager::putPlane(int /* dsp */, DisplayPlane& plane) in putPlane()
204 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in putPlane()
214 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in isFreePlane()
235 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in getFreePlanes()
242 if (type == DisplayPlane::PLANE_PRIMARY || in getFreePlanes()
243 type == DisplayPlane::PLANE_CURSOR) { in getFreePlanes()
257 void DisplayPlaneManager::reclaimPlane(int /* dsp */, DisplayPlane& plane) in reclaimPlane()
266 if (type < 0 || type >= DisplayPlane::PLANE_MAX) { in reclaimPlane()
284 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in disableReclaimedPlanes()
290 DisplayPlane* plane = mPlanes[i].itemAt(j); in disableReclaimedPlanes()
310 for (int i = 0; i < DisplayPlane::PLANE_MAX; i++) { in isOverlayPlanesDisabled()
312 DisplayPlane* plane = (DisplayPlane *)mPlanes[i][j]; in isOverlayPlanesDisabled()
313 if (plane && plane->getType() == DisplayPlane::PLANE_OVERLAY) { in isOverlayPlanesDisabled()
330 mPlaneCount[DisplayPlane::PLANE_SPRITE], in dump()
331 mFreePlanes[DisplayPlane::PLANE_SPRITE], in dump()
332 mReclaimedPlanes[DisplayPlane::PLANE_SPRITE]); in dump()
334 mPlaneCount[DisplayPlane::PLANE_OVERLAY], in dump()
335 mFreePlanes[DisplayPlane::PLANE_OVERLAY], in dump()
336 mReclaimedPlanes[DisplayPlane::PLANE_OVERLAY]); in dump()
338 mPlaneCount[DisplayPlane::PLANE_PRIMARY], in dump()
339 mFreePlanes[DisplayPlane::PLANE_PRIMARY], in dump()
340 mReclaimedPlanes[DisplayPlane::PLANE_PRIMARY]); in dump()
342 mPlaneCount[DisplayPlane::PLANE_CURSOR], in dump()
343 mFreePlanes[DisplayPlane::PLANE_CURSOR], in dump()
344 mReclaimedPlanes[DisplayPlane::PLANE_CURSOR]); in dump()