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:
63 // Cursor plane can be placed on top of any plane below and is intentionally ignored
66 // video mode panel doesn't need the primay plane A always on hack
166 DisplayPlane *plane = NULL;
170 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_PRIMARY, index/*disp*/);
173 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_SPRITE, 0/*disp*/);
176 plane = new AnnOverlayPlane(index, 0/*disp*/);
179 plane = new AnnCursorPlane(index, index /*disp */);
186 if (plane && !plane->initialize(DisplayPlane::MIN_DATA_BUFFER_COUNT)) {
187 ETRACE("failed to initialize plane.");
188 DEINIT_AND_DELETE_OBJ(plane);
191 return plane;
303 // zorder string does not include cursor plane, therefore cursor layer needs to be handled
314 // test if plane is avalable
323 ETRACE("cursor plane is not available");
336 DTRACE("plane type %d index %d is not available", desc.type, desc.index);
341 // plane type check
344 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType);
351 ETRACE("invalid plane type %d,", config[i]->planeType);
356 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType);
375 zLayer->plane = getPlane(desc.type, desc.index);
376 if (zLayer->plane == NULL) {
377 ETRACE("failed to get cursor plane, should never happen!");
385 zLayer->plane = getPlane(desc.type, desc.index);
386 if (zLayer->plane == NULL) {
387 ETRACE("failed to get plane, should never happen!");
408 config[i]->plane->setZOrderConfig(config, (void *)(unsigned long)slot);
409 config[i]->plane->enable();
416 ITRACE("%d: plane type %d, index %d, zorder %d",
417 i, l->planeType, l->plane->getIndex(), l->zorder);