Lines Matching refs:PFN
99 template <typename PFN>
101 FunctionDescriptor desc, PFN& outPFN) {
103 auto pfn = mHwcDevice->getFunction(mHwcDevice, intDesc);
104 if (pfn != nullptr) {
105 outPFN = reinterpret_cast<PFN>(pfn);
113 template <typename PFN, typename HOOK>
115 static_assert(std::is_same<PFN, HOOK>::value,
119 auto pfn = reinterpret_cast<hwc2_function_pointer_t>(hook);
120 mRegisterCallback(mHwcDevice, intCallback, callbackData, pfn);