Lines Matching refs:hwc
199 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect() argument
201 hwc.disconnectDisplay(mHwcDisplayId); in disconnect()
204 hwc.freeDisplayId(mHwcDisplayId); in disconnect()
270 status_t DisplayDevice::prepareFrame(HWComposer& hwc) { in prepareFrame() argument
271 status_t error = hwc.prepare(*this); in prepareFrame()
277 bool hasClient = hwc.hasClientComposition(mHwcDisplayId); in prepareFrame()
278 bool hasDevice = hwc.hasDeviceComposition(mHwcDisplayId); in prepareFrame()
294 status_t DisplayDevice::prepareFrame(const HWComposer& hwc) const { in prepareFrame()
296 bool haveGles = hwc.hasGlesComposition(mHwcDisplayId); in prepareFrame()
297 bool haveHwc = hwc.hasHwcComposition(mHwcDisplayId); in prepareFrame()
314 void DisplayDevice::swapBuffers(HWComposer& hwc) const {
316 if (hwc.hasClientComposition(mHwcDisplayId)) {
324 if (hwc.initCheck() != NO_ERROR ||
325 (hwc.hasGlesComposition(mHwcDisplayId) &&
326 (hwc.supportsFramebufferTarget() || mType >= DISPLAY_VIRTUAL))) {
354 void DisplayDevice::onSwapBuffersCompleted(HWComposer& hwc) const {
355 if (hwc.initCheck() == NO_ERROR) {