HomeSort by relevance Sort by last modified time
    Searched defs:hwc (Results 1 - 4 of 4) sorted by null

  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWComposer.cpp 53 static uint32_t hwcApiVersion(const hwc_composer_device_1_t* hwc) {
54 uint32_t hwcVersion = hwc->common.version;
58 static uint32_t hwcHeaderVersion(const hwc_composer_device_1_t* hwc) {
59 uint32_t hwcVersion = hwc->common.version;
63 static bool hwcHasApiVersion(const hwc_composer_device_1_t* hwc,
65 return hwcApiVersion(hwc) >= (version & HARDWARE_API_VERSION_2_MAJ_MIN_MASK);
78 HWComposer* hwc; member in struct:android::HWComposer::cb_context
107 // Note: some devices may insist that the FB HAL be opened before HWC.
114 // before HWC.
119 // If we have no HWC, or a pre-1.1 HWC, an FB dev is mandatory
    [all...]
  /hardware/libhardware/tests/hwc/
cnativewindow.c 59 hwc_composer_device_1_t *hwc; member in struct:CNativeWindow
181 hwc_composer_device_1_t *hwc = win->hwc; local
203 r = hwc->prepare(hwc, HWC_NUM_PHYSICAL_DISPLAY_TYPES, win->dclist);
205 ERROR("hwc->prepare failed r=%d\n",r);
213 r = hwc->set(hwc, HWC_NUM_PHYSICAL_DISPLAY_TYPES, win->dclist);
215 ERROR("hwc->set failed, r=%d\n", r);
376 hwc_composer_device_1_t *hwc; local
    [all...]
  /frameworks/native/services/surfaceflinger/
Layer.cpp 411 // before giving it to the HWC HAL.
571 * different results than when we take the HWC path -- in the later case
577 * HWC is due to a limitation of the HWC API to integers -- a question
580 * minimal value)? Or, we could make GL behave like HWC -- but this feel
918 const HWComposer& hwc = mFlinger->getHwComposer(); local
919 sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
923 // The HWC doesn't support present fences, so use the refresh
925 nsecs_t presentTime = hwc.getRefreshTimestamp(HWC_DISPLAY_PRIMARY);
    [all...]
SurfaceFlinger.cpp 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() local
    [all...]

Completed in 84 milliseconds