Lines Matching refs:hwc

26     Hwcomposer *hwc = static_cast<Hwcomposer*>(dev); \
28 if (!hwc) { \
47 if (!hwc->prepare(numDisplays, displays)) { in hwc_prepare()
59 if (!hwc->commit(numDisplays, displays)) { in hwc_set()
71 hwc->dump(buff, buff_len, 0); in hwc_dump()
78 hwc->registerProcs(procs); in hwc_registerProcs()
106 ret = hwc->vsyncControl(disp, enabled); in hwc_eventControl()
123 bool ret = hwc->blank(disp, blank); in hwc_blank()
138 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
154 bool ret = hwc->getDisplayAttributes(disp, config, attributes, values); in hwc_getDisplayAttributes()
166 bool ret = hwc->compositionComplete(disp); in hwc_compositionComplete()
178 bool ret = hwc->setPowerMode(disp, mode); in hwc_setPowerMode()
190 int ret = hwc->getActiveConfig(disp); in hwc_getActiveConfig()
202 bool ret = hwc->setActiveConfig(disp, index); in hwc_setActiveConfig()
214 bool ret = hwc->setCursorPositionAsync(disp, x, y); in hwc_setCursorPositionAsync()
241 Hwcomposer& hwc = Hwcomposer::getInstance(); in hwc_device_open() local
243 if (hwc.initialize() == false) { in hwc_device_open()
250 hwc.hwc_composer_device_1_t::common.tag = HARDWARE_DEVICE_TAG; in hwc_device_open()
251 hwc.hwc_composer_device_1_t::common.module = in hwc_device_open()
253 hwc.hwc_composer_device_1_t::common.close = hwc_device_close; in hwc_device_open()
255 hwc.hwc_composer_device_1_t::prepare = hwc_prepare; in hwc_device_open()
256 hwc.hwc_composer_device_1_t::set = hwc_set; in hwc_device_open()
257 hwc.hwc_composer_device_1_t::dump = hwc_dump; in hwc_device_open()
258 hwc.hwc_composer_device_1_t::registerProcs = hwc_registerProcs; in hwc_device_open()
259 hwc.hwc_composer_device_1_t::query = hwc_query; in hwc_device_open()
261 hwc.hwc_composer_device_1_t::blank = hwc_blank; in hwc_device_open()
262 hwc.hwc_composer_device_1_t::eventControl = hwc_eventControl; in hwc_device_open()
263 hwc.hwc_composer_device_1_t::getDisplayConfigs = hwc_getDisplayConfigs; in hwc_device_open()
264 hwc.hwc_composer_device_1_t::getDisplayAttributes = hwc_getDisplayAttributes; in hwc_device_open()
267 hwc.hwc_composer_device_1_t::reserved_proc[0] = (void*)hwc_compositionComplete; in hwc_device_open()
268 hwc.hwc_composer_device_1_t::common.version = HWC_DEVICE_API_VERSION_1_4; in hwc_device_open()
269 hwc.hwc_composer_device_1_t::setPowerMode = hwc_setPowerMode; in hwc_device_open()
270 hwc.hwc_composer_device_1_t::getActiveConfig = hwc_getActiveConfig; in hwc_device_open()
271 hwc.hwc_composer_device_1_t::setActiveConfig = hwc_setActiveConfig; in hwc_device_open()
273 hwc.hwc_composer_device_1_t::setCursorPositionAsync = NULL; in hwc_device_open()
275 *device = &hwc.hwc_composer_device_1_t::common; in hwc_device_open()