am 4fb3999c: Fix display projection.

* commit '4fb3999cea652617be5125f8a42c257467bf3c77':
  Fix display projection.
This commit is contained in:
Jeff Brown 2012-09-07 15:01:48 -07:00 committed by Android Git Automerger
commit a8f4bba845

View File

@ -977,7 +977,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
|| (state.frame != draw[i].frame))
{
disp->setProjection(state.orientation,
state.viewport, state.viewport);
state.viewport, state.frame);
}
}
}
@ -996,7 +996,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
state.type, display, stc, 0, mEGLConfig);
disp->setLayerStack(state.layerStack);
disp->setProjection(state.orientation,
state.viewport, state.viewport);
state.viewport, state.frame);
mDisplays.add(display, disp);
}
}
@ -1963,7 +1963,7 @@ void SurfaceFlinger::dumpAllLocked(
const sp<const DisplayDevice>& hw(mDisplays[dpy]);
snprintf(buffer, SIZE,
"+ DisplayDevice[%u]\n"
" id=%x, layerStack=%u, (%4dx%4d), orient=%2d (type=%08x), "
" type=%x, layerStack=%u, (%4dx%4d), orient=%2d (type=%08x), "
"flips=%u, secure=%d, numLayers=%u, v:[%d,%d,%d,%d], f:[%d,%d,%d,%d]\n",
dpy,
hw->getDisplayType(), hw->getLayerStack(),