Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:hwc

671     const HWComposer& hwc(getHwComposer());
672 float xdpi = hwc.getDpiX(type);
673 float ydpi = hwc.getDpiY(type);
718 info->w = hwc.getWidth(type);
719 info->h = hwc.getHeight(type);
722 info->fps = float(1e9 / hwc.getRefreshPeriod(type));
938 HWComposer& hwc(getHwComposer());
939 if (hwc.initCheck() == NO_ERROR) {
940 status_t err = hwc.prepare();
968 const HWComposer& hwc = getHwComposer();
969 sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
992 // The HWC doesn't support present fences, so use the refresh
994 nsecs_t presentTime = hwc.getRefreshTimestamp(HWC_DISPLAY_PRIMARY);
1047 HWComposer& hwc(getHwComposer());
1048 if (hwc.initCheck() == NO_ERROR) {
1059 if (hwc.createWorkList(id, count) == NO_ERROR) {
1060 HWComposer::LayerListIterator cur = hwc.begin(id);
1061 const HWComposer::LayerListIterator end = hwc.end(id);
1082 HWComposer::LayerListIterator cur = hwc.begin(id);
1083 const HWComposer::LayerListIterator end = hwc.end(id);
1095 status_t err = hwc.prepare();
1100 hw->prepareFrame(hwc);
1134 HWComposer& hwc(getHwComposer());
1135 if (hwc.initCheck() == NO_ERROR) {
1136 if (!hwc.supportsFramebufferTarget()) {
1142 hwc.commit();
1154 hw->onSwapBuffersCompleted(hwc);
1157 if (id >=0 && hwc.initCheck() == NO_ERROR) {
1158 HWComposer::LayerListIterator cur = hwc.begin(id);
1159 const HWComposer::LayerListIterator end = hwc.end(id);
1329 // There won't be any interaction with HWC for this virtual display,
1340 // for supported (by hwc) displays we provide our
1705 HWComposer& hwc(getHwComposer());
1706 HWComposer::LayerListIterator cur = hwc.begin(id);
1707 const HWComposer::LayerListIterator end = hwc.end(id);
1709 bool hasGlesComposition = hwc.hasGlesComposition(id);
1718 const bool hasHwcComposition = hwc.hasHwcComposition(id);
1800 ALOGW("HWC_FRAMEBUFFER_TARGET found in hwc list (index=%d)", i);
2213 // built-in display, tell the HWC
2244 // built-in display, tell the HWC
2525 HWComposer& hwc(getHwComposer());
2553 1e9 / hwc.getRefreshPeriod(HWC_DISPLAY_PRIMARY),
2554 hwc.getDpiX(HWC_DISPLAY_PRIMARY),
2555 hwc.getDpiY(HWC_DISPLAY_PRIMARY),
2577 hwc.initCheck()==NO_ERROR ? "present" : "not present",
2579 hwc.dump(result);
2599 ALOGE("getLayerSortedByZForHwcDisplay: invalid hwc display id %d", id);