Home
last modified time | relevance | path

Searched refs:asFP (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp519 static hwc2_function_pointer_t asFP(T function) { in asFP() function
528 return asFP<HWC2_PFN_DUMP>(dumpHook); in getFunctionHook()
530 return asFP<HWC2_PFN_REGISTER_CALLBACK>(registerCallbackHook); in getFunctionHook()
534 return asFP<HWC2_PFN_GET_MAX_VIRTUAL_DISPLAY_COUNT>(getMaxVirtualDisplayCountHook); in getFunctionHook()
536 return asFP<HWC2_PFN_CREATE_VIRTUAL_DISPLAY>(createVirtualDisplayHook); in getFunctionHook()
538 return asFP<HWC2_PFN_DESTROY_VIRTUAL_DISPLAY>(destroyVirtualDisplayHook); in getFunctionHook()
540 return asFP<HWC2_PFN_SET_OUTPUT_BUFFER>(setOutputBufferHook); in getFunctionHook()
544 return asFP<HWC2_PFN_GET_DISPLAY_NAME>(getDisplayNameHook); in getFunctionHook()
546 return asFP<HWC2_PFN_GET_DISPLAY_TYPE>(getDisplayTypeHook); in getFunctionHook()
548 return asFP<HWC2_PFN_GET_DOZE_SUPPORT>(getDozeSupportHook); in getFunctionHook()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp35 static gralloc1_function_pointer_t asFP(T function) in asFP() function
99 return asFP<GRALLOC1_PFN_DUMP>(dumpHook); in doGetFunction()
101 return asFP<GRALLOC1_PFN_CREATE_DESCRIPTOR>(createDescriptorHook); in doGetFunction()
103 return asFP<GRALLOC1_PFN_DESTROY_DESCRIPTOR>(destroyDescriptorHook); in doGetFunction()
105 return asFP<GRALLOC1_PFN_SET_CONSUMER_USAGE>(setConsumerUsageHook); in doGetFunction()
107 return asFP<GRALLOC1_PFN_SET_DIMENSIONS>(setDimensionsHook); in doGetFunction()
109 return asFP<GRALLOC1_PFN_SET_FORMAT>(setFormatHook); in doGetFunction()
111 return asFP<GRALLOC1_PFN_SET_LAYER_COUNT>(setLayerCountHook); in doGetFunction()
113 return asFP<GRALLOC1_PFN_SET_PRODUCER_USAGE>(setProducerUsageHook); in doGetFunction()
115 return asFP<GRALLOC1_PFN_GET_BACKING_STORE>( in doGetFunction()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp45 static hwc2_function_pointer_t asFP(T function) in asFP() function
146 return asFP<HWC2_PFN_CREATE_VIRTUAL_DISPLAY>( in doGetFunction()
149 return asFP<HWC2_PFN_DESTROY_VIRTUAL_DISPLAY>( in doGetFunction()
152 return asFP<HWC2_PFN_DUMP>(dumpHook); in doGetFunction()
154 return asFP<HWC2_PFN_GET_MAX_VIRTUAL_DISPLAY_COUNT>( in doGetFunction()
157 return asFP<HWC2_PFN_REGISTER_CALLBACK>(registerCallbackHook); in doGetFunction()
161 return asFP<HWC2_PFN_ACCEPT_DISPLAY_CHANGES>( in doGetFunction()
165 return asFP<HWC2_PFN_CREATE_LAYER>( in doGetFunction()
169 return asFP<HWC2_PFN_DESTROY_LAYER>( in doGetFunction()
173 return asFP<HWC2_PFN_GET_ACTIVE_CONFIG>( in doGetFunction()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp70 static hwc2_function_pointer_t asFP(T function) in asFP() function
184 return asFP<HWC2_PFN_CREATE_VIRTUAL_DISPLAY>( in doGetFunction()
187 return asFP<HWC2_PFN_DESTROY_VIRTUAL_DISPLAY>( in doGetFunction()
190 return asFP<HWC2_PFN_DUMP>(dumpHook); in doGetFunction()
192 return asFP<HWC2_PFN_GET_MAX_VIRTUAL_DISPLAY_COUNT>( in doGetFunction()
195 return asFP<HWC2_PFN_REGISTER_CALLBACK>(registerCallbackHook); in doGetFunction()
199 return asFP<HWC2_PFN_ACCEPT_DISPLAY_CHANGES>( in doGetFunction()
203 return asFP<HWC2_PFN_CREATE_LAYER>( in doGetFunction()
207 return asFP<HWC2_PFN_DESTROY_LAYER>( in doGetFunction()
211 return asFP<HWC2_PFN_GET_ACTIVE_CONFIG>( in doGetFunction()
[all …]