Lines Matching refs:Callbacks
57 class HWC2On1Adapter::Callbacks : public hwc_procs_t {
59 explicit Callbacks(HWC2On1Adapter& adapter) : mAdapter(adapter) {
66 auto callbacks = static_cast<const Callbacks*>(procs);
67 callbacks->mAdapter.hwc1Invalidate();
72 auto callbacks = static_cast<const Callbacks*>(procs);
73 callbacks->mAdapter.hwc1Vsync(display, timestamp);
78 auto callbacks = static_cast<const Callbacks*>(procs);
79 callbacks->mAdapter.hwc1Hotplug(display, connected);
99 mHwc1Callbacks(std::make_unique<Callbacks>(*this)),
481 // Call pending callbacks without the state lock held