Home | History | Annotate | Download | only in hwc

Lines Matching refs:hwc

59 	hwc_composer_device_1_t *hwc;
181 hwc_composer_device_1_t *hwc = win->hwc;
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;
388 if (hwc_open_1(module, &hwc)) {
389 ERROR("cannot open hwc device\n");
392 win->hwc = hwc;
394 LOG("hwc version 0x%08x\n", hwc->common.version);
396 if ((hwc->common.version & 0xFFFF0000) < 0x01010000) {
397 ERROR("hwc version less than 1.1\n");
398 hwc_close_1(hwc);
402 hwc->registerProcs(hwc, &hprocs);
404 if (hwc->getDisplayConfigs(hwc, 0, configs, &numconfigs)) {
411 if ((r = hwc->getDisplayAttributes(hwc, 0, configs[0], attrs, values))) {
422 hwc->blank(hwc, 0, 0);
552 if (win->hwc)
553 hwc_close_1(win->hwc);