Lines Matching defs:plane

38     // it is used to fast locate plane index and type
59 // and Oc, D, E, F. However, plane A has to be part of the blending chain as it can't
60 // be disabled [HW bug]. The only legitimate combinations including overlay and plane A is:
66 // Cursor plane can be placed on top of any plane below and is intentionally ignored
141 DisplayPlane *plane = NULL;
145 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_PRIMARY, index/*disp*/);
148 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_SPRITE, 0/*disp*/);
151 plane = new AnnOverlayPlane(index, 0/*disp*/);
154 plane = new AnnCursorPlane(index, index /*disp */);
161 if (plane && !plane->initialize(DisplayPlane::MIN_DATA_BUFFER_COUNT)) {
162 ELOGTRACE("failed to initialize plane.");
163 DEINIT_AND_DELETE_OBJ(plane);
166 return plane;
268 // zorder string does not include cursor plane, therefore cursor layer needs to be handled
280 // test if plane is available
289 ELOGTRACE("cursor plane is not available");
301 DLOGTRACE("plane type %d index %d is not available", desc.type, desc.index);
306 // plane type check
309 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType);
316 ELOGTRACE("invalid plane type %d,", config[i]->planeType);
321 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType);
340 zLayer->plane = getPlane(desc.type, desc.index);
341 if (zLayer->plane == NULL) {
342 ELOGTRACE("failed to get cursor plane, should never happen!");
349 zLayer->plane = getPlane(desc.type, desc.index);
350 if (zLayer->plane == NULL) {
351 ELOGTRACE("failed to get plane, should never happen!");
371 config[i]->plane->setZOrderConfig(config, (void *)slot);
372 config[i]->plane->enable();
379 ILOGTRACE("%d: plane type %d, index %d, zorder %d",
380 i, l->planeType, l->plane->getIndex(), l->zorder);